another unit problem

another unit problem - changing the unit smath adds redundant fractions - Poruke

#1 Objavljeno: 1. 1. 2018. 15:40:40
Nils

Nils

0 svidjanja u 2 postova.

Grupa: User

Hello,

as you can see in the example below here is another problem with units in smath.
As a civil engineer I need to have pressure-values to be printed in [kN/m²] and smath
prints results of calculations in [J/m³] by default. When I try to change the unit manually, a redundant expression
in the form of [m³/m³] appears and cannot be deleted. Not only that this does not look nice - this
"new unit" cannot be combined with other values having been define in [kN/m²] by me.

I suspect that there is a logic behind this I don't understand. So please help me if you have a clue.


Thank you, Nilsminimum example.sm (7,1 KiB) preuzeto 1275 put(ova).
#2 Objavljeno: 1. 1. 2018. 16:36:55
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

nothing is wrong with unit handling in this example except your misinterpretation.
my guess is you copy-paste the meter cube and meter square from somewhere else.
you should recheck how you handle with power for your formulas.

regards

minimum_1.sm (7,28 KiB) preuzeto 1288 put(ova).
#3 Objavljeno: 1. 1. 2018. 18:32:28
Nils

Nils

0 svidjanja u 2 postova.

Grupa: User

Hello overlord,

you were totally right. I was handling the power wrong... just found out that I have to press the key twice to have it correctly.
Thank you for spending your precious evening time with helping a newbie out.

May the power be with you,

Nils
#4 Objavljeno: 1. 1. 2018. 20:31:40
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

Unitless.PNG
#5 Objavljeno: 26. 1. 2018. 12:37:49
fbramires

fbramires

0 svidjanja u 1 postova.

Grupa: User

Hello,


Dear,
in my file is experiencing a similar event, I would like, if possible, any tips on the error that I am commenting and a possible solution.
Thank you!

Error_unit.tif (93,77 KiB) preuzeto 689 put(ova).


Wrote

nothing is wrong with unit handling in this example except your misinterpretation.
my guess is you copy-paste the meter cube and meter square from somewhere else.
you should recheck how you handle with power for your formulas.

regards

minimum_1.sm (7,28 KiB) preuzeto 1288 put(ova).



#6 Objavljeno: 26. 1. 2018. 13:07:45
Arie

Arie

94 svidjanja u 285 postova.

Grupa: User

FBRamires,

You need to set your units in I.2 to (kPa)^2 and units of I.3 to (kPa)^3.


Edit: See this example

example.sm (7,43 KiB) preuzeto 1306 put(ova).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
  • Novi postovi
  • Nema novih postova