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

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline riddler  
#1 Posted : 04 May 2009 14:27:37(UTC)
riddler

Rank: Newbie

Groups: Registered
Joined: 04/05/2009(UTC)
Posts: 3
Location: Germany

Hi there,

first of all thanks a lot for the awesome software.
It seems to be exactely what I was looking for, but I have a problem with a certain function I can use in MathCAD but can not find in SMath.

When I have a funktion of d and I would like to get the calculated results of that function for d being 0,100..1000

In MathCAD it would look like:

f(d)= blablabbla
d=0,100..1000
with the result be presented in a table

f=f(d=0)
f(d=100)
f(d=200)
...
f(d=1000)

A sample was linked in the forum already, but HERE it is again

Maybe somebody can help me.

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

Offline Andrey Ivashov  
#2 Posted : 04 May 2009 17:41:09(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)
Hello.
We're still working to implement Range function to SMath Studio. Hope, this work will be finished till next release.
Offline riddler  
#3 Posted : 04 May 2009 20:48:06(UTC)
riddler

Rank: Newbie

Groups: Registered
Joined: 04/05/2009(UTC)
Posts: 3
Location: Germany

Thanks for the answer - after a bit more forum browsing I found that I was not the first one who is missing the feature.

Anyway, I am trying to get a graph showing a function that depends another function, but I just do not get it to work.
Maybe somebody can help - because I do not want to spend any more hours in fiddling.

I have created a sample file which you can find HERE
Offline Andrey Ivashov  
#4 Posted : 04 May 2009 21:32:32(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)
I have downloaded your file and have opened it with SMath Studio 0.80. Here is screen:
Offline Andrey Ivashov  
#5 Posted : 04 May 2009 21:38:46(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)
I don't know what localization of the program you use, so in some cases you should use sh() instead of sinh(). Try to change this function. the second way: you can change options of the program to accept sinh():

And after you will change it you should recalculate page via main menu:
Offline jakobg  
#6 Posted : 05 May 2009 03:33:49(UTC)
jakobg


Rank: Member

Groups: Registered
Joined: 20/03/2009(UTC)
Posts: 21
Man
Location: Vienna, AUSTRIA

Hi Riddler,
I also tried your file and there are three problems I've found:

1. you need to define n1
2. to make T vs d you have to use the following syntax: T(d)=...sinh(y(d)) ... I tried this and it worked.
3. The function you intend to plot leads to 1/infinity (since sinh of a huge number is more or less infinity), and as you defined d has to be something the size of 10^-7 to keep values of T in a reasonable order of magnitude. But there is currently no possibility to define the plot borders so, actually it is impossible to plot this function!

--> @ smath:
I tried to use the limit tool but I wasn't able to derive lim d->1 T(d)=0 ?

Anyway, nice feature with the symbolic calculation in the tooltips!

Jakob
Offline riddler  
#7 Posted : 05 May 2009 13:48:00(UTC)
riddler

Rank: Newbie

Groups: Registered
Joined: 04/05/2009(UTC)
Posts: 3
Location: Germany

Hi Jakob,
thanks for the help.

jakobg wrote:

1. you need to define n1


I figured that out later, it was just a in the sample file - which I have made a bit simpler to show my problem a bit more clearly.

jakobg wrote:

2. to make T vs d you have to use the following syntax: T(d)=...sinh(y(d)) ... I tried this and it worked.


I have now added it, and it seem to work in deed. When writing T(value of d)= it gives a correct result.

jakobg wrote:

3. The function you intend to plot leads to 1/infinity (since sinh of a huge number is more or less infinity), and as you defined d has to be something the size of 10^-7 to keep values of T in a reasonable order of magnitude. But there is currently no possibility to define the plot borders so, actually it is impossible to plot this function!


That is the remaining problem. If one actually zooms in a lot, you can see, that it plots something, but since the values of d (x-axis) is extremely small - the plot is more or less useless.

I have uploaded the corrected file and you can find it under the link from my previous post. If anybody knows how to get a useful plot out of the data, my problems (for now) would be solved. Biggrinancing:
Offline jakobg  
#8 Posted : 05 May 2009 14:40:54(UTC)
jakobg


Rank: Member

Groups: Registered
Joined: 20/03/2009(UTC)
Posts: 21
Man
Location: Vienna, AUSTRIA

Hi,

a possibility I forgot yesterday is to scale the value of d. Try T(d)=...y(d/10^7), then you can plot he whole function and the x-Axis shows the Numbers 0 to 5 (times 10^-7).

Ciao
Users browsing this topic
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.