//Exa 1.9 clc; clear; close; // given : p=[1,2,3] // coordinates of point p x=1 // x coordinate of P y=2 // y coordinate of P z=3 // z coordinate of P rho=sqrt(x^2+y^2) //radius of cylinder in m phi=atand(y/x) // azimuthal angle in degrees z=3 // in m disp(rho,"radius of cylinder in m:") disp(phi,"azimuthal angle in degrees:") disp(z,"z coordinate in Degrees:")