偙傟傑偱偺妛廗傪傕偲偵丄偝傑偞傑側傾僯儊乕僔儑儞傪嶌惉偟偰傒傑偟傚偆丅
1. 攇偺揱攄
>with(plots):
>animate(sin(x-t),x=0..4*Pi,t=0..10) |
>animate(tanh(x-t),x=-20..20,t=0..25)
(恑峴攇夝偺僔儈儏儗乕僔儑儞)
>animate([r*cos(r-t),r*sin(r-t),r=0..6*Pi],t=0..10,numpoints=100,scaling=constrained) 乮夞揮偡傞傜偣傫偺僔儈儏儗乕僔儑儞乯
|
>animate(2*sech(x-4*t)2,x=-25..25,t=-5..5
,numpoints=200)
乮僜儕僩儞夝(k=1偺応崌乯偺僔儈儏儗乕僔儑儞)
>v:=(x,t)->1+exp(2*x-8*t)+exp(x-t)+9*exp(2*x-8*t+2*x-t)/16 >u:=(x,t)->2*diff(log(v(x,t)),x,x) >animate(u(x,t),x=-30..30,t=-6..6,numpoints=200) (2僜儕僩儞夝(c=d=k=1,h=1/2偺応崌)偺僔儈儏儗乕僔儑儞乯
|
>with(plots): >animatecurve([t-sin(t), 1-cos(t), t = 0 .. 2*Pi], scaling = constrained, frames = 16) (僒僀僋儘僀僪傪昤偔乯
>animate([cos(s)+t, sin(s)+1, s = 0 .. 2*Pi], t = 0 .. 2*Pi, scaling = constrained) (夞揮偡傞墌偺僔儈儏儗乕僔儑儞乯
>animate([s*(t-sin(t))+(1-s)*t, s*(1-cos(t))+1-s, s = 0 .. 1], t = 0 .. 2*Pi, scaling = constrained) (摦宎偺僔儈儏儗乕僔儑儞乯
>display({%, %%, %%%}) |
>with(plots):
>dsolve({diff(s(t), t, t) = -sin(s(t)), s(0) = 0, (D(s))(0) = .8}, numeric, output = listprocedure); >odeplot(%, [sin(s(t)), -cos(s(t))], t = 0 .. 30, style = point, frames = 100, scaling = constrained) |
[惓夝椺]