question: public static Vec2D fromDegrees2 ( double angleInDegrees , double magnitude ) { double x = magnitude * Math . sin ( angleInDegrees * Math . PI / 180 ) ; double y = magnitude * Math . cos ( angleInDegrees * Math . PI / 180 ) ; return new Vec2D ( x , y ) ; }
target:  Create a 2D Vector from an angle relative to the positive y-axis and a magnitude