I am having to enter the program via my fx-9750GA plus so any saved keystrokes will help. obviously I dont really have the comments in the programming just for here.

Here is what I have so far:

[codebox]0->X

0->Y

0->B

0->C

0->D

0->F

"NEWTON"

Rad

"ENTER F(X)=0"

?->F

"ENTER DF"?->D

"GUESS"?->X

"APPROX.........DIFF"

Lbl 1

XB<printyarrowthingy>

'<comment> I want to print my initial guess X and the difference between my previous guess which would be zero on first round but this doesnt work

(X-(F/D))->Y

Y-X->B

'difference between new and old guess

Y->X

'Y is the new X

GoTo 1[/codebox]

I get 0 of course when I try to print XB because it is printing the product of XB not the values of X and then B: so I need the syntax for that.

I know the thing uses this method in the background but I need to be able to output the values for each iteration. Is there a better way to assign 0 to the variables other than one at a time. I know about the ~ for getting a range but what about my random selection of letters?

Thanks in advance

# Newtons Method -hardway Disp Trouble

Started by
kantalope
, Apr 01 2011 04:00 AM

2 replies to this topic

### #1

Posted 01 April 2011 - 04:00 AM

### #2

Posted 01 April 2011 - 07:17 PM

I tried

X:"........":B <displayarrow>

But that did not work - I did get the dots but no value for x or b?

X:"........":B <displayarrow>

But that did not work - I did get the dots but no value for x or b?

### #3

Posted 02 April 2011 - 05:08 PM

Gave up on storing the equation as a variable that never seemed to work so now have to put the equations in f1 and f2....clunky but whatever works.

but would still like to concatenate the results...is there a way to do that? commas did not seem to work.

One more thing - is there a way to restrict the answer to 3 or 4 decimal places?

If anyone knows thanks

but would still like to concatenate the results...is there a way to do that? commas did not seem to work.

One more thing - is there a way to restrict the answer to 3 or 4 decimal places?

If anyone knows thanks

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users