Alger

524 Reputation

18 Badges

15 years, 115 days

MaplePrimes Activity


These are replies submitted by Alger

@Markiyan Hirnyk 

Ok, thanks

@Markiyan Hirnyk 

Ok, thanks

Have you installed maple before matlab ?

When installing maple 15, it detect your matlab installation and ask you if you want to use maple toolbox

The simple way is to install matlab before maple

Have you installed maple before matlab ?

When installing maple 15, it detect your matlab installation and ask you if you want to use maple toolbox

The simple way is to install matlab before maple

Your procedure work well. With maple you can write a procedure with a more simple way using directly the formula like:

it := proc (a, b, f, n) local val; val := evalf((1/2)*(b-a)*(Sum(f(a+i*(b-a)/n)+f(a+(i+1)*(b-a)/n), i = 0 .. n-1))/n) end proc;

Your procedure work well. With maple you can write a procedure with a more simple way using directly the formula like:

it := proc (a, b, f, n) local val; val := evalf((1/2)*(b-a)*(Sum(f(a+i*(b-a)/n)+f(a+(i+1)*(b-a)/n), i = 0 .. n-1))/n) end proc;

@suddenman 

First:

Replace this line : bc := (D[1](u(x, t)))(0) = 0, (D[1](u(x, t)))(l) = 0, u(x, 0) = cos(2*Pi*x/l)

with bc:=D[1](u)(0,t)=0,D[1](u)(l,t)=0,u(x,0)=cos(2*Pi*x/l);

But there is problem in your boundary conditions which should be revised

@suddenman 

First:

Replace this line : bc := (D[1](u(x, t)))(0) = 0, (D[1](u(x, t)))(l) = 0, u(x, 0) = cos(2*Pi*x/l)

with bc:=D[1](u)(0,t)=0,D[1](u)(l,t)=0,u(x,0)=cos(2*Pi*x/l);

But there is problem in your boundary conditions which should be revised

Can you give example worksheet where you have error ?

Can you give example worksheet where you have error ?

To get a constant positif current, you should also reverse it

To get a constant positif current, you should also reverse it

@oostcoast 

You have two solutions with the function arctan which has two arguments seprated with comma.

@oostcoast 

You have two solutions with the function arctan which has two arguments seprated with comma.

Thanks, but it work only for text and not for variables and command (mod math) in expressions or equations

In Classic worksheet ok it work 

4 5 6 7 8 9 10 Last Page 6 of 17