solve() bugs

solve() bugs - 消息

#1 已发布: 2021/6/9 15:26:58
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Update of statement:
solve(), roots(), FindRoot() doesn't like if() function.
However, they can solve when cases() used instead of if().

Regards

2021-06-10_04-36.png
#2 已发布: 2021/6/10 23:36:37
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

I have diagnosed the symptoms with solve bug.
Made a page about this and tried to explain with detail.

Regards

somebugs.sm (54.72 KiB)已下载 1600 次。
somebugs.pdf (522.2 KiB)已下载 848 次。

somebugs.png
2位用户喜欢此帖子
Andrey Ivashov 2021/6/11 04:06:00, NDTM Amarasekera 2021/6/11 22:44:00
#3 已发布: 2021/6/11 09:21:57
Jean Giraud

Jean Giraud

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

组: User

Wrote

solve(), roots(), FindRoot() doesn't like if statement.
However, they can solve when cases() used instead of if().


if/else was reported SS 5346.
Davide added if/otherwise SS 6179
Often, the solve bloc is ~ exact, sometimes exact
At worst 4/5 decimals.
Always start true Bolean #≤# ...
often won't complain incomplete #<#
From recollection, only DeBoor needs incomplete.

SolveSolve.PNG
#4 已发布: 2021/6/12 11:39:19
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Wrote

Update of statement:
solve(), roots(), FindRoot() doesn't like if statement.
However, they can solve when cases() used instead of if().

Regards



Here some notes about my opinion of how to work with piecewise continuous functions.

Piecewise.sm (45.64 KiB)已下载 1590 次。
Piecewise.pdf (184.98 KiB)已下载 1299 次。

Best regards.
Alvaro
#5 已发布: 2021/6/12 15:24:02
Jean Giraud

Jean Giraud

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

组: User

IMHO, its logical solving piece wise discontinuous,
solve piece wise as well for productive classroom.

Page3 Solve Discontinuous.sm (5.27 KiB)已下载 1785 次。
#6 已发布: 2021/6/12 17:12:38
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

There are other bugs too.

otherbugs.sm (13.7 KiB)已下载 1504 次。

otherbugs.png
  • 有新帖
  • 无新帖