Show values - Messages
A plugin that make possible to put values into the variables will be great. E.g
A=1, b=2
C=a/b=1/2=0.5 it should possible to put the values into a and b.
WroteHello,
A plugin that make possible to put values into the variables will be great. E.g
A=1, b=2
C=a/b=1/2=0.5 it should possible to put the values into a and b.
This request can be achieved on a basic level.
Not available with inline numerical results though.
When optimization set to none, variables are shown.
Regards
WroteWroteHello,
A plugin that make possible to put values into the variables will be great. E.g
A=1, b=2
C=a/b=1/2=0.5 it should possible to put the values into a and b.
This request can be achieved on a basic level.
Not available with inline numerical results though.
When optimization set to none, variables are shown.
Regards
Sorry, request was not explained good enough because of me English.
I wanna after for each formula the formula with the values. A second example.
C=0.5*A + A+A/B after equal it should not show me only the result instead that should be shown
C=0.5*A + A+A/B=0.5*1 + 1+1/2
And after a second equal then it should show me the result
C=0.5*A + A+A/B=0.5*1 + 1+1/2=2
WroteHi. Something like this?
Filling.sm (6 KiB) downloaded 75 time(s).
Best regards.
Alvaro.
yea, somthing like that. but this is very unusefull because its complicated to use or i dont know how to use it.
if there are an plugin where i can write me formula and when I make e.g. two equls == then it should show me the values like your example and when I make just one euqal then it should show me the result.
its something like that possible?
show.sm (4 KiB) downloaded 85 time(s).
Best regards.
Alvaro.
WroteUse the oldest programmation technique: copy, paste and modify only few things. This other?
show.sm (4 KiB) downloaded 85 time(s).
Best regards.
Alvaro.
I wanna write a math script contain a lof of sheets with a log of formula that should looks fine and compact.
Til now I always write everything two times. Once with variables and the second one with the values but it tskes to much time.
It should like this.
I can spend money to smath if there can release a mini plugin
Maybe this works for you.
You have to manually enter expression for show function.
And manually define input units and output units.
And click Display Input Data to hide function section.
At least it shows everything in one line.
Regards
ShowVals.sm (14 KiB) downloaded 125 time(s).
WroteA plugin that make possible to put values into the variables will be great
Algo style for infinite use in-situ.
Algo(x,y,u,v,code).sm (6 KiB) downloaded 85 time(s).
▲▲▲▲▲▲▲▲▲▲▲▲WroteAlgo style for infinite use in-situ.
Not related with topic and OP's request.
I think what Beyaz is looking for is an "new equal-sign" which just replaces the variables given in a formula by the values and (the input) units of the variables, without calculating the result.
In the same row it should than be possible to use a regular equal-sign to calculate the result. That's the way my pupils are doing their calculations manually :d
I would be glad if there would be such a feature, because often my pupils forget to define new values an than former definitions of the variables are used within one sheet, which leeds into wrong results. So it would be a great way to control calculations!
Great Idee, I think that this should be very easy to be implemented within thd main code without a plugin!
I hope, and pray and beg that this could be useful for more people an this feature finds its way in future releases

WroteHi,
I think what Beyaz is looking for is an "new equal-sign" which just replaces the variables given in a formula by the values and (the input) units of the variables, without calculating the result.
In the same row it should than be possible to use a regular equal-sign to calculate the result. That's the way my pupils are doing their calculations manually :d
I would be glad if there would be such a feature, because often my pupils forget to define new values an than former definitions of the variables are used within one sheet, which leeds into wrong results. So it would be a great way to control calculations!
Great Idee, I think that this should be very easy to be implemented within thd main code without a plugin!
I hope, and pray and beg that this could be useful for more people an this feature finds its way in future releases
Yes, I agree that display of a formula with substituted but non-simplified input values along with simplified result in the same row would be a valuable feature.
Current limitation:
1. you can't even store input in non-simplified way, the least you have to accept is that units are converted to base units.
2. you can't display non-simplified and simplified result in the same math region.
In paperwork, display of substitutions with both original input units and with converted units makes sense, as you want to check correct conversion separately from correct substitution. In SMath Studio, this holds true for temperature units and angular velocities, where a lot of problems arise from wrong assumptions on conversion behaviour.
So, a step-by-step display would involve
1. display of the formula with substituted input values with original units (not possible currently)
2. display of the formula with substituted input values with converted units
3. display of the result
The first limitation could be overcome by modifying the behaviour of definitions with optimization "none" to verbatim storage, which includes keeping the units untouched.
Probably, storing everything in base units might be a design decision of the developer with a lot of side effects if changed.
Yet, verbatim storage of the input is the critical point here. If that is not implemented, there is no chance to recover the input units in later display whatever equal signs you might invent.
So for now, the best you can get is display of step 2 and 3 in separate regions.
This requires the input definitions and the region for step 2 being in optimization mode "none" and step 3 "numeric".

Right, that's my fault in the example that i've given.
But still, at my work it's nescessary to have a good looking schema.
I need the equation that shows Nd = 58,2MNm / 4,71m = 12,36MN, but not Nd = (58,2MNm / 4,71m)/1000000N 'MN = 12,36MN
In construction engeneering there are (almost) only simple equations. But a lot of simple equations. And these equations have to be checked by someone else and must look good that another person could check them quickly.
So unfortunately i'll stay with my work by MS Excel which also isn\t perfect for such tasks.
Try inserting the following code in the IDE online editor (https://calcpad.eu/Ide):
M_d,max = 58.2kNm
z = 4.71m
N_d = M_d,max/z
WroteI need the equation that shows Nd = 58,2MNm / 4,71m = 12,36MN, but not Nd = (58,2MNm / 4,71m)/1000000N 'MN = 12,36MN
That's what I explained, ie: unit system is a sub-processor.
At this point, you depend upon make it respond.
Thanks for answers!

-
New Posts
-
No New Posts