Huricane

80 Reputation

2 Badges

15 years, 34 days

MaplePrimes Activity


These are questions asked by Huricane

Hi !

Do you know how I can solve numerically a system of partial differential equation with Maple ? I've 3 variables : x,y,t and my system is :

EDP := [diff(s(x, y, t), t) = -.45*i(x, y, t)*s(x, y, t), diff(i(x, y, t), t) = .45*i(x, y, t)*s(x, y, t)-.2*i(x, y, t)-.7*(diff(i(x, y, t), x)+diff(i(x, y, t), y))]

f :=  1-g(x) ; g :=  piecewise(x = 20, .2, 0)
IBC := {s(0, y, t) = 1, s(x, y, 0) = f(x, y), i(x, y, 0) = g(x)}

 

Hi

I'd like to see the solutions of this system of differential equation with boundary conditions :

 

restart;
with(PDEtools);
EDP := diff(s(z), z) = -.45*i(z)*s(z), diff(i(z), z) = .45*i(z)*s(z)-.2*i(z)-.8*(diff(i(z), z));
IBC := s(100) = 1, (D(i))(100) = 0

 

But, when i do : dsolve({EDP, IBC}, numeric, range = 0 .. 100);

Hi!

I've a problem with maple. I wonder to see the visualisation of the solutions of a system of partial equations :

with(PDEtools);
EDP := [diff(s(x, y, t), t) = -.45*i(x, y, t)*s(x, y, t), diff(i(x, y, t), t) = .45*i(x, y, t)*s(x, y, t)-.2*i(x, y, t)-.7*(diff(i(x, y, t), x)+diff(i(x, y, t), y))];
IBC := {s(0, y, t) = 1, s(x, y, 0) = f(x, y), i(x, y, 0) = g(x)};
f := proc (x) options operator, arrow; 1-g(x) end proc; g := proc (x) options operator, arrow; piecewise(x = 20, .2, 0) end proc

 

But when I write :

Hi

 

I've to solve a EDP with boundary conditions with Maple :

EDP := [diff(u(x,t),t) = -0.35 diff(u(x,t),x)];
IBC := {u(x,0)=f(x), u(0,t)=u(10,t)};

(f is an function dirac of amplitude = 1. 0<x<10)

Hi

I'de like to see the solutions of the system of equations :

 

Page 1 of 1