Skip to main content
1-Visitor
December 10, 2014
Question

This value mast be a vector

  • December 10, 2014
  • 5 replies
  • 1524 views

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
December 10, 2014

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.

12-Amethyst
December 10, 2014

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

1-Visitor
December 10, 2014

did work in xmcd Andy?

19-Tanzanite
December 10, 2014

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.

1-Visitor
December 10, 2014

Thanks Richard