1 Pages (15 items)
Evaluation of a formula with units - Messages
#1 Posted: 5/26/2016 4:05:00 PM
#2 Posted: 5/26/2016 9:28:29 PM
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.
Alvaro.
#3 Posted: 5/26/2016 9:38:23 PM
#4 Posted: 5/27/2016 1:00:16 AM
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
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
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:
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:
QuoteL = 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
#7 Posted: 10/26/2016 9:10:27 AM
Jean, thank you for your efforts. You are showing everything one one screen, but try to imagine the following.
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.
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
WroteIn 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
#9 Posted: 10/26/2016 2:04:19 PM
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 .

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 .
#10 Posted: 10/27/2016 10:56:05 AM
WroteWroteIn 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

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
#12 Posted: 10/29/2016 12:11:54 AM
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
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
#14 Posted: 10/29/2016 9:31:59 AM
#15 Posted: 10/29/2016 9:55:20 AM
1 Pages (15 items)
-
New Posts
-
No New Posts