FindRoot vs. solve(2) or (4)

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

#1 已发布: 2018/4/12 14:12:23
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Having an issue understanding where to use what ...
FindRoot vs solve(4).sm (4.04 KiB)已下载 1213 次。
#2 已发布: 2018/4/12 14:37:10
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2018/4/12 14:54:19
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

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

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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)已下载 1254 次。
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
ElSid 2018/4/12 17:14:00
#5 已发布: 2018/4/12 17:16:08
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

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

Jean Giraud

983个赞,共6,866个帖子。

组: 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)已下载 1211 次。
#7 已发布: 2018/4/12 21:37:07
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

This one is of great interest too.

Solve Algebraic.sm (46.06 KiB)已下载 1258 次。
  • 有新帖
  • 无新帖