Below is the equation I am trying to solve by Matlab
I need to get p variation with time,t, and distance,x. However, it gives only initial value of p.
I have attached the necessary files.
Can you please have a look and suggest methods for doing it wright