Question: PEE EEEE 1040 E1_21 22_January For X + O File | C:/Users/Mulham%20Abdelbasit/Desktop/20415715/EEEE1040-E1_21-22 January_Formatted-No-PW.pdf 3 of 4 Q + D AN e 3 EEEE1040-E1 3. Develop

 PEE EEEE 1040 E1_21 22_January For X + O File |

PEE EEEE 1040 E1_21 22_January For X + O File | C:/Users/Mulham%20Abdelbasit/Desktop/20415715/EEEE1040-E1_21-22 January_Formatted-No-PW.pdf 3 of 4 Q + D AN e 3 EEEE1040-E1 3. Develop a C program that prompts the user to enter two non-integer values. Assuming these to be x and y coordinates of a point in 2D space you are required to develop a SINGLE function external to main() which calculates and returns the polar coordinates r and theta () of the point (hint: you will need to return the values via the argument list). The calculated values are to be displayed in main() with a precision of two decimal places. The equations you require are given in Eq 3.1 & Eq 3.2. r = x2 + y2 Eq 3.1 A = atan - Eq 3.2 [20]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!