Info

This question is closed. Reopen it to edit or answer.

Matlab PDE boundry condition confusion.

1 view (last 30 days)
Stephen
Stephen on 10 Mar 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
i have a pde where i want to be able to manipulate variables to see how the function acts. The problem is that i don't know how to set boundry conditions or g=graph the square of the function. The function should be: (k is a constant)
DuDt = k*(DuDx)/Dx + (x^2)*u
with an initial condition:(b and s are constants)
u0=e^[(x-b)^2/s]
and boundary conditions
u(-5,t)=0 u(5,t)=0
any help would be very much appreciated

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!