Square Inches for Area instead of Square Meters

Square Inches for Area instead of Square Meters - When Assigning Units Output is Meters Squared - Mensajes

#1 Publicado: 15/7/2020 13:28:30
tonlok

tonlok

0 me gusta en 3 mensajes.

Grupo: User

Question:

Calculating Area of a piston when I enter the diameter in inches the output is m2, how do I get the output units to in2?

Thanks and apologies if this is something easy to solve, I have searched all over and have not been able to figure it out.

#2 Publicado: 15/7/2020 14:23:01
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Calculating Area of a piston when I enter the diameter in inches the output is m2, how do I get the output units to in2?


Copy inch²/paste in the empty place holder of result.

Piston.PNG
#3 Publicado: 15/7/2020 16:58:18
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

Question:

Calculating Area of a piston when I enter the diameter in inches the output is m2, how do I get the output units to in2?

Thanks and apologies if this is something easy to solve, I have searched all over and have not been able to figure it out.


Click to result, you wil notice there will be a placeholder for unit change.
Change it to square inch. It will be calculated as you wanted.

units.png
A 1 usuarios les gustó este mensaje
Davide Carpi 15/7/2020 18:21:00
#4 Publicado: 15/7/2020 16:59:34
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Calculating Area of a piston when I enter the diameter in inches the output is m2, how do I get the output units to in2?


... or like this in silent unit:
1. x*in ... in from unit panel
2. backspace twice to remove in
3. at this point you see a big round place holder,
4. in that special place holder ... in from unit panel
5. 'in in blue is now silent for result 'in²

Piston SilentUnit.PNG
#5 Publicado: 15/7/2020 18:29:56
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... make it hi-pro algo style.

Piston algo.PNG
#6 Publicado: 15/7/2020 18:54:23
tonlok

tonlok

0 me gusta en 3 mensajes.

Grupo: User

I want to thank everyone for their responses.

Cannot figure out the syntax of how to changes the units, I select so the box has the dogleg right then I type in^2 and get the result in not defined like I am adding another step to the calculation? Just typing in also gives me the same error.

Archivo no encontrado.Archivo no encontrado.

#7 Publicado: 15/7/2020 19:10:51
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Cannot figure out the syntax of how to changes the units


... as explained above. Read again.

Piston algo Symbol.PNG
#8 Publicado: 15/7/2020 19:30:48
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Cannot figure out the syntax of how to changes the units


Make your project math style [no decoration, no gyzmas ...]
No syntax to freak, code accordingly.

Silent Unit.PNG

#9 Publicado: 15/7/2020 19:37:25
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Unit Silent.sm (5,5 KiB) descargado 1232 vez(es).
#10 Publicado: 15/7/2020 20:14:52
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

I want to thank everyone for their responses.

Cannot figure out the syntax of how to changes the units, I select so the box has the dogleg right then I type in^2 and get the result in not defined like I am adding another step to the calculation? Just typing in also gives me the same error.


After you typed "in", press Tab or double click on inch unit before you enter the square.
So that you will get the inch unit. It should be blue colored.
You can define variables in Smath even by unit names.
I can see your inch unit is not unit. It is a new variable named "in".
I am repeating again, units are blue colored.

Regards.

units2.png
#11 Publicado: 16/7/2020 11:41:59
tonlok

tonlok

0 me gusta en 3 mensajes.

Grupo: User

Once again, I want to thank everyone for their help.

I am going down the path of using the units. Took me a couple of attempts to get the in2 but it is now working

One follow-up, if I set the equation to optimization none to show the numeric values they all default to meters, is there a way to have them shown as inches?


Formula 3.JPG
#12 Publicado: 16/7/2020 13:33:43
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

One follow-up, if I set the equation to optimization none to show the numeric values they all default to meters, is there a way to have them shown as inches?


Construct as is, it may have to do with your SS version.
Otherwise, you are wrongdoing, not following guidance.

Piston Doctored.PNG
#13 Publicado: 17/7/2020 4:29:22
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Wrote

Once again, I want to thank everyone for their help.

I am going down the path of using the units. Took me a couple of attempts to get the in2 but it is now working

One follow-up, if I set the equation to optimization none to show the numeric values they all default to meters, is there a way to have them shown as inches?


Formula 3.JPG



Definitions are converted to SI upon storage (you see that when you hover with the mouse over a definition. Control of display units is just by the optional placeholder, where you can insert any factor (a unit or pi or any variable name which your result may contain)

Also note that the default display unit depends on optimization. Numeric and symbolic display different units, e.g. 1/s defaults to Hz in numeric optimization and to 1/s in symbolic.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
  • Nuevos mensajes
  • Sin mensajes nuevos