20200801, 03:23  #12 
Romulan Interpreter
"name field"
Jun 2011
Thailand
3^{5}×41 Posts 
Methink is some Brent/Newton variation (it computes the tangents, and their Ox intersection to get next point). You may force the "abort" by playing with real precision defaults.
Edit: yep, the manual says it uses Brent (draw a secant from a to b, it intersects Ox, that is the new point, it matched with your output, well, Brent Method is a bit more complex, but that is the idea, and it should be very easy to implement a Brent(function, a, b, epsilon) to work as intended, give me some minutes for a recursive version...). Last fiddled with by LaurV on 20200801 at 03:50 
20200801, 10:03  #13  
"Robert Gerbicz"
Oct 2005
Hungary
11000100000_{2} Posts 
Quote:
Code:
cnt=0;solve(x=1,2,cnt+=1;print(cnt" "x);x^3) 

20200816, 11:02  #14 
"Jeppe"
Jan 2016
Denmark
2^{4}·11 Posts 
I thought the problem would go away if you shifted away from zero (where the floating point number representation can shift almost arbitrarily), but it still cannot do any of:
Code:
solve(x=1, 2, x^3) solve(x=1+0.1, 2+0.1, (x0.1)^3)  0.1 solve(x=1+0.1, 2+0.1, print(x);(x0.1)^3)  0.1 
Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
How to solve: k(b^m)z=n*d. ?  JM Montolio A  Miscellaneous Math  18  20180309 15:32 
The FBI wants YOU to help solve a murder  ixfd64  Puzzles  4  20110330 12:25 
Solve for mod function  flouran  Miscellaneous Math  23  20090104 20:03 
An Equation to Solve  davar55  Puzzles  3  20081009 00:35 
Solve this equation  davar55  Puzzles  52  20070626 21:41 