Units in denominator not changing

Units in denominator not changing - Messages

#1 Posted: 4/20/2018 1:07:35 PM
koodakk3

koodakk3

0 likes in 9 posts.

Group: User

Hi,

I have an issue with the units for the calculation shown in the image
g1cj2NEcln4zHURXUBGcNiHBPCKhnUzsR9Ug1hGhTIyLlglUdDiF1-X7Q27R_XR79HYTnNL34vK1gTXIlLAQ=w1280-h950.jpg
edit: image attached

The calculation of 200/d_eff gives a result of 192.96, which is in units of m^-1, however I need the units in mm^-1 (0.19296) since d_eff is in units of mm. It seems like it is impossible to change it. I have tried all the options in the tools->calculations settings.

There is a similar post to mine on the forum, but it doesn't really answer my question:
https://en.smath.info/forum/yaf_postst7976_SMath-adds-units-at-the-end-of-the-calculation.aspx

Can you please advise on this? I seem to be able to change the units from m to mm, when the units are in the numerator, but not when the units are in the denominator.

Thanks in advance.
Iura
#2 Posted: 4/20/2018 1:32:07 PM
sergio

sergio

115 likes in 329 posts.

Group: User

The procedure is well illustrated in the interactive guide "Interactive SMath Handbook" (by Martin Kraska) downloadable from the menu -> tools -> plugins. It is valid for both numerator and denominator units

Click a result. Then a placeholder appears to the right of the result. Set the cursor to the placeholder. Type "1/mm" and confirm the unit "mm" in the dynamic assistant by pressing [Tab]

sergio
2 users liked this post
Arie 4/20/2018 2:39:00 PM, Davide Carpi 4/21/2018 7:08:00 AM
#3 Posted: 4/23/2018 5:30:37 AM
koodakk3

koodakk3

0 likes in 9 posts.

Group: User

Wrote

The procedure is well illustrated in the interactive guide "Interactive SMath Handbook" (by Martin Kraska) downloadable from the menu -> tools -> plugins. It is valid for both numerator and denominator units

Click a result. Then a placeholder appears to the right of the result. Set the cursor to the placeholder. Type "1/mm" and confirm the unit "mm" in the dynamic assistant by pressing [Tab]

sergio



Hi Sergio,

Thanks for your quick reply, however the units of 1/m still remain although I have added 1/mm like you suggested before.

Please find attached the image

zy38Yrv06OUK7Y_vpyRQCXJSOiHMze3z0MenzfC32wJ8o8hXAzJnYaJ3sH0joL3YbKscaInpRZLPDkEomy5U=w1280-h950.jpg
edit: image attached

Thanks
Iura
#4 Posted: 4/23/2018 6:01:47 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Hello Iura,

Wrote

however the units of 1/m still remain although I have added 1/mm like you suggested before.


please right-click that region and check if you have the "Ignore units" option in the context menu enabled; in this case uncheck it.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
sergio 4/23/2018 6:47:00 AM
#5 Posted: 4/23/2018 6:04:52 AM
koodakk3

koodakk3

0 likes in 9 posts.

Group: User

Wrote

Hello Iura,

Wrote

however the units of 1/m still remain although I have added 1/mm like you suggested before.




please right-click that region and check if you have the "Ignore units" option in the context menu enabled; in this case uncheck it.



Hey,

Yes, the Ignore units option was enabled. Thank you, this has solved my query.

SMath Units1.pdf (19 KiB) downloaded 38 time(s).

Thanks
Iura
#6 Posted: 4/23/2018 6:06:37 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

You're welcome
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#7 Posted: 4/23/2018 7:43:06 AM
koodakk3

koodakk3

0 likes in 9 posts.

Group: User

Wrote

You're welcome



I am facing a similar issue again. Please see the link to the image below. This time, I need the result to come out in units of N, however due to a number of reasons this doesn't quite workout. Can I completely cancel the display of units and type a text box of my own next to it?

https://drive.google.com/open?id=1ONCWUcKPEa1F77ULgCTtMtXM3Fwlz2hC
#8 Posted: 4/23/2018 10:28:34 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I am facing a similar issue again



Two things:
1. Better attach the *.sm document
2. for faster/better image
Download freeware "WinGrab", set some key options, put it in task bar.
_ click WinGrab from task bar
_ click 'start capture'
_ click 'Selection tool', adjust the rectangle
_ crop image
_ save as PNG in a dedicated Snippets in C:\ Directory

PREOS.PNG

#9 Posted: 4/23/2018 10:39:46 AM
Arie

Arie

93 likes in 285 posts.

Group: User

Wrote



I am facing a similar issue again. Please see the link to the image below. This time, I need the result to come out in units of N, however due to a number of reasons this doesn't quite workout. Can I completely cancel the display of units and type a text box of my own next to it?



As Jean said, it would really help out if you could attach the .sm file. It appears that there is an error somewhere in your calculation. The units come out to kg^(1/2)*m^(3/2)/s. The unit N is kg*m/s^2. So your result is not equivalent to Newtons.

This could simply be an error in variable definition (incorrect/missing units) or there may be an error in your arithmetic resulting in erroneous result.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#10 Posted: 4/23/2018 11:11:33 AM
sergio

sergio

115 likes in 329 posts.

Group: User

It looks like the typical dimensional formula situation. In these formulas the quantities must be entered with a specific unit of measure and the result is read with specific units of measure. Usually I act like this:
[albumimg]1480[/albumimg]
sergio
  • New Posts New Posts
  • No New Posts No New Posts