Am confused for this class am taking we had to design serval procedures that do different things: 6 procedures were sine, cosine, cube, square, common log, and natural log. In order to get this values we had to design loops. I have done that but, our professor wants us to have output values of x into column A (on excel worksheet), starting at row 2, and the corresponding values of f(x) into column B. This can be done by using the same loop used to evaluate f(x).

example:
For i = 1 To n
funct(i) = Sin(values(i))
Next i
Please help :)

1 answer

The ActiveWorksheet has an array called Cells. So, if you say

Cells(i,1) = values(i)
Cells(i,2) = funct(i)

then the columns will get filled in as you loop
Similar Questions
  1. mathIn a class of 50 students it was found 21 are taking English 14 are taking Math 28 are taking History 7 are taking Math and
    1. answers icon 12 answers
  2. Which is an example of snob appeal propaganda?(1 point)Responses Made for those who care about luxury and class. Made for those
    1. answers icon 9 answers
  3. If M angle 1=43 degrees, what is M angle 4?A. 53 B.43 C.37 D.27 I really need help ASAP. Im so confused. Please dont give me the
    1. answers icon 10 answers
    1. answers icon 3 answers
more similar questions