problems with physical units and calculations

problems with physical units and calculations - Messages

#1 Posted: 11/17/2022 7:27:15 AM
rsdias

rsdias

0 likes in 2 posts.

Group: User

I started using the Smath program a little while ago and I'm having a problem that I believe is because I don't know how the software works with physical units.

My problem is the following, I have a variable ton:= 6.1538 us (micro seconds), but when I do Ton^2 the result does not appear in the micro seconds unit and it stays with s^2 us unit, I don't understand how to leave it alone in micro seconds, and with that the calculation is also not correct in a formula that uses this variable ton^2, could someone tell me how this question of units works please. Thanks in advance for your attention.
#2 Posted: 11/17/2022 10:20:18 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Sounds like you have a non-physical equation.

If you have a = 1 m and A = a^2, then I would expect A being 1 m^2. So your physics must be very special.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Posted: 11/17/2022 10:26:03 AM
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

74 likes in 164 posts.

Group: User

Greetings!

By default, 「's」 is the base unit in SMath (and thus, the default unit of time); any calculation in terms of time will report in seconds. If you want to review your answer in microseconds, you can insert microseconds in the placeholder at the right of your equation to override the default units.

Clicking on your equation, you should notice a ▮ appear, just type the unit 「'μs」 and you will see your desired result:

SMath_unitsoverride.jpg


Hope this helps you,

Kenny Lemens, P.E. ᵂᴵ
========================================
P.S. you mentioned ton and Ton in your post, be aware SMath is Case-Sensative; that is tonTon
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#4 Posted: 11/17/2022 11:23:12 AM
rsdias

rsdias

0 likes in 2 posts.

Group: User

Thanks for the guidance, using microseconds as the unit, everything worked out fine. Thanks.
  • New Posts New Posts
  • No New Posts No New Posts