Skip to main content
1-Visitor
Question

This value mast be a vector

Hi

I need help because I can"t  solve my task. Please look at this situations. I need solve it vary guickly. Thanks for help

 

5 replies

Werner_E
25-Diamond I

You should create a discussion/question, not a blog, to get help.

Nobody would be able to add a corrected worksheet in a blog comment.

Translate
12-Amethyst

try adding x[N=0 between the N=rows() and the for loop.

(= should be the back arrow)

until you have an array x you cannot calculate the summation of x*U

Regards

   Andy

Translate
1-Visitor

did work in xmcd Andy?

Translate
19-Tanzanite

When you create x[N-1 the summation requires x[N, which you have not defined. Andy suggests setting it to 0. That certainly makes the calcuation work, but you will have to decide what value x[N should actually be set to.

Translate
1-Visitor

Thanks Richard

Translate