cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Please Help me with the Program

poolebc
1-Newbie

Please Help me with the Program

I'm trying to get this program to put the vaules it gets as feedback into a vector. I've tinkered with it a bit and still can't seem to get it to work. I've attached a screen shot of the mathcad worksheet. Any help will be greatly appreciated.
1 REPLY 1
StuartBruff
23-Emerald II
(To:poolebc)

On 12/6/2009 3:33:52 PM, poolebc wrote:
== I'm trying to get this program to put the
vaules it gets as feedback into a vector. I've
tinkered with it a bit and still can't seem to get
it to work. I've attached a screen shot of the
mathcad worksheet. Any help will be greatly
appreciated.

Well, I suspect your program will need something
more akin to major surgery than tinkering (eg,
whey is you loop variable limited to the value 20?
debug? or did you mean the loop to read 0..20 or
1..20?). It would be helpful if you could post
the original worksheet rather than an screendump,
and if you could tell us what you are trying to
do.

However, I suspect that the error being
highlighted is because you appear to be assigning
the result of NewtonsMethod to i rather than
ai. I'm guessing NewtonsMethod doesn't
return an integer, which is why Mathcad is
squawking.


Stuart
Top Tags