Question: Solving a QM periodic potential example


I've been trying to replicate an example described in a book called "Quantum Mechanics Using Maple" by M. Horbatsch, but at the end, when I'm using fsolve it returns 0. instead .500 .

I'm using Maple 18, but I think this book was written using Maple V. I don't know if the syntax changes are causing this. I'm very new to maple. Here's my worksheet ( and book section (qm_maple_periodic.pdf). Thanks in advance!

Please Wait...