1 Pages (6 items)
integral of piecewise functions - Numeric integral of piecewise function - Messages
#1 Posted: 8/25/2022 12:10:06 PM
#2 Posted: 8/25/2022 6:03:22 PM
if/else has a long lasted bug.
It doesn't allow you to compute in certain situations.
I had a list for that, if I can find I will post it here.
You can use cases() if you encounter a bug.
Here is your file re-written with cases.
Regards
cases instead ifelse.sm (7 KiB) downloaded 64 time(s).

It doesn't allow you to compute in certain situations.
I had a list for that, if I can find I will post it here.
You can use cases() if you encounter a bug.
Here is your file re-written with cases.
Regards
cases instead ifelse.sm (7 KiB) downloaded 64 time(s).
1 users liked this post
Davide Carpi 8/25/2022 7:03:00 PM
#3 Posted: 8/25/2022 7:25:07 PM
WroteDear, I would like to ask you if it is possible to perform integrals of functions defined by intervals.
Yes, though very many had to be doctored.
Jean
Integrate Discontinuous.sm (10 KiB) downloaded 31 time(s).
#4 Posted: 8/25/2022 7:50:54 PM
Integrate Discontinuous SCALAR.sm (6 KiB) downloaded 27 time(s).
#5 Posted: 8/25/2022 7:53:00 PM
Here is my reply to if bug.
https://en.smath.com/forum/yaf_postsm75905_bug-in-if.aspx#post75905
There are other bugs with some specific conditions.
Don't get confused with long list, when you get use to smath it gets easier to remember.
I didn't mention if/else in this reply, but it can be added.
https://en.smath.com/forum/yaf_postsm71178_solve---bugs.aspx#post71178
And here is a list may be useful to consider.
https://en.smath.com/forum/yaf_postsm76117_Vertical-Bar-Question.aspx#post76117
Regards
https://en.smath.com/forum/yaf_postsm75905_bug-in-if.aspx#post75905
There are other bugs with some specific conditions.
Don't get confused with long list, when you get use to smath it gets easier to remember.
I didn't mention if/else in this reply, but it can be added.
https://en.smath.com/forum/yaf_postsm71178_solve---bugs.aspx#post71178
And here is a list may be useful to consider.
https://en.smath.com/forum/yaf_postsm76117_Vertical-Bar-Question.aspx#post76117
Regards
#6 Posted: 8/26/2022 8:22:51 AM
WroteHere is my reply to if bug.
https://en.smath.com/forum/yaf_postsm75905_bug-in-if.aspx#post75905
There are other bugs with some specific conditions.
Don't get confused with long list, when you get use to smath it gets easier to remember.
I didn't mention if/else in this reply, but it can be added.
https://en.smath.com/forum/yaf_postsm71178_solve---bugs.aspx#post71178
And here is a list may be useful to consider.
https://en.smath.com/forum/yaf_postsm76117_Vertical-Bar-Question.aspx#post76117
Regards
Thanks to both
1 Pages (6 items)
-
New Posts
-
No New Posts