MATLAB Implementation:  Method of Shells

The MATLAB M-file, shellmethod.m, provides a utility that gives visualization of steps
 of the method of shells for several examples.

Download the file -->  shellmethod.m

Download the auxiliary routine -->  addaxes.m

The animation below illustrates the action of the M-file.