FindRoot vs. solve(2) or (4)

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

#1 Pubblicato: 12/04/2018 14:12:23
Ruben Sidranski

Ruben Sidranski

17 apprezzamenti in 465 post.

Gruppo: User

Having an issue understanding where to use what ...
FindRoot vs solve(4).sm (4,04 KiB) scaricato 1195 volta(e).
#2 Pubblicato: 12/04/2018 14:37:10
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 12/04/2018 14:54:19
Ruben Sidranski

Ruben Sidranski

17 apprezzamenti in 465 post.

Gruppo: User

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

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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) scaricato 1236 volta(e).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 utenti hanno apprezzato questo post
ElSid 12/04/2018 17:14:00
#5 Pubblicato: 12/04/2018 17:16:08
Ruben Sidranski

Ruben Sidranski

17 apprezzamenti in 465 post.

Gruppo: User

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

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1195 volta(e).
#7 Pubblicato: 12/04/2018 21:37:07
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

This one is of great interest too.

Solve Algebraic.sm (46,06 KiB) scaricato 1236 volta(e).
  • Nuovi post
  • Nessun nuovo post