I misread your function.
(^~ - +:) Newton 1.1
0.346323j1.2326e_32
(^~ - +:) Newton 0.5
0.346323
Still need those guardrails!
Henry Rich
On 2/5/2020 2:21 AM, Skip Cave wrote:
In "Fifty Shades of J" chapter 23, the Newton Raphson algorithm is
described thusly:
Newton =: adverb : ']-u%(u D.1)'(^:_)("0)
How would that be defined using the new derivative verbs?
Also, what is the replacement for d.?
How would I find the roots of (x^x)=2*x using Newton Raphson?
Skip
Skip Cave
Cave Consulting LLC
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm