Maple Tools - Symbolic engine for SMath Studio. - Сообщения
r:=`::r`: # r-radius of the small circle
N:=`::N`: # N-number of frames of animation
A:=plot([R*cos(t),R*sin(t),t=0..2*Pi],color=blue,thickness=2):
B:=seq(plottools[disk]([(R-r)*cos(2*Pi*k/N),(R-r)*sin(2*Pi*k/N)],r,
color=yellow),k=1..N):
C:=seq(plottools[disk]([(R-r)*cos(2*Pi*k/N)+r*cos(2*Pi*k/N-R*2*Pi*k/r/N),
(R-r)*sin(2*Pi*k/N)+r*sin(2*Pi*k/N-R*2*Pi*k/r/N)],r/15,color=red),k=1..N):
F:=seq(plot([(R-r)*cos(t)+r*cos(t-R*t/r),(R-r)*sin(t)+r*sin(t-R*t/r),
t=0..2*Pi*k/N],x=-R..R,y=-R..R,color=red,thickness=2),k=1..N):
for k from 1 to N do E[k]:=plots[display](A,C[k],B[k],F[k]); od:
plots[display]([seq(E[k],k=1..N)],insequence=true,scaling=constrained,
view=[-R-1..R+1,-R-1..R+1]);



325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator

I've noted the "Export" button was added (maybe it was here but I missed it). This can be used to save the plot in the GIF format, animated or not, like the SMath's base plots.
I suppose copying the plots from one worksheet to another will be fixed as well as soon as the plot saving fix will work.
Regards,
Radovan
Thank you for the new version of MapleWrapper plugin. This is really impressive to have so beautiful tool like your plugin in SMath Studio. Once again thank you heartily.
Regards,
Janusz
I know how to dissolve one differential equation of the any degree using MapleWrapper plugin. But how to dissolve the system of ODE using MapleWrapper, this unfortunately I do not know. Please for the help.
I tried in different ways to reach the result, however ineffective.

From above heartily thank you for your help.
Regards,
Janusz
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
WroteHello,
I know how to dissolve one differential equation of the any degree using MapleWrapper plugin. But how to dissolve the system of ODE using MapleWrapper, this unfortunately I do not know. Please for the help.
I tried in different ways to reach the result, however ineffective.![]()
From above heartily thank you for your help.
Regards,
Janusz
I am not quite sure this was correctly solved using Maple
Regards,
Radovan
odesystem.sm (9 КиБ) скачан 162 раз(а).
Thank you for these examples. I think that I know already where I made mistakes. Thank you also for your kind - already several times you helped me.
Regards,
Janusz
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator

And do not hesitate to ask, as I always do
Regards,
Radovan
Make calculations in MapleWrapper must be record the tangent function as: "tan" what it is visible on the first picture. To closing of the file and his repeated opening SMath Studio changes the function tanges from the record: "tan" - required through MapleWrapper, on "tg", and in the this moment MapleWrapper cannot make calculations because it has implemented the tangent function as "tan" and not "tg" as in SMath Studio in the this moment - look the second picture. Well would be to standardize this mark of the tangent function in MapleWrapper and SMath Studio.
Regards,
Janusz
Before save:
After open:
The names of the trigonometric functions depends on the settings of the program. I consider them.
Thank you for explanations and the council.
Regards,
Janusz
This is very instructive and surprising

Regards,
Janusz
Please for the explanation why I receive two different results as this is visible on the example below:
Regards,
Janusz
Where is the error.sm (7 КиБ) скачан 144 раз(а).
Thank you for the explanation. The first time I meet with such by chance.
Regards,
Janusz
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator

It seems Maple is working fine, but, unfortunately, MaplePlot can not produce a plot for me. There are still "empty" plots there, in spite of inserting the plotting text inside them

I hope I did not do something wrong.
Regards,
Radovan
mvr5.txt (8 КиБ) скачан 136 раз(а).

WroteThere is no error. This behavior depends on the relative positions of the expressions on the sheet. When you put the definition of x above of a function call, the variable x in the expression solver becomes zero.
Hello,
Right now I noticed, that the power in the calculation of the value t (0) at the end of your sheet is positive. From here the conclusion: there is the error because the value t(0) have to be zero. The value x equal zero is given at the end because here I pass to numerical calculations.
If I am wrong please for the explanation.
Regards,
Janusz
07.06.2013 23:02:12 [->] solve({(0=(77/10000*ln({((77/10000+772893421/100000000000000*t*715*cos({(Pi/4)}))/77/10000)}))/772893421/100000000000000)},t)
07.06.2013 23:02:12 [->] C:\Temp\tmp1B5E.tmp:
interface(quiet=true);
with(linalg):with(inttrans):with(plots):
writeto("C:\\Temp\\tmp1B5F.tmp"):
smath_line := proc() local i: for i from 1 to nargs - 2 do args[i]; od: end:
smath_sum := proc() if nargs = 1 then sum( args[1] ); elif nargs = 2 then sum( args[1], args[2] ); elif nargs = 4 then sum( args[1], args[2] = args[3] .. args[4] ); fi: end:
smath_product:= proc() if nargs = 1 then product( args[1] ); elif nargs = 2 then product( args[1], args[2] ); elif nargs = 4 then product( args[1], args[2] = args[3] .. args[4] ); fi: end:
smath_int := proc() if nargs = 2 then int( args[1], args[2] ); elif nargs = 4 then int( args[1], args[2] = args[3] .. args[4] ); fi: end:
smath_diff := proc() if nargs = 2 then diff( args[1], args[2] ); elif nargs = 3 then diff( args[1], args[2] $ args[3] ); fi: end:
smath_sys := proc() { args[i] $ i = 1 .. nargs - 2 }; end:
smath_el := proc() args[1][ args[2] ]; end:
smath_mat := proc()
local i, j, out:
out := [ args[j] $ j = 1 .. args[ nargs ] ]:
for i from 2 to args[ nargs - 1 ] do
out := out, [ args[j] $ j = ( i - 1 ) * args[ nargs ] + 1 .. ( i - 1 ) * args[ nargs ] + args[ nargs ] ]:
od:
convert( [ out ], array );
end:
smath_submatrix := proc() submatrix( args[1], args[2] .. args[3], args[4] .. args[5] ); end:
ans := \
solve(((0=(77/10000*ln((((77/10000+772893421/100000000000000*t*715*cos\
(((Pi/4))))/77/10000))))/772893421/100000000000000)),t):
if ( whattype( ans ) = `exprseq` ) then
convert( convert( cat( `mat(`, substring( convert( [ans], string ), 2..-2 ), `,`, nops( [ans] ), `,1)` ), string ), symbol );
elif ( whattype( ans ) = `set` ) then
convert( convert( cat(`mat(`,substring(convert(map2(op,2,[ans[i]$i=1..nops(ans)]),string),2..-2),`,`,nops(ans),`,1)`), string ), symbol );
elif ( whattype( ans ) = `symbol` ) then
convert( convert( eval( ans ), string ), symbol );
elif ( whattype( ans ) = `series` ) then
convert( convert( ans, polynom) , symbol );
elif ( whattype( ans ) = `string` ) then
convert( ans, symbol );
else
convert( convert( ans, string ), symbol ); fi;
quit:
07.06.2013 23:02:12 [<-] C:\Temp\tmp1B5F.tmp:
1399999986000000000/10047614473*2^(1/2)
07.06.2013 23:02:12 [<-] 1399999986000000000/10047614473*2^(1/2)
As you can see: solve({(0=, but you expected solve({(x=. That's the difference. The solve() function solves another equation.
-
Новые сообщения
-
Нет новых сообщений