Mikex

15 Reputation

3 Badges

5 years, 163 days

MaplePrimes Activity


These are questions asked by Mikex

I am trying to solve the pde:= (d/dt)^2v+(d/dx)^2v+v=0 with initial boundary conditions v=xexp(x^2)

I use pdsolve to get v but I wish to tell pdsolve to use a different numerical method because my output of v is coming out like a step function.

Everytime I try to run my for loops, all the code I wish to be iterated over has to be on the same line/paragraph as the original for statement. I also have to end the for loop on the same line/paragraph otherwise maple returns an error saying my for loop is unterminated?

Is there some tool I should be using to format my code that I'm not aware of?

My array is as such

A:=Array(1..N/2);

(Array A is then filled with values)

sum(A);

Then Maple outputs all the values of the Array and not the sum of them all? What am I doing wrong? Any help is appreciated.

Page 1 of 1