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

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
Offline Andrey Ivashov  
#1 Posted : 5 years ago
Andrey Ivashov


Rank: Administration

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

Was thanked: 2012 time(s) in 680 post(s)
SMath Studio - SMath
Created by SMath LLC in the scope of SMath project. Published by Andrey Ivashov.

This website uses cookies to enhance your browsing experience and provide personalized recommendations. By continuing to use our website, you agree to our Privacy Policy.

SMath Studio

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.

They trust us *

* Customers' names and logos are used with the written permission of the copyright holders.

They talk about us (all reviews...)

SMath Studio in publications (all publications...)

SMath Studio plug-ins (all plug-ins...)

The functionality of the program can be expanded through the installation of plug-ins created by third-party developers and companies, as well as those prepared by the SMath LLC team. Most plug-ins are open source and can be modified if necessary.

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 : 5 years ago
Andrey Ivashov


Rank: Administration

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

Was thanked: 2012 time(s) in 680 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 : 5 years ago
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,048
Germany

Was thanked: 1177 time(s) in 752 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 19 time(s).
equrep.png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath%20with%20Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 11/11/2019(UTC)
Offline mkraska  
#4 Posted : 5 years ago
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 2,048
Germany

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

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

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath%20with%20Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 11/11/2019(UTC)
Offline genf  
#5 Posted : 5 years ago
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 5 years ago  | Reason: Not specified

Offline Razonar  
#6 Posted : 5 years ago
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,533
Uruguay

Was thanked: 990 time(s) in 618 post(s)
Hi. An application for equrep: step by step derivatives.

Clipboard01.gif

D.sm (15kb) downloaded 40 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 : 5 years ago
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,533
Uruguay

Was thanked: 990 time(s) in 618 post(s)
Another.

Clipboard01.gif

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

Best regards.
Alvaro.

Edited by user 5 years ago  | Reason: Not specified

thanks 1 user thanked Razonar for this useful post.
on 14/11/2019(UTC)
Offline Jean Giraud  
#8 Posted : 5 years ago
Jean Giraud

Rank: Guest

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

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

isol.PNG
Offline Razonar  
#9 Posted : 5 years ago
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,533
Uruguay

Was thanked: 990 time(s) in 618 post(s)
And another: laplace transform in native smath.

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

Best regards.
Alvaro.
Offline ElSid  
#10 Posted : 5 years ago
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 : 5 years ago
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1408 time(s) in 916 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 : 5 years ago
Jean Giraud

Rank: Guest

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

Was thanked: 983 time(s) in 811 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 : 5 years ago
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 : 5 years ago
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 : 5 years ago
uni


Rank: Advanced Member

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

Was thanked: 1400 time(s) in 817 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 5 years ago  | Reason: Not specified

Russia ☭ forever (git.io/vOZo0)
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 : 5 years ago
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,533
Uruguay

Was thanked: 990 time(s) in 618 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 : 5 years ago
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 : 5 years ago
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,533
Uruguay

Was thanked: 990 time(s) in 618 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 : 5 years ago
Jean Giraud

Rank: Guest

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

Was thanked: 983 time(s) in 811 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 : 5 years ago
loha


Rank: Advanced Member

Groups: Registered
Joined: 13/09/2011(UTC)
Posts: 66
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
Guest
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.