Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline mykologen  
#1 Posted : 04 December 2017 14:48:27(UTC)
mykologen

Rank: Newbie

Groups: Registered
Joined: 07/04/2017(UTC)
Posts: 5
Sweden

Was thanked: 1 time(s) in 1 post(s)
Hello!

First time I receive an answer from an equation with an unwanted superscript. The answer is simply 0,9048m dont know why it adds superscript of 29/20. File is attahced, its probably just a quickfix.

Thanks in advance! Good
Composite twin deck.sm (84kb) downloaded 12 time(s).

Edited by user 04 December 2017 16:21:31(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 04 December 2017 15:20:31(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
No way the answer can have the unit m. You deliberately apply the exponent 9/20 (0,45) to a value with unit m and multiply that by another quantity of unit m. This definitly must result in units of m^(1+9/20).
If you mean to divide by 12 m instead of just a dimensionless number 12, then you actually have to do it. How can SMath know that otherwise?

2017-12-04 13_19_16-SMath Studio - [Composite%20twin%20deck.sm_].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 04/12/2017(UTC)
Offline mykologen  
#3 Posted : 04 December 2017 15:28:13(UTC)
mykologen

Rank: Newbie

Groups: Registered
Joined: 07/04/2017(UTC)
Posts: 5
Sweden

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: mkraska Go to Quoted Post
No way the answer can have the unit m. You deliberately apply the exponent 9/20 (0,45) to a value with unit m and multiply that by another quantity of unit m. This definitly must result in units of m^(1+9/20).
If you mean to divide by 12 m instead of just a dimensionless number 12, then you actually have to do it. How can SMath know that otherwise?

2017-12-04 13_19_16-SMath Studio - [Composite%20twin%20deck.sm_].png


Thank you... Well I am a bit confused since I have made a lot of sheets where I divide something in [m] by a unitless digit and it gives me the answer in meters. But now it has to do with the order it calculates when including a superscript as I understand. Thanks for answer, I will remember this now.
Offline mkraska  
#4 Posted : 04 December 2017 17:09:11(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Sometimes, in engineering, you have equations which expect numbers instead of quantities (numbers times units). They come bundled with requirements of what units to use to generate the numbers from the original quantities and what the unit of the result is.

In such cases you can just divide the entry quantities by the required unit and multiply the resulting number by the specified unit. This way you document both the equation and the required units.

The following examples says that H.1 = X/28 * (LT/12)^0,45 if X and LT are entered in m and the result has the unit m.

2017-12-04 15_06_24-SMath Studio - [Composite%20twin%20deck.sm_].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 04/12/2017(UTC)
Offline Jean Giraud  
#5 Posted : 04 December 2017 19:27:18(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
UnitsDontMatch.PNG
thanks 1 user thanked Jean Giraud for this useful post.
on 06/12/2017(UTC)
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.