Physics homework help

Hi, i was wondering if it were possible to look at some Java code i am attempting to compile?