Dennis J. Darland Practice in Programming ASUS Development Computer - Ubuntu 14.04 Starting Mon May 21 21:14:50 CDT 2018 Finished Mon May 21 21:14:50 CDT 2018 Ruby output Chapter 2 Problem 5 a = 4.0i + -3.0j + 0.0k b = 6.0i + 8.0j + 0.0k c = 10.0i + 5.0j + 0.0k d = 2.0i + 11.0j + 0.0k e = -2.0i + -11.0j + 0.0k magnitude of a = 5.0 magnitude of b = 10.0 magnitude of c = 11.180339887498949 magnitude of d = 11.180339887498949 magnitude of e = 11.180339887498949 direction of a in radians = -0.6435011087932844 direction of b in radians = 0.9272952180016122 direction of c in radians = 0.4636476090008061 direction of d in radians = 1.3909428270024184 direction of e in radians = -1.750649826587375 direction of a in degrees = -36.86989764584402 direction of b in degrees = 53.13010235415598 direction of c in degrees = 26.56505117707799 direction of d in degrees = 79.69515353123397 direction of e in degrees = -100.30484646876603