noob question - How to get intermediate formula - Messages
I want to write
b: = 4
a + b
click = and get
Is this possible?
Thks
WroteWroteHi, new to SMath and trying to figure how to get the formula with the variable values before the final result.
I want to writea: = 3
b: = 4
a + b
click = and geta + b = 3 + 4 = 7
Is this possible?
Thks
Not how you wanted in single line but possible.
Thks a lot, it will do.
Just my decimal values get displayed as fractions
b := 4.5
a + b = 7/2 + 9/2




WroteJust my decimal values get displayed as fractions
Evaluate Numeric.
WroteThks a lot, it will do.
Just my decimal values get displayed as fractionsa := 3.5
b := 4.5
a + b = 7/2 + 9/2
You can write variables inside simple functions with this method.
This is not a practical way to write variables inside complex functions.
And it does not look good too. Yet it is better than nothing.
You can write a + b with Ctrl+Shift+K.
WroteHi. This is another way.
intermediate_results.sm (14 KiB) downloaded 42 time(s).
Best regards.
Alvaro.
That looks exactly as I was looking for ... going to study it. Thks a lot, it will save me quite a bit of time.
it works perfectly well for initial formulas, but cannot find any way to use a previous result on a new one.
Cannot put all values in a single vals, the simbolic substitution will show in the second formula the formula (not the value) of the calculated value (ee).
Cannot either reuse names.
Any idea?
WroteAny idea?
I have an idea, if someone has better you can use it.
Rewrite expressions and hide them inside areas.
Configure page setup with "no areas".
When you save as pdf or print, it will show as continuous.
MySum.sm (8 KiB) downloaded 24 time(s).
But here is a humble suggestion.
SMath was not coded with intent to show intermediate results.
You are going to struggle very much with this approach.
Regards
sergio
Using
You can get
Hold.sm (9 KiB) downloaded 24 time(s).
or
Hold_v2.sm (9 KiB) downloaded 26 time(s).
Best regards.
Alvaro.
Wrote...
Just trying to figure out how to avoid too many decimals now![]()
![]()
Decimal places set to 4 everywhere![]()
Hi. Thanks! ... but ... not ... but thanks. That behavior seems to be a bug or an oversight: set the decimal places in the output of an expression with None Optimization.
In the meantime, this could be a workaround, but could be dangerous, because change the stored value. Actually I don't really recommend it.
Best regards.
Alvaro.
Wrote
Hi. Thanks! ... but ... not ... but thanks. That behavior seems to be a bug or an oversight: set the decimal places in the output of an expression with None Optimization.
In the meantime, this could be a workaround, but could be dangerous, because change the stored value. Actually I don't really recommend it.
Best regards.
Alvaro.
Ok, ok. Really it's a BIG THANKS.
:round(eval(... works perfectly well
:eval(round(... didn't.
WroteWrote
Hi. Thanks! ... but ... not ... but thanks. That behavior seems to be a bug or an oversight: set the decimal places in the output of an expression with None Optimization.
In the meantime, this could be a workaround, but could be dangerous, because change the stored value. Actually I don't really recommend it.
Best regards.
Alvaro.
Ok, ok. Really it's a BIG THANKS.
:round(eval(... works perfectly well
:eval(round(... didn't.
Another way...
WroteHello, John
I found no way to recover the symbolic Quaternion ?
Maple is not cracked for this demand ... Now, scratch your head.
Take care ... Jean.
Not related with OP's requests.
Wrote... used thefunction Clear ...
Regarding the "Clear (arg)" function, my question is: is it possible to write an analytic function in Smath that has the same purpose ?!
PS - If so, maybe the moderator should separate a new topic. I have not studied this issue very well. Many apologies.
WroteRegarding the "Clear (▪,▪,▪ ...)" function, my question is: is it possible to write an analytic function in Smath that has the same purpose ?!
That's what Clear(,) does ... Maybe I don't understand analytical ?
Cheers ... Jean.
Maths Clear.sm (16 KiB) downloaded 26 time(s).
-
New Posts
-
No New Posts