Question: Can pdsolve handles a procedure in the pde?

pdsolve is capable of numeric solution for a 1-D standing wave equation with a constant c:

diff(u(x, t), t, t) = c^2*diff(u(x, t), x, x)

In my problem, c is a function of lambda; both c and lambda has a common parameter H.  My problem has piecewise nonlinear function of c(H) and lambda(H) which cannot be reformulate as c(lambda) readily.  I therefore use a procedure based on fsolve to enter lambda and back out c.  In the example, I use piecewise linear function as demonstration.  I ran into a "(in fsolve) Can't handle expressions with typed procedures" error.

If I can overcome this, my input to the procedure also includes du/dx.  Can pdsolve handles such an equation?

Please Wait...