Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
Update of statement:solve(), roots(), FindRoot() doesn't like if() function. However, they can solve when cases() used instead of if(). Regards Edited by user 13 June 2021 12:32:17(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
I have diagnosed the symptoms with solve bug. Made a page about this and tried to explain with detail. Regards somebugs.sm (55kb) downloaded 9 time(s). somebugs.pdf (523kb) downloaded 5 time(s).
|
2 users thanked overlord for this useful post.
|
on 11/06/2021(UTC), on 12/06/2021(UTC)
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
Originally Posted by: overlord 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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Originally Posted by: overlord 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 (46kb) downloaded 14 time(s). Piecewise.pdf (185kb) downloaded 16 time(s).Best regards. Alvaro
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,868 Was thanked: 980 time(s) in 808 post(s)
|
IMHO, its logical solving piece wise discontinuous, solve piece wise as well for productive classroom. Page3 Solve Discontinuous.sm (6kb) downloaded 5 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,125 Was thanked: 506 time(s) in 337 post(s)
|
There are other bugs too. otherbugs.sm (14kb) downloaded 9 time(s).Edited by user 12 June 2021 23:14:19(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.