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 Basile  
#1 Posted : 26 May 2016 22:05:00(UTC)
Basile


Rank: Advanced Member

Groups: Registered
Joined: 13/10/2010(UTC)
Posts: 172
Location: USA

Was thanked: 8 time(s) in 7 post(s)
Can I have this?
and preferably for longer formulas, the three steps under each other in three lines?
smath error 18.JPG

Thanks,
Basile

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

Offline Razonar  
#2 Posted : 27 May 2016 03:28:29(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
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.
Offline Jean Giraud  
#3 Posted : 27 May 2016 03:38:23(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... ?

Forum Unit Ohms.gif
Offline Basile  
#4 Posted : 27 May 2016 07:00:16(UTC)
Basile


Rank: Advanced Member

Groups: Registered
Joined: 13/10/2010(UTC)
Posts: 172
Location: USA

Was thanked: 8 time(s) in 7 post(s)
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
Offline Heezea  
#5 Posted : 25 October 2016 18:15:56(UTC)
Heezea

Rank: Newbie

Groups: Registered
Joined: 17/11/2015(UTC)
Posts: 3

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

Edited by user 25 October 2016 18:23:50(UTC)  | Reason: Not specified

Offline Jean Giraud  
#6 Posted : 26 October 2016 03:27:44(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Heezea Go to Quoted Post
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
Offline Heezea  
#7 Posted : 26 October 2016 15:10:27(UTC)
Heezea

Rank: Newbie

Groups: Registered
Joined: 17/11/2015(UTC)
Posts: 3

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.
Offline Davide Carpi  
#8 Posted : 26 October 2016 16:50:12(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: Heezea Go to Quoted Post
In short, my question still stands.
Can anyone advise if it would be feasible to write an extension to accomplish this?

Hello Heezea Offline ,

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

Edited by user 26 October 2016 16:58:05(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 26/10/2016(UTC)
Offline Jean Giraud  
#9 Posted : 26 October 2016 20:04:19(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
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
Offline kilele  
#10 Posted : 27 October 2016 16:56:05(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
Originally Posted by: Heezea Go to Quoted Post
In short, my question still stands.
Can anyone advise if it would be feasible to write an extension to accomplish this?

Hello Heezea Offline ,

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 agoGood there is a link on this post: http://en.smath.info/for...definition.aspx#post6545
Maybe this way could be possible, by having the user configure how an expression has to be expanded?
Offline Jean Giraud  
#11 Posted : 27 October 2016 18:51:36(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Forum CollectExpand.gif
Offline Basile  
#12 Posted : 29 October 2016 06:11:54(UTC)
Basile


Rank: Advanced Member

Groups: Registered
Joined: 13/10/2010(UTC)
Posts: 172
Location: USA

Was thanked: 8 time(s) in 7 post(s)
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
Offline Jean Giraud  
#13 Posted : 29 October 2016 15:24:25(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
"Evaluation of a formula with units"

Forum Proper Maths.gif
Offline Jean Giraud  
#14 Posted : 29 October 2016 15:31:59(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
"Evaluation of a formula with units"

Forum Proper Maths_1.gif
Offline Jean Giraud  
#15 Posted : 29 October 2016 15:55:20(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Forum Proper Maths_2.gif

That thread goes nowhere w/o productive demand.
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.