Extra Credit #2

You may do any or all problems. All problems must be in a single *.m file. You may need additional files for functions or class definitions. Make a separate block in the code for each problem. Do not submit individual files for each problem.

Contents

Problem 1 (1 Point)

Ceate a 3D Ising model and show the time evolution by displaying spins using 'quiver3'.

Problem 2 (1 Point)

Create a class with a GUI that can display the 3D spatial probability distributions of the Hydrogen atom. The user should be able to select n,l,m. Consider using 'isosurface' and 'patch' to show constant density surfaces. Try changing the patch 'FaceAlpha' and 'EdgeAlpha' properties.

Problem 3 (1 Point)

Submit an *.m file showing how you used MATLAB to help solve a howework problem in one of your other classes this semester. In the comments, give the class information and homework due date. Credit requires clear annotation.