Question: Heat equation with left end fixed flux and right end convection?

hello,I want to solve a quesstion about heat equation,that the quesstion like this:

I use the code like this

but the results is wrong obviously and what's wrong with this code?

anxious for your help,thanks.

 

 

Please Wait...