solve() bugs

solve() bugs - Messaggi

#1 Pubblicato: 09/06/2021 15:26:58
overlord

overlord

601 apprezzamenti in 1.382 post.

Gruppo: 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 Pubblicato: 10/06/2021 23:36:37
overlord

overlord

601 apprezzamenti in 1.382 post.

Gruppo: 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) scaricato 1626 volta(e).
somebugs.pdf (522,2 KiB) scaricato 883 volta(e).

somebugs.png
2 utenti hanno apprezzato questo post
Andrey Ivashov 11/06/2021 04:06:00, NDTM Amarasekera 11/06/2021 22:44:00
#3 Pubblicato: 11/06/2021 09:21:57
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 12/06/2021 11:39:19
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: 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) scaricato 1611 volta(e).
Piecewise.pdf (184,98 KiB) scaricato 1339 volta(e).

Best regards.
Alvaro
#5 Pubblicato: 12/06/2021 15:24:02
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

Page3 Solve Discontinuous.sm (5,27 KiB) scaricato 1822 volta(e).
#6 Pubblicato: 12/06/2021 17:12:38
overlord

overlord

601 apprezzamenti in 1.382 post.

Gruppo: Moderator

There are other bugs too.

otherbugs.sm (13,7 KiB) scaricato 1527 volta(e).

otherbugs.png
  • Nuovi post
  • Nessun nuovo post