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

Notification

Icon
Error

23 Pages«<56789>»
Options
Go to last post Go to first unread
Offline omorr  
#121 Posted : 25 May 2013 00:33:52(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
First and second order ODE examples.



I do not know how to solve them in one step like. How to put sets - {} in the command?

>dsolve({D(y)(x)=x-y,y(0)=1},y(x))

Could someone give some help?

Regards,
Radovan
File Attachment(s):
ode1.sm (10kb) downloaded 61 time(s).
ode2.sm (14kb) downloaded 60 time(s).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline uni  
#122 Posted : 25 May 2013 02:54:08(UTC)
uni


Rank: Advanced Member

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

Was thanked: 1311 time(s) in 769 post(s)
Updated. The document can not be saved. I don't know why.

plot([`in`[1], `in`[2], t=0..2*Pi], color=blue );

plot3d( `in`, x=-5..5, y=-5..5, scaling=constrained, style=patch,
orientation=[40,50], grid=[50,50], color=gray, axes=frame,
lightmodel=`light4`, projection=`normal`, shading=zgrayscale );

implicitplot3d( `in`=0, x=-2..2, y=-2..2, z=-2..2, grid=[50,50,50], orientation=[20,60],
axes=frame, lightmodel=`light4`, projection=`normal`, style=patchnogrid);



F:=implicitplot3d( `in`[1]=0, x=-2..2, y=-2..2, z=-2..2, grid=[30,30,30],
style=patchnogrid ):

G:=plot3d(`in`[2], x=-2..2, y=-2..2, style=patch, color=white):

display({F,G}, orientation=[20,60], axes=box, lightmodel=`light2`,
projection=`normal`, labels=["X","Y","Z"], scaling=constrained,
tickmarks=[4,4,4] );




f(x;y;z)Sada^2*(x^2+y^2+z^2))^{-2}+(b^8*(x^8+y^8+z^8))^4-2

F:=implicitplot3d( `in`=0, x=-2.1..2.1, y=-2.1..2.1, z=-2.1..2.1,
grid=[50,50,50], style=patchnogrid ):

display({F}, orientation=[35,55], axes=box, lightmodel=`light4`,
projection=`normal`, labels=["X","Y","Z"], scaling=constrained,
tickmarks=[4,4,4] );

Edited by user 25 May 2013 08:22:58(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline uni  
#123 Posted : 25 May 2013 10:50:17(UTC)
uni


Rank: Advanced Member

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

Was thanked: 1311 time(s) in 769 post(s)
Originally Posted by: omorr Go to Quoted Post
I do not know how to solve them in one step like. How to put sets - {} in the command?

>dsolve({D(y)(x)=x-y,y(0)=1},y(x))

Could someone give some help?


Edited by user 25 May 2013 11:53:03(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline omorr  
#124 Posted : 25 May 2013 12:52:17(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Aha,...convert() was the magic word. Thank you Good
Strange, but this one was the only one successful



My other attempts in making plots and reproducing your pictures, issued an error about missing gif file in tmp folder. See the picture please



The problem of not saving pictures and SMat crash still remained.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline uni  
#125 Posted : 25 May 2013 13:08:25(UTC)
uni


Rank: Advanced Member

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

Was thanked: 1311 time(s) in 769 post(s)
Show me the log file: mvr5.txt.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline omorr  
#126 Posted : 25 May 2013 13:19:05(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Originally Posted by: uni Go to Quoted Post
Show me the log file: mvr5.txt.

Here it is. If you want me something in particular to try, just let me know.

Regards,
Radovan

File Attachment(s):
mvr5.txt (193kb) downloaded 43 time(s).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline omorr  
#127 Posted : 25 May 2013 13:40:59(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
This one is after deleting mvr5.txt and trying to make a parametric 3dplot

Edited by user 25 May 2013 13:42:45(UTC)  | Reason: Not specified

File Attachment(s):
mvr5.txt (3kb) downloaded 37 time(s).
omorr attached the following image(s):
3dplotparam.png
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline uni  
#128 Posted : 25 May 2013 13:59:09(UTC)
uni


Rank: Advanced Member

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

Was thanked: 1311 time(s) in 769 post(s)
Originally Posted by: omorr Go to Quoted Post
Originally Posted by: uni Go to Quoted Post
Show me the log file: mvr5.txt.

Here it is. If you want me something in particular to try, just let me know.

Regards,
Radovan

Radovan, you have to change the maple-commands for each graph. In your example these commands are set incorrectly. I specifically show the commands. They need to be inserted into the settings form, as showed above.

1) Try this:

a := plot( `in`, t=0..20, x=-1.5..1.5, scaling=unconstrained, style=line,
color=blue, axes=box, labels=["t","x(t) "]):

b := coordplot(rectangular, [0..20, -1.5..1.5], linestyle=[7,7],
color=[gray,gray]):

display([a,b]);

2) projection=`normal must be projection=`normal`

Edited by user 25 May 2013 14:11:28(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline omorr  
#129 Posted : 25 May 2013 15:04:10(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
I tried your suggestion (just copy/paste) and calculation take quite long (did not wait for it to finish). Just used the simple one, and it worked (the first picture). It is good enough for me Good .

Tried one of your examples, and typed carefully as much as I could. I did not see any mistake - but the plot did not appear (the second picture) Sad



Regards,
Radovan

Edited by user 25 May 2013 15:07:03(UTC)  | Reason: Not specified

File Attachment(s):
mvr5.txt (266kb) downloaded 32 time(s).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline uni  
#130 Posted : 25 May 2013 15:14:41(UTC)
uni


Rank: Advanced Member

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

Was thanked: 1311 time(s) in 769 post(s)
Try to add with(plots): to with.inc:
Quote:
with(linalg):with(inttrans):with(plots):
Russia ☭ forever
Viacheslav N. Mezentsev
Offline omorr  
#131 Posted : 25 May 2013 15:26:25(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Originally Posted by: uni Go to Quoted Post
Try to add with(plots): to with.inc:
Quote:
with(linalg):with(inttrans):with(plots):


It worked Good . What was the catch?
omorr attached the following image(s):
3dplot-implicit.png
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline omorr  
#132 Posted : 25 May 2013 19:26:54(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Nice Good



File Attachment(s):
ode2-boundary.sm (19kb) downloaded 70 time(s).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
thanks 1 user thanked omorr for this useful post.
on 26/05/2013(UTC)
Offline uni  
#133 Posted : 26 May 2013 02:40:31(UTC)
uni


Rank: Advanced Member

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

Was thanked: 1311 time(s) in 769 post(s)
MaplePlot updated. Small imprоvements.

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 26/05/2013(UTC)
Offline omorr  
#134 Posted : 26 May 2013 09:59:31(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Just to confirm. The EMPTY PLOT is now working fine. No crash of SMath at the plot inserting Good


When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline sija  
#135 Posted : 26 May 2013 11:20:20(UTC)
sija


Rank: Advanced Member

Groups: Registered
Joined: 19/04/2013(UTC)
Posts: 46
Man
Poland
Location: Podkarpackie, Poland

Was thanked: 7 time(s) in 7 post(s)
Hello,

Heartily please for the prompt, how to check in Maple that two expressions are to themselves equal. For example whether the expression under variable a is such alone as the expression under variable b?

Regards,
Janusz
Offline omorr  
#136 Posted : 26 May 2013 13:26:32(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Originally Posted by: sija Go to Quoted Post
Heartily please for the prompt, how to check in Maple that two expressions are to themselves equal. For example whether the expression under variable a is such alone as the expression under variable b?

I do not use maple to much (it is interesting and a fun using it in SMathGood ) , and someone else might give you a better solution - but this should work

e1Sada^2-1)*1/sqrt(a)

e2Sadb-1)*(b+1)/sqrt(Cool

maple(simplify(subs(a≡b,e1)-e2))=0

Regards,
Radoavn
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline sija  
#137 Posted : 26 May 2013 14:32:54(UTC)
sija


Rank: Advanced Member

Groups: Registered
Joined: 19/04/2013(UTC)
Posts: 46
Man
Poland
Location: Podkarpackie, Poland

Was thanked: 7 time(s) in 7 post(s)
Hi Radoavn,

Thank you, interesting solution, will try out it.

Regards,
Janusz
Offline uni  
#138 Posted : 27 May 2013 08:10:51(UTC)
uni


Rank: Advanced Member

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

Was thanked: 1311 time(s) in 769 post(s)
Updated. Still can't save region.



File Attachment(s):
MaplePlot. Example 8.sm (5kb) downloaded 78 time(s).
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 27/05/2013(UTC)
Offline mkraska  
#139 Posted : 27 May 2013 09:22:01(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 1153 time(s) in 739 post(s)
Thanks for the update.

I have still trouble with the basics. Example 2 does not work.

Here is what the log file says:


There are empty tmp files in the tmp dir:
tmp59BF.tmp
tmp5A0F.tmp
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline uni  
#140 Posted : 27 May 2013 10:07:10(UTC)
uni


Rank: Advanced Member

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

Was thanked: 1311 time(s) in 769 post(s)
In your example:
`in`Sadx^2+y^2+z^2)-1

but expected:

sys(el(`in`;1);el(`in`;2);2;1):sys((x^2+y^2+z^2)-1;0;2;1)

we get: `in`[1]="" , `in`[2]="" - empty values (because it is not a system) and `in`=(x^2+y^2+z^2)-1 (but is missing in script)

Must be:




Quote:
There are empty tmp files in the tmp dir:
tmp59BF.tmp
tmp5A0F.tmp
This is normal.

Edited by user 27 May 2013 10:11:12(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 27/05/2013(UTC)
Users browsing this topic
Guest
23 Pages«<56789>»
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.