1 страниц (7 вхождений)
Problem with integral (again) - Definite Integral - Сообщения
#1 Опубликовано: 15.12.2022 12:03:46
Hi!
I have the following code, and the last integral is not solved by the program. I did not find any solution.
Can you explain me, what is the problem?
Thanks a lot!
Bye
Pali
HF.sm (72 КиБ) скачан 24 раз(а).
I have the following code, and the last integral is not solved by the program. I did not find any solution.
Can you explain me, what is the problem?
Thanks a lot!
Bye
Pali
HF.sm (72 КиБ) скачан 24 раз(а).
#2 Опубликовано: 15.12.2022 14:31:15
WroteI have the following code, and the last integral is not solved by the program. I did not find any solution.
Can you explain me, what is the problem ?
In some way doctored in red. Setup the integrator scalar wrt 'x'.
Cheers ... Jean.
HF.sm (84 КиБ) скачан 24 раз(а).
#3 Опубликовано: 15.12.2022 15:01:55
Wrote
Can you explain me, what is the problem?
Hi Pali. At this time, you can't use if(..) inside an integral, use cases(...) instead. Also, SMath's integral new version can handle better units.
HF.sm (73 КиБ) скачан 28 раз(а).
Best regards.
Alvaro.
#4 Опубликовано: 16.12.2022 06:41:10
Hi Alvaro,
thanks a lot! It works fine. Thank you.
What do you mean: new version of integral?
Best regards
Pali
thanks a lot! It works fine. Thank you.
What do you mean: new version of integral?
Best regards
Pali
#5 Опубликовано: 16.12.2022 06:42:49
Wrote
In some way doctored in red. Setup the integrator scalar wrt 'x'.
Cheers ... Jean.
HF.sm (84 КиБ) скачан 24 раз(а).
I do not really understand what you did, but thanks for your help as well.
#6 Опубликовано: 16.12.2022 09:37:18
I do not really understand what you did
1. recast if/else ► if/otherwise.
2. made ∫ scalar wrt 'x' for local/vectorize
HFshort.sm (23 КиБ) скачан 18 раз(а).
1. recast if/else ► if/otherwise.
2. made ∫ scalar wrt 'x' for local/vectorize
HFshort.sm (23 КиБ) скачан 18 раз(а).
#7 Опубликовано: 16.12.2022 14:49:11
Wrote
What do you mean: new version of integral?
Hi Pali. In the "new" version of the integral it puts the units of the result correctly, while before some corrections had to be made. From "list of changes" here: Defined Integral supports units now.
Best regards.
Alvaro.
1 пользователям понравился этот пост
Davide Carpi 16.12.2022 18:26:00
1 страниц (7 вхождений)
-
Новые сообщения
-
Нет новых сообщений