angle of inclination and radius

calculated theta and radius at rudimentary level. but need modifications