C languageC SolutionChapter 2Programming

Q7 Write a program to receive Cartesian co-ordinates (x,y) of a point and convert them into polar co-ordinates(r,Φ).

Program: 65

Write a program to receive Cartesian co-ordinates (x,y) of a point and convert them into polar co-ordinates(r,Φ).

Output

 Enter the co-ordinate points (x, y): 1 1
 The polar co-ordinates of (1,1) is (1.414214, 0.785398)
 The polar co-ordinates in Degree: (1.414214, 45)

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.