User Portlet User Portlet

Discussions
Hello I'm very new to using mathematica. Basically I was given a code and just have to see if I can get it to run. If someone could look over my code and tell me whats wrong with it and why I'm getting these errors that would be greatly apprecitated....