Evaluation of a formula with units

Evaluation of a formula with units - Messages

#1 Posted: 5/26/2016 4:05:00 PM
Basile

Basile

8 likes in 172 posts.

Group: User

Can I have this?
and preferably for longer formulas, the three steps under each other in three lines?
smath error 18.JPG

Thanks,
Basile
#2 Posted: 5/26/2016 9:28:29 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

SMath, as I know, have two evaluators: Numeric (=) and Symbolic (Ctrl + .). I guess that what you want is a new evaluator: Substitute for knows (Ctrl + , perhaps)?

Alvaro.
#3 Posted: 5/26/2016 9:38:23 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... ?

Forum Unit Ohms.gif
#4 Posted: 5/27/2016 1:00:16 AM
Basile

Basile

8 likes in 172 posts.

Group: User

What I want is:
1. The formula
2. Substitution of numerical values with units (than can clearly can be seen)
3. Result of numerical values and units (one number, one unit)
as shown above in my initial email.

Basile
#5 Posted: 10/25/2016 12:15:56 PM

Heezea

0 likes in 4 posts.

Group: User

Yes, I would like to have this also.

This is the classic way equations are presented in almost all engineering work. This way the work can easily be checked by a reviewer in one equation. If not presented this way, the person looking at the math must constantly look back at the value of the variables to determine what they actually are. For long worksheets, you may have to go back three pages to find what was assigned. It's too easy to get lost in looking for the variables.

Can anyone advise if it would be feasible to write an extension to accomplish this?

Perfection:
Quote

L = 5 m
F = 6 N

M = L x F = 5 m x 6 N = 30 J

With option to:
M = L x F
   = 5 m x 6 N
   = 30 J

#6 Posted: 10/25/2016 9:27:44 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Can anyone advise if it would be feasible to write an extension to accomplish this?



Your 2nd option is redundant. It has no interest in applied
Scientific/Engineering works. Why sould it be of some use
otherwise [teaching/Edu/publishing ...].
That's my answer, not my business.

Forum Unit Revisit.gif
#7 Posted: 10/26/2016 9:10:27 AM

Heezea

0 likes in 4 posts.

Group: User

Jean, thank you for your efforts. You are showing everything one one screen, but try to imagine the following.

Quote


L = 5 m
F = 6 N
M = L x F = 5 m x 6 N = 30 J

/One page later
/Two pages later
/Three pages later

q = 3
L1 = q x L = 3 x 5 m = 15 m




What you are suggesting defeats the purpose of using a program like SMath because that can be easily achieved in Excel. What you are showing (twice now) is not the same as what is being requested, it is very different, that's why two different people on two different occasions have asked for something despite your previous example. What we want is clearly shown. Following your example, we either 1) have to re-show the variables prior to each calculation, or 2) redefine the variables prior to each calculation, or 3) redefine the equation prior to each calculation.

Regarding the equation being broken up over three lines (symbolic, numeric, result), that form absolutely is used in applied engineering. If you have a very long equation, such as when summing moments about a point, and would like to show all of the numbers and lengths, it is very cumbersome to have a gigantic equation on one line; you would likely have to adjust your page width to fit such a formula or break it up into multiple separate formulas, which again, for my needs, defeats the purpose of using a program like SMath.

In short, my question still stands.
Can anyone advise if it would be feasible to write an extension to accomplish this?
If it is feasible, I would try to code it, but I want to make sure there's no inherent conflict with SMath that would make it impossible to do so.
#8 Posted: 10/26/2016 10:50:12 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Wrote

In short, my question still stands.
Can anyone advise if it would be feasible to write an extension to accomplish this?


Hello [userlink]Heezea[/userlink],

I don't think that currently it is possible to write such kind of extension.
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
10/26/2016 1:21:00 PM
#9 Posted: 10/26/2016 2:04:19 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

To the wording of your thread "Evaluation of a formula with units"
That is the task of symbolic, that's why the red snippet in my reply.
In Professional works, we define/indentify the contex/units ...
then produce the document(s).
I don't understand your zillions pages long formula.
I don't understand /One page later, /Two pages later,/Three pages later
Attach something: collabs will read .

Forum Units Moments.gif
#10 Posted: 10/27/2016 10:56:05 AM
kilele

kilele

133 likes in 397 posts.

Group: User

Wrote

Wrote

In short, my question still stands.
Can anyone advise if it would be feasible to write an extension to accomplish this?


Hello [userlink]Heezea[/userlink],

I don't think that currently it is possible to write such kind of extension.



Hi Davide and all,
I suggested "user defined expansions" a few years ago there is a link on this post: http://en.smath.info/forum/yaf_postsm6545_Display-values-with-definition.aspx#post6545
Maybe this way could be possible, by having the user configure how an expression has to be expanded?
#11 Posted: 10/27/2016 12:51:36 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Forum CollectExpand.gif
#12 Posted: 10/29/2016 12:11:54 AM
Basile

Basile

8 likes in 172 posts.

Group: User

Jean,
All these you say are good but: When I solve a problem, I eventually have a formula that to the left of the = sign has the unknown quantity and to the right of the equal sign all known quantities.
Now it is time to evaluate the expression"

m:= 3 m/s
x:= 1 s
b:= 2 m

y:= m*x+b
= 3 m/s * 1 s + 2 m
= 5 m

OR

y := m*x+b = 3 m/s * 1 s + 2 m = 5 m

You can see everything!

Best Regards,
Basile
#13 Posted: 10/29/2016 9:24:25 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

"Evaluation of a formula with units"

Forum Proper Maths.gif
#14 Posted: 10/29/2016 9:31:59 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

"Evaluation of a formula with units"

Forum Proper Maths_1.gif
#15 Posted: 10/29/2016 9:55:20 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Forum Proper Maths_2.gif

That thread goes nowhere w/o productive demand.
  • New Posts New Posts
  • No New Posts No New Posts