next up previous
Up: Back to the Chemistry 3730 assignment index

Chemistry 3730 assignment 10 solutions

The potential is


> V := x -> A*abs(x);

displaymath309



The trial wavefunction is

> phi := x -> exp(-b*x^2);

displaymath310



where b is the variational parameter. Maple will need to know that b is positive:

> assume(b>0);


The variational energy is tex2html_wrap_inline327 . Since tex2html_wrap_inline329 , the numerator of this expression is tex2html_wrap_inline331 . We'll compute these terms one at a time:

> Kip := int(phi(x)*(-hbar^2/(2*m))*diff(phi(x),x$2),
  x=-infinity..infinity);

displaymath311

> Vip := int(phi(x)*V(x)*phi(x),x=-infinity..infinity);

displaymath312

> ip := int(phi(x)^2,x=-infinity..infinity);

displaymath313

> Evar := (Kip+Vip)/ip;

displaymath314



To find the best value of b, we minimize the variational energy:


> s1:=solve(diff(Evar,b)=0,b);

eqnarray89



The complex solutions are artifacts. Therefore b is the first solution returned above.

> assign(b=s1[1]);
> simplify(b);

displaymath315



Now use the hints:


> assume(A>0); assume(hbar>0); assume(m>0);


The variational energy is then

> simplify(Evar);

displaymath316



The normalization factor is


> simplify(1/sqrt(ip));

displaymath317





Marc Roussel
Fri Nov 21 21:21:46 MST 1997