Error integrating with interim result

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

#1 Publicado: 23/7/2019 9:59:53
Stefan Weisskircher

Stefan Weisskircher

0 me gusta en 7 mensajes.

Grupo: 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 Publicado: 23/7/2019 10:04:05
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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 Publicado: 23/7/2019 10:07:13
Stefan Weisskircher

Stefan Weisskircher

0 me gusta en 7 mensajes.

Grupo: 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 Publicado: 23/7/2019 10:07:18
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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 Publicado: 23/7/2019 10:11:11
Stefan Weisskircher

Stefan Weisskircher

0 me gusta en 7 mensajes.

Grupo: User

Thanks again, here we go:

Bug_Integral.sm (4,05 KiB) descargado 1416 vez(es).
#6 Publicado: 23/7/2019 10:12:41
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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 Publicado: 23/7/2019 10:16:05
Stefan Weisskircher

Stefan Weisskircher

0 me gusta en 7 mensajes.

Grupo: 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 Publicado: 23/7/2019 10:20:00
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: 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 Publicado: 23/7/2019 10:20:00
Stefan Weisskircher

Stefan Weisskircher

0 me gusta en 7 mensajes.

Grupo: User

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1175 vez(es).

  • Nuevos mensajes
  • Sin mensajes nuevos