Evaluation of a formula with units

Evaluation of a formula with units - Сообщения

#1 Опубликовано: 26.05.2016 16:05:00
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: 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 Опубликовано: 26.05.2016 21:28:29
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 Опубликовано: 26.05.2016 21:38:23
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... ?

Forum Unit Ohms.gif
#4 Опубликовано: 27.05.2016 01:00:16
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: 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 Опубликовано: 25.10.2016 12:15:56

Heezea

0 сообщений из 4 понравились пользователям.

Группа: 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:
Цитата

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 Опубликовано: 25.10.2016 21:27:44
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 26.10.2016 09:10:27

Heezea

0 сообщений из 4 понравились пользователям.

Группа: User

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

Цитата


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 Опубликовано: 26.10.2016 10:50:12
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: 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 пользователям понравился этот пост
26.10.2016 13:21:00
#9 Опубликовано: 26.10.2016 14:04:19
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 27.10.2016 10:56:05
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: 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 Опубликовано: 27.10.2016 12:51:36
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Forum CollectExpand.gif
#12 Опубликовано: 29.10.2016 00:11:54
Basile

Basile

8 сообщений из 172 понравились пользователям.

Группа: 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 Опубликовано: 29.10.2016 09:24:25
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

"Evaluation of a formula with units"

Forum Proper Maths.gif
#14 Опубликовано: 29.10.2016 09:31:59
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

"Evaluation of a formula with units"

Forum Proper Maths_1.gif
#15 Опубликовано: 29.10.2016 09:55:20
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Forum Proper Maths_2.gif

That thread goes nowhere w/o productive demand.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений