Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages12>
Options
Go to last post Go to first unread
Offline Andrey Ivashov  
#1 Posted : 07 November 2019 18:48:52(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
SMath Studio - SMath
Created by SMath LLC in the scope of SMath project. Published by smath.

SMath Studio

SMath Studio box
 
 
 
 
 
 
 
 
 
 

Tiny, but powerful mathematical program with WYSIWYG editor and complete units of measurements support.

It provides numerous computing features and rich user interface translated into about 40 different languages. Application also contains integrated mathematical reference book.

Free for personal usage! Plans for Organizations are available!

Application can be easily extended based on your needs. Built-in Extensions Manager tool allows to get access to hundreds official and third-party resources of the following types: usage examples, plug-ins, SMath Viewer based applications, snippets, interface translations, interactive books, handbooks and tutorials.

You should definitely try and use SMath Studio. This “one-man” project is really awesome. I can state, with no doubt, that every Mathcad user will be rather surprised. more...

by Radovan Omorjan

Muy buena la aplicación. Ligera, potente y eficaz para lo que está diseñada. Es mi herramienta diaria para cálculos de Ingeniería Civil en Venezuela. more...

by Kenny Silva

Es un programa excelente y muy útil para la enseñanza y aprendizaje en ing. Civil. Muy recomendable!!! more...

by Wilson Rodríguez Calderón

thanks 5 users thanked Andrey Ivashov for this useful post.
on 07/11/2019(UTC),  on 07/11/2019(UTC),  on 07/11/2019(UTC),  on 07/11/2019(UTC),  on 08/11/2019(UTC)

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

Offline Andrey Ivashov  
#2 Posted : 07 November 2019 19:03:41(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
This time I've spent many time on improvements of symbolic engine to make it more safe and predictable.

To show some results I've made available equrep(3) function which is hidden from auto-completion list and other places. It demonstrates possibilities to manipulate with complex structure of different equations. I'm not sure if anyone interested in this function at all, but under the hood it is used almost for every calculation in the program.

This function has three arguments:
- First is a given equation (anything to manipulate with);
- Second is an input for manipulation rule;
- Third is an output of manipulation rule.

In other words it allows to apply some manipulation (described in two last arguments) to an equation (from the first argument).

Some examples:
equrep_2.png

equrep_3.png

equrep_1.png

Do not forget to set Optimization=None if you want to see exact result without any extra numeric or symbolic optimization.

Best regards.
thanks 3 users thanked Andrey Ivashov for this useful post.
on 07/11/2019(UTC),  on 08/11/2019(UTC),  on 08/11/2019(UTC)
Offline mkraska  
#3 Posted : 08 November 2019 13:37:32(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post

This function has three arguments:
- First is a given equation (anything to manipulate with);
- Second is an input for manipulation rule;
- Third is an output of manipulation rule.

In other words it allows to apply some manipulation (described in two last arguments) to an equation (from the first argument).


looks promising. Maybe, this might simplify restructuring of terms inside plugins.

As it seems, the function does not preprocess it's first argument. The definition of c isn't during the call of eqnrep when running the sheet step by step.

I see that the structure patterns should be unevaluated otherwise you would rely on having the variables therein being undefined in the sheet.
How about a function or a flag enforcing preprocessing?

equrep.sm (6kb) downloaded 18 time(s).
equrep.png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 11/11/2019(UTC)
Offline mkraska  
#4 Posted : 08 November 2019 14:31:03(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Actually an equrep function with preprocessing can be made:

equreppp.png equreppp.sm (18kb) downloaded 16 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 11/11/2019(UTC)
Offline genf  
#5 Posted : 08 November 2019 14:40:09(UTC)
genf


Rank: Advanced Member

Groups: Registered
Joined: 10/06/2013(UTC)
Posts: 50
Man
Russian Federation

Was thanked: 6 time(s) in 6 post(s)
С некоторых пор возникла проблема непечати некоторых элементов.
Расчеты делаю в Вашей программе, затем вывожу на печать в формат PNG и вставляю результат в Word.
Возникает проблема с блоками, отмеченных как "Запретить вычисление". Раньше над ними (в правом верхнем углу) был прямоугольник, сейчас они отмечены серым фоном. А с ним как раз и беда.
Что можно сделать?

На просмотре так:


На печати так:


Как видно не все блоки напечатаны, причем некоторые из нерасчетных были всё же напечатаны.

Ранее (когда не было фона) таких проблем не возникало.

Для печати использую виртуальный принтер pdf24.
Стандартный экспорт в PNG формат не делит на страницы, так бы им пользовался (там кстати проблем нет).



Пока вышел из ситуации с помощью скриншотов. Костыль конечно, но ничего не поделать.

Edited by user 08 November 2019 21:47:42(UTC)  | Reason: Not specified

Offline Razonar  
#6 Posted : 11 November 2019 13:10:22(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)
Hi. An application for equrep: step by step derivatives.

Clipboard01.gif

D.sm (15kb) downloaded 38 time(s).

Best regards.
Alvaro.
thanks 2 users thanked Razonar for this useful post.
on 11/11/2019(UTC),  on 14/11/2019(UTC)
Offline Razonar  
#7 Posted : 14 November 2019 10:04:00(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)
Another.

Clipboard01.gif

isol.sm (43kb) downloaded 42 time(s).

Best regards.
Alvaro.

Edited by user 14 November 2019 10:57:08(UTC)  | Reason: Not specified

thanks 1 user thanked Razonar for this useful post.
on 14/11/2019(UTC)
Offline Jean Giraud  
#8 Posted : 15 November 2019 01:55:59(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
I don't understand the maple fake [isol].
Already such a superb companion to Smath.

isol.PNG
Offline Razonar  
#9 Posted : 16 November 2019 07:58:14(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)
And another: laplace transform in native smath.

laplace.pdf (155kb) downloaded 33 time(s).
laplace.sm (85kb) downloaded 32 time(s).

Best regards.
Alvaro.
Offline ElSid  
#10 Posted : 21 November 2019 19:24:18(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
I don't understand the maple fake [isol].

I like native. I wish items like Writer Region would go native too.
Offline Davide Carpi  
#11 Posted : 21 November 2019 19:38:13(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: ElSid Go to Quoted Post
I wish items like Writer Region would go native too.


That's in the plans, but it requires some new things and some refactoring before this step. Good
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Jean Giraud  
#12 Posted : 21 November 2019 20:05:56(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: ElSid Go to Quoted Post
I like native.I wish items like Writer Region would go native too.

That means an extra icon in menu or special key.
Finally: did you manage your translucent background ?
Did you manage the *.PDF c/w the translucent like original ?
Offline ElSid  
#13 Posted : 21 November 2019 20:20:58(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
Alvaro or Jean,
When Isolating in either the snippet or Maple, is there a way to force the symbolic engine? I tried using after some of the variables were defined (Yes, I used CTRL+=) and they both work prior to variable assignments. The issue is that many times, we define the variables and further down the calculation shows the equation ... that I'd like to manipulate. I tried setting optimization to none and symbolic, both failed
Offline ElSid  
#14 Posted : 21 November 2019 20:24:24(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
That means an extra icon in menu or special key.
OK. Better documentation
Originally Posted by: Jean Giraud Go to Quoted Post
Finally: did you manage your translucent background ?
Yes
Originally Posted by: Jean Giraud Go to Quoted Post
Did you manage the *.PDF c/w the translucent like original ?
PNG and yes. The graphic I was sent had very rich colors, almost like the flowers in the example. It was hard to see the text/calculation

Offline uni  
#15 Posted : 21 November 2019 20:46:23(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
I don't understand the maple fake [isol]


It’s better to turn off optimization to see the native maple answer.

2019-11-21_22-45-48.png

Edited by user 21 November 2019 20:48:22(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 3 users thanked uni for this useful post.
on 21/11/2019(UTC),  on 21/11/2019(UTC),  on 21/11/2019(UTC)
Offline Razonar  
#16 Posted : 21 November 2019 20:58:49(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)
Originally Posted by: ElSid Go to Quoted Post
Alvaro or Jean,
When Isolating in either the snippet or Maple, is there a way to force the symbolic engine? I tried using after some of the variables were defined (Yes, I used CTRL+=) and they both work prior to variable assignments. The issue is that many times, we define the variables and further down the calculation shows the equation ... that I'd like to manipulate. I tried setting optimization to none and symbolic, both failed


Hi ElSid. I know that SMath carry the definitions instead the values, and with symbolics there are not an eval equivalent. But without an specific example, this is what I get

Clipboard01.gif

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 21/11/2019(UTC)
Offline ElSid  
#17 Posted : 21 November 2019 23:05:49(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
I forgot the screenshot due to a meeting!
The space between the equations has some variables "defined". Maybe what I'm looking for is a feature request. I have the same issue with Maple plugin.


Essentially, I'm transferring a hand calculation and wanted to show all the steps in order. It does not make sense to isolate and manipulate an equation that is not used for 3 pages ... it's out of sequence and out of context

This screenshot is valid for both optimization=symbolic and none
Isolate.PNG
Offline Razonar  
#18 Posted : 22 November 2019 00:22:44(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)
Originally Posted by: ElSid Go to Quoted Post
... Maybe what I'm looking for is a feature request. I have the same issue with Maple plugin. ...


Hi ElSid. I guess that what you want is the 'x:=x' mathcad feature, which hide the value of x for the symbolic processor, but not for the numeric one. This is a mathcad 11 screenshot

Clipboard01.gif

Best regards.
Alvaro.
Offline Jean Giraud  
#19 Posted : 22 November 2019 07:07:21(UTC)
Jean Giraud

Rank: Guest

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

Was thanked: 980 time(s) in 808 post(s)
± You mentioned 'Native Smath'
maple is not a plugin from Insert Menu,
rather resident from f(x) menu.
No need to scratch the right ear with the left hand.
Further: your stuff must be tracable/accepted/visible.

Solve Wisely.PNG
Offline loha  
#20 Posted : 04 September 2020 17:54:00(UTC)
loha


Rank: Advanced Member

Groups: Registered
Joined: 13/09/2011(UTC)
Posts: 63
Location: Kolkata

Was thanked: 9 time(s) in 9 post(s)
Hello Andrey and everyone,

I wonder if, since equrep(3) now gives access to smath's internal representation it should be possible to get this "engineering" way of writing equations, discussed in many posts since many years, like here: https://en.smath.com/for...umbers-in-equations.aspx

to summarise:

a:=2
b:=pi

p:=a*b ------------------- symbolic equation
=2*3.14 ----------- equation with variables replaced by their values (with control of their format, accuracy, etc.)
=6.28 -------------- numerical result

This is a numerical equivalent of the visual control that was available to civil engineers at the time of graphics statics. It gives an immediate feel of the magnitude of values, their accuracy and relevance for the result.

We can easily do as below:

a:=2
b:=3

p:=a*b ----------------------------- (definition)
equrep(p:=a*b,x,x)=2*3 ------------- (no optimisation)
equrep(p:=a*b,x,x)=6 --------------- (numeric optimisation)


and by not displaying input data:

p:=a*b
2*3
6

However the middle equation becomes unreadable as soon as we have values that are not round numbers, so we also need to control the format of the values of variables in the middle equation, and to insert some "=" in-between.

This is much beyond my ability!

If anyone had some idea how to do something close to that, that would help some structural engineers!

Thanks,
Laurent



Originally Posted by: Andrey Ivashov Go to Quoted Post
This time I've spent many time on improvements of symbolic engine to make it more safe and predictable.

To show some results I've made available equrep(3) function which is hidden from auto-completion list and other places. It demonstrates possibilities to manipulate with complex structure of different equations. I'm not sure if anyone interested in this function at all, but under the hood it is used almost for every calculation in the program.
Users browsing this topic
2 Pages12>
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.