Show values

Show values - Сообщения

#1 Опубликовано: 12.11.2021 12:00:18
Beyaz

Beyaz

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

Группа: 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 Опубликовано: 12.11.2021 13:54:36
overlord

overlord

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

Группа: 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 Опубликовано: 12.11.2021 14:12:07
Beyaz

Beyaz

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

Группа: 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 Опубликовано: 12.11.2021 15:54:57
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Hi. Something like this?

Filling.sm (6 КиБ) скачан 76 раз(а).

img0.png

Best regards.
Alvaro.
#5 Опубликовано: 12.11.2021 16:12:28
Beyaz

Beyaz

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

Группа: User

Wrote

Hi. Something like this?

Filling.sm (6 КиБ) скачан 76 раз(а).

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 Опубликовано: 12.11.2021 16:20:13
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

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

img0.png

show.sm (4 КиБ) скачан 86 раз(а).

Best regards.
Alvaro.
#7 Опубликовано: 12.11.2021 16:59:26
Beyaz

Beyaz

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

Группа: User

Wrote

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

img0.png

show.sm (4 КиБ) скачан 86 раз(а).

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 Опубликовано: 12.11.2021 21:23:36
overlord

overlord

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

Группа: 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 КиБ) скачан 126 раз(а).

2021-11-13_02-44.png
#9 Опубликовано: 13.11.2021 14:49:53
Jean Giraud

Jean Giraud

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

Группа: 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 КиБ) скачан 86 раз(а).

#10 Опубликовано: 13.11.2021 15:43:01
overlord

overlord

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

Группа: Moderator

Wrote

Algo style for infinite use in-situ.

▲▲▲▲▲▲▲▲▲▲▲▲
Not related with topic and OP's request.
#11 Опубликовано: 21.01.2022 08:52:45
Eduardo Urbano

Eduardo Urbano

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

Группа: User

Any update for this feature? Or a simple way to replicate them? Thanks a lot for this software, helping me so much
#12 Опубликовано: 22.01.2022 10:17:57
Teacher

Teacher

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

Группа: 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 Опубликовано: 24.01.2022 07:43:02
Martin Kraska

Martin Kraska

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

Группа: 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 пользователям понравился этот пост
IVR 24.01.2022 16:13:00
#14 Опубликовано: 23.03.2022 05:07:03
Dominik

Dominik

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

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

Jean Giraud

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

Группа: 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 Опубликовано: 23.03.2022 17:30:17
Dominik

Dominik

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

Группа: 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 Опубликовано: 23.03.2022 19:27:45

avscorreia

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

Группа: 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 Опубликовано: 23.03.2022 20:11:45
Jean Giraud

Jean Giraud

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

Группа: 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 Опубликовано: 24.03.2022 04:46:05
Dominik

Dominik

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

Группа: User

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

Thanks for answers!
#20 Опубликовано: 06.05.2022 11:38:07
Евгений

Евгений

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

Группа: User

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