TSE: Math: Get a root of a function using the Newton-Raphson method: Via a browser to TSE running online on a remote server

3 views
Skip to first unread message

knud van eeden

unread,
Jul 7, 2025, 2:21:34 PM7/7/25
to SemWare TSE Pro Text Editor
 Q. TSE: Math: Get a root of a function using the Newton-Raphson method: Via a browser to TSE running online on a remote server

Hello,

 E.g. Given a function and its derivative, your initial guess, maximum iterations.

       Passing this as 4 consecutive parameters in this order:

       http://108.181.171.157/ddd.php?tseMacroS=c:/bbc/taal/getstnon.mac -p <function> <derivative> <initguess> <maxiterations>

        E.g.

         gives e.g. 1.41421356237469

        E.g.

         gives e.g. 1.25992105001777

        E.g.

         http://108.181.171.157/ddd.php?tseMacroS=c:/bbc/taal/getstnon.mac -p x*x*x*x*x*x-2 6*x*x*x*x*x 1 10
         gives e.g. 1.12246205104054

        E.g.

         gives e.g. 3.14159265330047

        (you have to copy/paste this whole line as a one-liner in your
         browser URL input(anywhere in the world, e.g. mobile
         telephone). It runs on TSE on a remote Microsoft Windows
         server)

        Also no spaces inside of the function, no spaces inside the derivative, no spaces inside the initial guess
        and no spaces inside the maximum iterations.

 with friendly greetings
 Knud van Eeden


Reply all
Reply to author
Forward
0 new messages