Skip to main content
1-Visitor
Dec 10, 2014 11:28 AM UTC
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
Dec 10, 2014 11:39 AM UTC

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
Dec 10, 2014 12:13 PM UTC

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
Dec 10, 2014 12:44 PM UTC

did work in xmcd Andy?

Translate
19-Tanzanite
Dec 10, 2014 12:55 PM UTC

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
Dec 10, 2014 1:13 PM UTC

Thanks Richard

Translate