50g group photo

Yahoo Groups archive

50g

Index last updated: 2026-04-28 22:38 UTC

Message

Re: Newton's Method, graphing odd fractional roots

2008-02-18 by Juan C.

Hello there, what is happening with your equations is that the F(x) in N
(x) is different from the F(x) you define, for example when you define f
(x)=x^3-7 the calculator creates a program that looks like this:
<< ¨ x 'x^3-7' >>
and stores it in a global variable called 'F'; this means that in run-
time the calculator create a temporary local variable called 'x' this 
variable is different that a global variable called 'x' that you may 
have in your current directory. The same is true for the F(x) you 
define and F(x) in N(x). A better approach is to have a program N like 
this:
<< ¨ x0
    << 'x' DUP F DUP 'x' Ý / - 'x' x0 = SUBST ¨NUM >>
>>
I hope this helps.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.