SMath Studio Forum
»
SMath Studio
»
Questions
»
Auto fraction on optimization:none
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).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 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.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 15/06/2021(UTC) Posts: 2
|
Originally Posted by: overlord 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. 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 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
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: Poorman 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
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Auto fraction on optimization:none
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.