Problem with units in formula

Problem with units in formula - Units - Messages

#1 Posted: 8/2/2018 6:20:49 AM
Speedracer

Speedracer

0 likes in 2 posts.

Group: User

How to make the program use MPa instead of Pa in the formula?
1.sm (10 KiB) downloaded 42 time(s).
#2 Posted: 8/2/2018 11:50:30 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

How to make the program use MPa instead of Pa in the formula?


Engineering formulas should be unitless, as is from books.
In the empty place holder of Q, paste MPa from user unit.

MPa.PNG
#3 Posted: 8/2/2018 2:15:53 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

The topic starter has used units just the way it is efficient in SMath Studio. Write a formula as found in a book, define the quantities using the given units and get the result in the correct dimension.
If you don't like the default unit, you can change the display easily.

Go to the unit placeholder and type the desired result there. The dynamic assistant will help with a list of known items. In the given case it is sufficient to type MP and then TAB to confirm the selection in the list.

2018-08-02 18_59_03-SMath Studio - [1.sm_].png

Read more on this in the "Units of measurement" branch of the Interactive handbook.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#4 Posted: 8/3/2018 5:43:39 AM
Speedracer

Speedracer

0 likes in 2 posts.

Group: User

The program does not use the number I need.
if I choose "Ignore units" the program solves correctly
1.png
#5 Posted: 8/3/2018 7:16:12 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Often these types of formulas are made to be used with specific units as input... my thought is that the 10^6 used in the denominator is specifically provided to use P.a in MegaPascal as input, while the program uses the base units (the ratio under the arrow has P.a in either numerator and denominator, thus the magnitude doesn't matter here, unless you provide P.пр and P.a with wrong relative magnitude)

2018-08-03 12_19_42-Window.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts