solve() bugs

solve() bugs - Messages

#1 Posted: 2021/6/9 15:26:58
overlord

overlord

580 likes in 1,348 posts.

Group: 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 Posted: 2021/6/10 23:36:37
overlord

overlord

580 likes in 1,348 posts.

Group: 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) downloaded 865 time(s).
somebugs.pdf (522.2 KiB) downloaded 396 time(s).

somebugs.png
2 users liked this post
Andrey Ivashov 2021/6/11 04:06:00, NDTM Amarasekera 2021/6/11 22:44:00
#3 Posted: 2021/6/11 09:21:57
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: 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 Posted: 2021/6/12 11:39:19
Alvaro

Alvaro

1,078 likes in 1,749 posts.

Group: 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) downloaded 820 time(s).
Piecewise.pdf (184.98 KiB) downloaded 582 time(s).

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

Jean Giraud

983 likes in 6,866 posts.

Group: User

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

Page3 Solve Discontinuous.sm (5.27 KiB) downloaded 894 time(s).
#6 Posted: 2021/6/12 17:12:38
overlord

overlord

580 likes in 1,348 posts.

Group: Moderator

There are other bugs too.

otherbugs.sm (13.7 KiB) downloaded 813 time(s).

otherbugs.png
  • New Posts
  • No New Posts