Error integrating with interim result

Error integrating with interim result - Integral gives different result if a variable is calcukated (and not defined) - 消息

#1 已发布: 2019/7/23 09:59:53
Stefan Weisskircher

Stefan Weisskircher

0个赞,共7个帖子。

组: User

I have a simple integral calculation which contains a varable "n". If this variable is calculated in an earlier step, a wrong result is returned; the same calculation with a defined value for the variable (called "n2" in the example), the correct result appears. SMath Studio version 0.99, build 7030.

Is there a possibility to upload my sample file?
#2 已发布: 2019/7/23 10:04:05
Arie

Arie

94个赞,共285个帖子。

组: User

What version are you running?

I'm not seeing this issue on 7109.

Might help if you also posted the .sm file in question.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#3 已发布: 2019/7/23 10:07:13
Stefan Weisskircher

Stefan Weisskircher

0个赞,共7个帖子。

组: User

Hello alyles,
thanks for your answer! I have already edited my original post to add the version info.

i cannot find a button to upload my sample file... (still searching)
#4 已发布: 2019/7/23 10:07:18
Arie

Arie

94个赞,共285个帖子。

组: User

Wrote



Is there a possibility to upload my sample file?



Sorry I missed this. To upload start writing a comment, click the following button....
Untitled.png

then click add file first. Navigate to file and select. Then you must click start upload to upload it.
Untitled.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#5 已发布: 2019/7/23 10:11:11
Stefan Weisskircher

Stefan Weisskircher

0个赞,共7个帖子。

组: User

Thanks again, here we go:

Bug_Integral.sm (4.05 KiB)已下载 1434 次。
#6 已发布: 2019/7/23 10:12:41
Arie

Arie

94个赞,共285个帖子。

组: User

Are you concerned with the fractional result on the red?

If so right click on that section and change optimization to numeric. You'll get a numeric result.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#7 已发布: 2019/7/23 10:16:05
Stefan Weisskircher

Stefan Weisskircher

0个赞,共7个帖子。

组: User

Doesn't help, I still get "-18" in the left section (which isn't correct IMHO and still deiffers from the result on the right side (green))
#8 已发布: 2019/7/23 10:20:00
Arie

Arie

94个赞,共285个帖子。

组: User

Ok I just tried this in 7030 (latest stable) and can confirm I get the same results as you. This looks like a bug.

when I performed the same calculation in the newest beta version, the results seem correct.

Untitled.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#9 已发布: 2019/7/23 10:20:00
Stefan Weisskircher

Stefan Weisskircher

0个赞,共7个帖子。

组: User

Thanks a lot! So I don't have to search anymore!
#10 已发布: 2019/7/24 11:58:21
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Thanks a lot! So I don't have to search anymore!


Always plot the integrand for reluctant region.
Doctored SS 6179 ... seemingly same as SS7109

Bug_Integral [Doctored].sm (23 KiB)已下载 1187 次。

  • 有新帖
  • 无新帖