/** * Author: Josiah Yoder et al. * User: yoder * Class: SE1011-011 * Date: 10/17/13 8:28 AM * Lesson: Week 6, Day 1 */ public class Example051_6_3 { /* * This is a scratch-paper method */ public static void main(String[] ignored) { Complex051_6_3 c = new Complex051_6_3(); Complex051_6_3 c2 = new Complex051_6_3(); Complex051_6_3 c3 = new Complex051_6_3(); // We have not implemented these yet. c3 = c.add(c2); c3 = c.subtract(c2); c3 = c.multiply(c2); c3 = c.divide(c2); // We have not implemented these yet. // How would you put them in the UML diagram? c.dance(); // :-) c3 = c.pow(c2); c.radicalArgument(); c.radicalMagnitude(); c.magnitude(); // alternative name for radical magnitude } }