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 Poorman  
#1 Posted : 15 June 2021 05:44:55(UTC)
Poorman

Rank: Newbie

Groups: Registered
Joined: 15/06/2021(UTC)
Posts: 2

Hello Every one,

I cant seem to understand the past threads about this problem so i created mine.

So here it is.
Im trying to show step by step solution on some certain problem

i.e

D = A + B + C
where
A= 0.2 in
B= 0.1 in
c= 0.5 in

So in order for smath to show the formula, you need to go to

D := A + B + C ------> RIGHT CLICK OPTIMIZATION--->NONE
D = 127m/25000 + 127m/50000 + 127m/10000 ------> RIGHT CLICK OPTIMIZATION--->NONE

D = 0.203 m ------> RIGHT CLICK OPTIMIZATION--->NUMERIC

the question i would like to ask is,
Why does my input value automatically converts to FRACTIONS and in meter

when the optimization is converted into none

attached here is the file.
problem in unit analysis of optimization none.sm (6kb) downloaded 8 time(s).

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

Offline overlord  
#2 Posted : 15 June 2021 07:17:53(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,126
Turkey

Was thanked: 507 time(s) in 338 post(s)
Actually that None Optimization is not a feature to show your variable values.
SMath stores every number as a fraction acceptable. Units as basic SI units.
So when you entered 0.256 it is stored as 256/1000, 32/125 eventually.
If you entered 1.2*'in, it shall be stored as 381/12500*'m.
1*'mm shall be depicted as 0.001*'m in SMath.
Optimization None is just a workaround for that purpose.
Not a students notebook style to state variables openly as they please.
A simple trick you can say, nothing more.

Regards

PS: You can eval() variables individually but they will be stored with SI units.
You can define your own variable just for that printing purpose.
But they will be incompatible with other units.

2021-06-15_07-17.png
Offline Poorman  
#3 Posted : 15 June 2021 07:50:52(UTC)
Poorman

Rank: Newbie

Groups: Registered
Joined: 15/06/2021(UTC)
Posts: 2

Originally Posted by: overlord Go to Quoted Post

Optimization None is just a workaround for that purpose.
Not a students notebook style to state variables openly as they please.
A simple trick you can say, nothing more.
2021-06-15_07-17.png


Thanks for the information.
is there a plugin for smath to store decimals as decimals instead of fractions?
or set the main units to english?

Originally Posted by: overlord Go to Quoted Post

PS: You can eval() variables individually but they will be stored with SI units.
You can define your own variable just for that printing purpose.
But they will be incompatible with other units.


i like this eval function. but is there a way to hide the eval functions while showing the normal formula?

thanks man i really appreciate your reply
Offline overlord  
#4 Posted : 15 June 2021 10:10:20(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,126
Turkey

Was thanked: 507 time(s) in 338 post(s)
Originally Posted by: Poorman Go to Quoted Post
i like this eval function. but is there a way to hide the eval functions while showing the normal formula?

thanks man i really appreciate your reply

You can hide anything between area boundaries.
Insert > Area from menu is how you do it. This is the easiest way I could think of.
If you set the option from File>Page Setup, those areas won't show in plot.

Regards

2021-06-15_10-07.png 2021-06-15_10-07_1.png
Users browsing this topic
Guest
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.