integral of piecewise functions

integral of piecewise functions - Numeric integral of piecewise function - Сообщения

#1 Опубликовано: 25.08.2022 12:10:06
Juan Manuel

Juan Manuel

0 сообщений из 14 понравились пользователям.

Группа: User

Dear, I would like to ask you if it is possible to perform integrals of functions defined by intervals.

Thanks and regards

JuanMa

Current_duty cycle.png
#2 Опубликовано: 25.08.2022 18:03:22
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: Moderator

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 КиБ) скачан 61 раз(а).

2022-08-26_00-01.png
1 пользователям понравился этот пост
Davide Carpi 25.08.2022 19:03:00
#3 Опубликовано: 25.08.2022 19:25:07
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Dear, 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 КиБ) скачан 30 раз(а).
#4 Опубликовано: 25.08.2022 19:50:54
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Integrate Discontinuous SCALAR.sm (6 КиБ) скачан 27 раз(а).
#5 Опубликовано: 25.08.2022 19:53:00
overlord

overlord

551 сообщений из 1332 понравились пользователям.

Группа: Moderator

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
#6 Опубликовано: 26.08.2022 08:22:51
Juan Manuel

Juan Manuel

0 сообщений из 14 понравились пользователям.

Группа: User

Wrote

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




Thanks to both
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений