Forum SMath SMath Studio Bugs & Problems solve function accuracy 1 pagine (3 elementi) solve function accuracy - quadratic solver generates root as large fraction with error - Messaggi Vai all'ultimo post #1 Pubblicato: 02/04/2017 10:24:15 subseapark 0 apprezzamenti in 9 post. Gruppo: User See the followingquadratic solver.sm (6,42 KiB) scaricato 1292 volta(e).Note how second root from solve function generated a fraction containinglarge numbers with minor error. This compares with actual which is a simplistic decimal.Is there a work-around to obtain the correct decimal result? #2 Pubblicato: 02/04/2017 10:46:32 Jean Giraud 983 apprezzamenti in 6.866 post. Gruppo: User Your fractional didn't survive as soon as I askedfor 15 decimals in your 'r1'.quadratic solver.sm (8,77 KiB) scaricato 1322 volta(e). #3 Pubblicato: 03/04/2017 13:25:13 Davide Carpi 1.443 apprezzamenti in 2.936 post. Gruppo: Moderator Simply change the optimization of [MATH]solve(f(x),x)[/MATH] from symbolic to numeric. If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects 1 pagine (3 elementi) Nuovi post Nessun nuovo post