Queries in SMath Studio

Queries in SMath Studio - Сообщения

#21 Опубликовано: 13.11.2011 02:06:21
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote

I often come up against the "Results is above the max positive number". What is the allowable max positive number and can this be changed?


The result is above the maximal positive number your computer can store in its memory (double precision number - arround 10^308). That means that your calculation is wrong or you divided a very big number by a very small one, say 10^200/10^-200.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#22 Опубликовано: 13.11.2011 22:34:26
Edward Ulle

Edward Ulle

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

Группа: Moderator

This message sometimes happens when Optimization is set to Symbolic.

Try this. Go to the menu and under Calculation -> Optimization change to Numeric.
Ed
1 пользователям понравился этот пост
Radovan Omorjan 14.11.2011 02:08:00
#23 Опубликовано: 22.11.2011 07:52:53
Optusprime

Optusprime

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

Группа: User

Hello all,

A few more queries using SMath, the questions are as follows:

Q1. Have I defined the function in the simpliest form in SMath Studio?
or is there a simple way?

Q2. I know points can be plotted on the graph, but what other options do we have? Specifically:
- Can we plot the grapth from e.g. -1 to +1 on y axis and -2 to +1.5 on x axis?
- Can we modify the x and y axis labels or add labels?

I have uploaded the SMath Studio file with the queries and maths already set up.

I would really appreciate some advice, thanks.

SMath Studio File
#24 Опубликовано: 22.11.2011 16:56:16
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Wrote


Q1. Have I defined the function in the simpliest form in SMath Studio?
or is there a simple way?


Do not quite understand this question. If it suits you and the calculation is as expected - it is Ok then.
Wrote


Q2. I know points can be plotted on the graph, but what other options do we have? Specifically:
- Can we plot the grapth from e.g. -1 to +1 on y axis and -2 to +1.5 on x axis?
- Can we modify the x and y axis labels or add labels?


I am afraid it is not possible at the moment. We hope that this will be improved in the next versions.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#25 Опубликовано: 27.11.2011 14:05:41
Optusprime

Optusprime

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

Группа: User

Is there anyway of having a superscript and subscript on the same symbol. x.ij^e

Hope that makes sense

P.S. how do you post smath code directly to the forum post?

Thanks.
#26 Опубликовано: 27.11.2011 16:28:28
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote

Is there anyway of having a superscript and subscript on the same symbol. x.ij^e


No, there is not. You can have literate subscript (using dot) but no superscripts in the variable names.
Wrote


P.S. how do you post smath code directly to the forum post?


You can see this when trying to "quote" some post with SMath code. They include MATH tags. See these tags under (BB/) in the formating toolbar for posts. Yo will find there the {MATH)math expression(/MATH) tag. Put it in the post and than copy the SMath expression in the place of "math expression" - in between the starting and ending tag. If you use english regional settings ( dot for decimal separator, comma for separating function arguments ) place "=eng" to the math tag, ie. first tag should be (MATH=eng). Before posting, it is advisory to preview the post first.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#27 Опубликовано: 29.11.2011 07:21:34
Optusprime

Optusprime

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

Группа: User

Thanks Radovan,

Is there anyway of exporting the SMath Studio equations to Word or Word equation editor? If not, then is there anyway of obtaining the "code" version of the equation to be used in something like LaTex?

Thanks
#28 Опубликовано: 29.11.2011 11:17:52
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote

Is there anyway of exporting the SMath Studio equations to Word or Word equation editor? If not, then is there anyway of obtaining the "code" version of the equation to be used in something like LaTex?


As far as I know, there is no such possibility at the moment. You can only export the worksheet via File=>Save as... option. There you can save in the HTML format, for instance, and import to, say, Word. This way you can not obtain any "code" version because the regions are saved as pictures (png). You can save the worksheet in picture format as well (png,bmp,gif,jpg).

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#29 Опубликовано: 30.11.2011 05:15:11
Optusprime

Optusprime

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

Группа: User

Ok thanks Radovan, this would be really useful for future releases. I am not sure how easy it is to do, having a quick check I am not even sure that this can be in MathCAD.
#30 Опубликовано: 30.11.2011 06:09:00
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote

... I am not even sure that this can be in MathCAD.


As far as I know, you can not do that even in Mathcad. There was a free MathParser but, unfortunately, its development has been discontinued.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#31 Опубликовано: 11.12.2011 11:47:01
Optusprime

Optusprime

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

Группа: User

Hi,

If I try to compute the abs value of two number which have units assigned to them, I get an error message saying "Operation cannot be performed with units". Can this not be done in SMath, or am I doing something wrong?

Also, I noticed that if you plot a graph sometimes "graphically" it seems that some lines of the graph are missing if you zoom out too far. Is there any way around this? Perhaps we could thicken the lines.

Thanks and keep up the fantastic work!
#32 Опубликовано: 11.12.2011 13:46:37
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote

If I try to compute the abs value of two number which have units assigned to them, I get an error message saying "Operation cannot be performed with units". Can this not be done in SMath, or am I doing something wrong?


There is no to much sense to allow using, say, sin(something) where "something" has units. Applying some function like sin(), cos(), log() or similar to the values with units hardly can be justified.
Wrote

Also, I noticed that if you plot a graph sometimes "graphically" it seems that some lines of the graph are missing if you zoom out too far. Is there any way around this? Perhaps we could thicken the lines.


Do not know why is this happening but I suppose this is due to the calculations behind the plot control. Hope that this will improved in the next releases.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#33 Опубликовано: 20.12.2011 23:42:59
Optusprime

Optusprime

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

Группа: User

Hi,

Is there anyway to embed files into SMath Studio, i.e. Object -> insert -> file and have an icon inside the Smath Studio worksheet which opens the full document (embedded into the Smath Studio worksheet) when double clicked.

If not, perhaps you may an idea of a work around? Thanks.
#34 Опубликовано: 21.12.2011 02:09:16
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote

Is there anyway to embed files into SMath Studio, i.e. Object -> insert -> file and have an icon inside the Smath Studio worksheet which opens the full document (embedded into the Smath Studio worksheet) when double clicked.


In the most recent version v0.89.8 there is a so called "Snippet manager" (Tools|Snippet Manager) applied. You can save any *.sm file into the dedicated "snippets" folder "..\SMath\SMath Studio\snippets" . After that you can insert this file inside some other file with Snippet Manager. By default, it is inserted as "Area" region.

You can see the full inserted document by clicking on "+" of the Area region. Try to insert the existing "Evaluation in Degrees" or "Evaluation in Grads" and play with it.

You can make your own snippet from a SMath file by saving it into the snippets folder. If you put the shortcut for the file (File|Properties , File attributes , Snippet Shortcut) the snippet can be inserted via Dynamic assistance.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#35 Опубликовано: 21.12.2011 03:15:26
Optusprime

Optusprime

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

Группа: User

Ok, thanks I will play with it. So there isn't anyway of adding another file. e.g. .xls or .doc file with the user can double click and it will open the file?

Also, I have read some posts regarding graphs and not sure if the graph plot automatically resizes itself so the plot if shown or do we need to manually scroll through to view the plot?

Thanks
#36 Опубликовано: 21.12.2011 04:21:31
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote

So there isn't anyway of adding another file. e.g. .xls or .doc file with the user can double click and it will open the file?


I do not think there is a way to embed files like .xls or .doc
Wrote

Also, I have read some posts regarding graphs and not sure if the graph plot automatically resizes itself so the plot if shown or do we need to manually scroll through to view the plot?


I think there is no automatic resizing of plots. We just have to resize (rescale) it in the way we need.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений