FindRoot vs. solve(2) or (4)

FindRoot vs. solve(2) or (4) - Fundamental understanding of both functions - Messages

#1 Posted: 2018/4/12 14:12:23
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Having an issue understanding where to use what ...
FindRoot vs solve(4).sm (4.04 KiB) downloaded 629 time(s).
#2 Posted: 2018/4/12 14:37:10
Davide Carpi

Davide Carpi

1,435 likes in 2,913 posts.

Group: Moderator

FindRoot needs an initial guess to be explicited, therefore as 2nd argument use 1 or whatever number is more appropriate.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 2018/4/12 14:54:19
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Thank you Davide,
Can you post how to do the initial guess? I've tried multiple items with no success
#4 Posted: 2018/4/12 15:22:42
Davide Carpi

Davide Carpi

1,435 likes in 2,913 posts.

Group: Moderator

Wrote

Thank you Davide,
Can you post how to do the initial guess? I've tried multiple items with no success



Here you have

2018-04-12 20_19_55-SMath Studio - [FindRoot vs solve(4).sm].png
FindRoot vs solve(4).sm (4.43 KiB) downloaded 629 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
ElSid 2018/4/12 17:14:00
#5 Posted: 2018/4/12 17:16:08
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Davide,
User error! I was initializing with #c instead of #a or #b.
#6 Posted: 2018/4/12 20:30:49
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

Wrote

Having an issue understanding where to use what ...


1. roots is local of utmost accuracy.
2. solve[4] is general on specified range.
... will find/locate all 0's of Bessel in specified range
... roots [individually located] will meet Abramowitz & Stegun

roots and find work around different numerical algorithms.

You must have valid example(s) for Doctoring.
"Samples" is immensely furbished.

Solve roots.sm (16.13 KiB) downloaded 618 time(s).
#7 Posted: 2018/4/12 21:37:07
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

This one is of great interest too.

Solve Algebraic.sm (46.06 KiB) downloaded 634 time(s).
  • New Posts
  • No New Posts