solve() bugs

solve() bugs - Messages

#1 Posted: 6/9/2021 3:26:58 PM
overlord

overlord

582 likes in 1,351 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: 6/10/2021 11:36:37 PM
overlord

overlord

582 likes in 1,351 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 923 time(s).
somebugs.pdf (522.2 KiB) downloaded 422 time(s).

somebugs.png
2 users liked this post
Andrey Ivashov 6/11/2021 4:06:00 AM, NDTM Amarasekera 6/11/2021 10:44:00 PM
#3 Posted: 6/11/2021 9:21:57 AM
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: 6/12/2021 11:39:19 AM
Alvaro

Alvaro

1,078 likes in 1,750 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 880 time(s).
Piecewise.pdf (184.98 KiB) downloaded 635 time(s).

Best regards.
Alvaro
#5 Posted: 6/12/2021 3:24:02 PM
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 970 time(s).
#6 Posted: 6/12/2021 5:12:38 PM
overlord

overlord

582 likes in 1,351 posts.

Group: Moderator

There are other bugs too.

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

otherbugs.png
  • New Posts
  • No New Posts