Queries in SMath Studio

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

#1 Опубликовано: 21.10.2011 22:23:17
Optusprime

Optusprime

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

Группа: User

Hello all,

1. Is there any way of changing the x and y axis label for plots in the latest SMath Studio version 0.89 Build 8? i.e. changing the x to 'q' for example.

2. I am trying to plot the normal distribtuion curve in SMath Studio, can this be achieved, if so how? I have the equation similar equation 1 defined at the following link.

http://mathworld.wolfram.com/NormalDistribution.html

3. How can I add a table of x and y data and then plot this onto a plot?

Thanks
#2 Опубликовано: 22.10.2011 02:37:10
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote


1. Is there any way of changing the x and y axis label for plots in the latest SMath Studio version 0.89 Build 8? i.e. changing the x to 'q' for example.

2. I am trying to plot the normal distribtuion curve in SMath Studio, can this be achieved, if so how? I have the equation similar equation 1 defined at the following link.

http://mathworld.wolfram.com/NormalDistribution.html

3. How can I add a table of x and y data and then plot this onto a plot?


See the Examples page under Statistics section,

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

Optusprime

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

Группа: User

Thanks Radovan,

Also, is there anyway of showing the answer to a calculation in 'mm' instead of 'm' for example? Thanks.
#4 Опубликовано: 25.10.2011 22:29:02
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote

Also, is there anyway of showing the answer to a calculation in 'mm' instead of 'm' for example?


Yes of course. For instance, just see the video examples prepared by Prof. G.Urroz, like this one - Units in SMath

Regards,
Radovan


When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#5 Опубликовано: 27.10.2011 21:47:35
Optusprime

Optusprime

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

Группа: User

Fantastic! Thank you.

Also, there any way of automatically producing a list of Nomenclature which we can type next to and define each defined variable. i.e. at the beginning of the worksheet. This would be really useful.

Thanks
#6 Опубликовано: 29.10.2011 00:09:13
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,

Wrote

Also, there any way of automatically producing a list of Nomenclature which we can type next to and define each defined variable. i.e. at the beginning of the worksheet. This would be really useful.


Did not understand this, sorry. Could you be more specific, please.

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

Optusprime

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

Группа: User

For example, if add the following to the SMath Studio sheet:

g:=9.81

Then SMath Studio would automatically at the top of the screen write:

"g is 'YOU TYPE HERE'"

and you type 'gravitational force'

Then if you define another variable:

s:=10

Then SMath Studio would automatically at the top of the screen write:

"g is gravitational force"
"s is 'YOU TYPE HERE'"

If for example you try to define 'g' again, SMath Studio would tell you:

"Sorry you already defined 'g' which is the 'gravitational force'

etc...

This would be fantasic, I don't even think MathCAD currently does this. I hope that makes more sense. Thanks. I look forward to hearing from you.
#8 Опубликовано: 04.11.2011 01:47:13
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,

Actually, you already have that list in the form of "Dynamic assistance". Whenever you start typing you will have the list of all defined names starting with the letter(s) you typed. In SMath you can define with the name, say, "g" many different things - numerical variable, symbolical variable, functions with the same name but different number of arguments, there is a predefined unit etc. Moreover, you can redefine the variables, functions etc. whenever you want. Just type "g" in the empty worksheet area and the Dynamic assistance will give you all the defined things from the top of the worksheet up to that place. You can browse the list with up-down arrows and the definition of that item will be shown to the right. If you want to describe what a particular item represents I think that the text region directly in the worksheet at the place of definition is quite good enough.

I hope this might be the answer to your question.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#9 Опубликовано: 04.11.2011 17:04:50
Optusprime

Optusprime

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

Группа: User

Thanks Radovan,

Does SMath currently deal with erf (Error functions with the Guassian distribution such as http://en.wikipedia.org/wiki/Error_function), I could not find this in the manual? I did a simple check and it seemed to, but didn't know if it had been validated in the software. Thanks.
#10 Опубликовано: 04.11.2011 20:17:39
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,

No, there is no erf() in SMath at the moment (as far as I know), but you can define it by yourself. Moreover, there is a plugin you can download Mathcad EFI plugin. There are many special functions there (bessel, different integral functions etc.)

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

Optusprime

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

Группа: User

How can I add more lines on the "multiple values" option (the default it 2), as I need to add more than two sets of data in a 2D plot. I could not find this in the manual. Thanks.
#12 Опубликовано: 07.11.2011 14:16:08
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,
Wrote

How can I add more lines on the "multiple values" option (the default it 2), as I need to add more than two sets of data in a 2D plot.


Similar like as with matrices. Just click into it, press [SPACE] and when you see the little black square in the lower right corner, just stretch it down with the left mouse. You will get additional placeholders. See the picture please:

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

Optusprime

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

Группа: User

Thanks again Radovan.
#14 Опубликовано: 08.11.2011 07:33:28
Optusprime

Optusprime

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

Группа: User

Hi,

I have a query regarding evaluating an integral algebraically and showing this in SMath Studio. I have uploaded a file with my query and would really appreciate some help.

https://files.warwick.ac.uk/muratali/files/Integration_query.sm

I would really like to take some time to collate all your input onto one SMath Studio sheet to help others who have similar queries in the future.

Thanks
#15 Опубликовано: 08.11.2011 13:29:34
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,

Unfortunately, this can not be made in SMath. In SMath there is only numerical integration applied, not symbolical (algebraical). You have to reformulate your problem in order to get the numerical result.

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

Optusprime

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

Группа: User

ok thanks Radovan, do you know any programmes that would do this? i.e. Maple or Mathematica? Thanks.
#17 Опубликовано: 08.11.2011 15:14:08
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Wrote

ok thanks Radovan, do you know any programmes that would do this? i.e. Maple or Mathematica? Thanks.


Try with WolframAlpha. You can find lots of interesting things there.

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

Optusprime

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

Группа: User

I am not sure why in this SMath Studio example the plot can only be plotted when "f1(x)" is placed in the plot place holder. I can understand why "f1(z)" does not work as the plot is y against x, but how does the plot know that my plot refers to "f1(z)"? I hope that makes sense.

https://files.warwick.ac.uk/muratali/files/Optusprime-Example.sm

#19 Опубликовано: 11.11.2011 02:38:37
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Hello,

When you plot a 2D plot giving a function than the independent variable must have the name x. When you plot a 3D plot then independent variables must have the names x and y. In your case, you have the function f1(z) and you must put in the plot f1(x). Plot "knows" what to plot regarding the function name and arguments. I hope that would be more clear to you if I say that you can also plot your f(z,mu, sigma) function from your file, but you must put f(x,mu,sigma) in the plot. In SMath you can have the functions with the same name as long as they differ in number of arguments. Therefore, you could have in you file f(z):=f(z,mu,sigma) and plot f(x).

I hope this helped.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#20 Опубликовано: 13.11.2011 00:49:51
Optusprime

Optusprime

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

Группа: User

Hi,

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?

Thanks
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений