Show values

Show values - Messages

#1 Posted: 11/12/2021 12:00:18 PM
Beyaz

Beyaz

0 likes in 19 posts.

Group: User

Hello,

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.
#2 Posted: 11/12/2021 1:54:36 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

Hello,

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

2021-11-12_19-52.png
#3 Posted: 11/12/2021 2:12:07 PM
Beyaz

Beyaz

0 likes in 19 posts.

Group: User

Wrote

Wrote

Hello,

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

2021-11-12_19-52.png



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
#4 Posted: 11/12/2021 3:54:57 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. Something like this?

Filling.sm (6 KiB) downloaded 75 time(s).

img0.png

Best regards.
Alvaro.
#5 Posted: 11/12/2021 4:12:28 PM
Beyaz

Beyaz

0 likes in 19 posts.

Group: User

Wrote

Hi. Something like this?

Filling.sm (6 KiB) downloaded 75 time(s).

img0.png

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?
#6 Posted: 11/12/2021 4:20:13 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Use the oldest programmation technique: copy, paste and modify only few things. This other?

img0.png

show.sm (4 KiB) downloaded 85 time(s).

Best regards.
Alvaro.
#7 Posted: 11/12/2021 4:59:26 PM
Beyaz

Beyaz

0 likes in 19 posts.

Group: User

Wrote

Use the oldest programmation technique: copy, paste and modify only few things. This other?

img0.png

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
nebenrechnung.PNG.png
#8 Posted: 11/12/2021 9:23:36 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

--UPDATED

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).

2021-11-13_02-44.png
#9 Posted: 11/13/2021 2:49:53 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

A 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).

#10 Posted: 11/13/2021 3:43:01 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

Algo style for infinite use in-situ.

▲▲▲▲▲▲▲▲▲▲▲▲
Not related with topic and OP's request.
#11 Posted: 1/21/2022 8:52:45 AM
Eduardo Urbano

Eduardo Urbano

0 likes in 1 posts.

Group: User

Any update for this feature? Or a simple way to replicate them? Thanks a lot for this software, helping me so much
#12 Posted: 1/22/2022 10:17:57 AM
Teacher

Teacher

1 likes in 20 posts.

Group: User

Hi,

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
#13 Posted: 1/24/2022 7:43:02 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Hi,

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".

2022-01-24 11_02_57-SMath Solver - [ShowVals.sm_].png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
IVR 1/24/2022 4:13:00 PM
#14 Posted: 3/23/2022 5:07:03 AM
Dominik

Dominik

0 likes in 3 posts.

Group: User

I'm also looking forward to see such feature working.

For me, it's simply unworkable right now.

Program can make a lot of complicated math, but lacks simple functionalities.

But still, ist great program

Przechwytywanie.PNG
#15 Posted: 3/23/2022 3:21:16 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

For me, it's simply unworkable right now.


Are you asking function definition should be
"f(x)=ln(x) instead of most universal f(x):=ln(x)
Unit system is a sub-processor ... instruct wisely.

Definition.PNG

#16 Posted: 3/23/2022 5:30:17 PM
Dominik

Dominik

0 likes in 3 posts.

Group: User

Thank You for the answer. I appreciate that someone bothers my simple problems

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.
#17 Posted: 3/23/2022 7:27:45 PM

avscorreia

0 likes in 1 posts.

Group: User

Maybe Calcpad instead? (Calcpad.eu)

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
#18 Posted: 3/23/2022 8:11:45 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I 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.
#19 Posted: 3/24/2022 4:46:05 AM
Dominik

Dominik

0 likes in 3 posts.

Group: User

I've never heard of calcpad, I'll try it.

Thanks for answers!
#20 Posted: 5/6/2022 11:38:07 AM
Евгений

Евгений

0 likes in 1 posts.

Group: User

Хотел бы поддержать данное предложение. Очень часто необходимо контролировать какие значения присвоены переменным и какие значения подставляются в формулы. Буду очень признателен если такая возможность появится.
  • New Posts New Posts
  • No New Posts No New Posts