Why we have an error in this SM-sheet

Why we have an error in this SM-sheet - In Mathcad Prime all is OK - Poruke

#1 Objavljeno: 12. 12. 2023. 21:45:18
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Predochistka.sm (54,45 KiB) preuzeto 1486 put(ova).
#2 Objavljeno: 12. 12. 2023. 22:47:04
StvMath

StvMath

44 svidjanja i 1 nesvidjanja u 76 postova.

Grupa: User

t is undefined. And why do you have [SO₄‾‾].исх as an argument twice?
#3 Objavljeno: 13. 12. 2023. 00:21:50
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Hi. For starting, the vertical bars in the while condition are not for absolute value, but for determinant.

Best regards.
Alvaro.
#4 Objavljeno: 14. 12. 2023. 02:10:49
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Wrote

Hi. For starting, the vertical bars in the while condition are not for absolute value, but for determinant.

Best regards.
Alvaro.



Thanks, Alvaro!
I have corrected but new error message
Predochistka.sm (59,97 KiB) preuzeto 1520 put(ova).
#5 Objavljeno: 14. 12. 2023. 09:55:40
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Hi Valery. I guess that it has some minor issues about units and with variable redefinitions inside of the body of procedures.

Predochistka.sm (65,34 KiB) preuzeto 1499 put(ova).

Best regards.
Alvaro.
1 korisnika je svidelo ovu objavu
Valery Ochkov 14. 12. 2023. 15:09:00
#6 Objavljeno: 14. 12. 2023. 16:10:57
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Wrote

Hi Valery. I guess that it has some minor issues about units and with variable redefinitions inside of the body of procedures.

Predochistka.sm (65,34 KiB) preuzeto 1499 put(ova).

Best regards.
Alvaro.



I call the function one more and get an error. Why?
Predochistka-Err.png
Predochistka-Err.sm (62,61 KiB) preuzeto 1522 put(ova).
#7 Objavljeno: 14. 12. 2023. 18:47:46
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

You redefine some function arguments inside the function body. That change its values globally:

err.png

See the green area in the document. Also, as an example:

err2.png

Best regards.
#8 Objavljeno: 15. 12. 2023. 00:12:53
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

Wrote

You redefine some function arguments inside the function body. That change its values globally:

err.png

See the green area in the document. Also, as an example:

err2.png

Best regards.


Prime
ans.png

#9 Objavljeno: 15. 12. 2023. 02:50:01
Valery Ochkov

Valery Ochkov

75 svidjanja u 735 postova.

Grupa: User

It will be good to have
LV.png

  • Novi postovi
  • Nema novih postova