Write a function to convert the two dimensional coordinates

Assignment Help C/C++ Programming
Reference no: EM13713122

Question- Write a function to convert the two dimensional coordinates of a point from Cartesian system to polar system by using x and y as its parameters, returning r and using references to pass theta value.

you have to consider the signs of the input x and y to EVALUATE the angle theta value, and displays it in degree.

r= srqt x^2+y^2 , theta = arctan (y/x)

Rationalize your answer by math, measurement or example, something convincing.

 

Reference no: EM13713122

Questions Cloud

Supported by bronze rod and aluminum rod : Rigid bar ABC is supported by bronze rod (1) and aluminum rod (2), as shown. A concentrated load P is applied to the free end of aluminum rod (3). Bronze rod (1) has an elastic modulus of E1 = 15,000 ksi and a diameter of d1 = 0.45 in. Aluminum rod (..
Determoine the impulse that acted on the soccer ball : A soccer ball has a mass of 0.40kg. Initially it is moving to the left at 20 m/s, but then it is kicked and given a velocity at 45o upward and to the right, with magnitude 30 m/s.
Find the impulse on the ball during its collision : You throws a ball with mass 0.40 kg against a brick wall. It hits the wall moving horizontally to the left at 30 m/s and rebounds horizontally to the right at 20 m/s. Find the impulse on the ball during its collision with the wall.
State the inductive hypothesis : Prove the given statement using mathematical induction - State the inductive hypothesis
Write a function to convert the two dimensional coordinates : Write a function to convert the two dimensional coordinates of a point from Cartesian system to polar system by using x and y as its parameters, returning r and using references to pass theta value.
Find the rockets velocity change during given time interval : At time t=0, a 2150-kg rocket in outer space fires an engine that exerts an increasing force on it in the +x-direction.  By how much does the rockets velocity change during this interval.
What is the output : What is the output - This one is complex and I don't know how to do it
Write a program that computes the amount of money : Write a program that computes the amount of money the computer club will receive from proceeds of their granola bar sales project.
Write a function to compute the volume of a cone : write a function to compute the volume of a cone by using the base radius r and the height h of the cone as the parameters of the function Vcone = xr^2h/3

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Produce a top-level design for your program

You are required to code the program using the C++ Programming Language. Your program should be properly laid out and should be modular, making sure that software engineering aspects of modularity and reusability as fully considered.

  Write the code to exchange the values of these two variables

Write the code to exchange the values of these two variables (so that after the swap xp points to what yp originally pointed to and vice-versa.

  Person class that includes fields for last name

Create a Person class that includes fields for last name, first name, and zip code. Include a default constructor that initializes last name, first name, and zip code to "X" if no arguments are supplied. Also include a display function. Write a ma..

  Program to compute surface area of sphere using function

Write down a program in C++ to compute surface area of sphere using a function. As sample run, write down the surface areas of spheres with radii.

  Build a table of reynolds numbers at flow velocities

Write a program code to compute and build a table of Reynolds numbers at flow velocities varying from 100 to 1000 ft/sec (at increments of 100)

  Computes the average of five exam scores

Write a program that calculates and prints the take-home pay for a commissioned sales employee and write a program that computes the average of five exam scores.

  Program that prompts the user to enter a test score

Write a complete C++ program that prompts the user to enter a test score. The test score must be greater than or equal to 0 and less than or equal to 100.

  Complete the 8 queens 2 dimensional array

Complete the 8 queens 2 dimensional array program with backtracking. please change the below program using backtracking  and please run before posting it . the program suppose to print 92 solution . amd also comment before each line to better unde..

  Write c program which has parent process and child process

Write a C program that has a parent process, a child process, and a grandchild process. The parent process should print its id and the square or 5.

  Create a program that draws a two-dimensional house

Create a program that draws a two-dimensional house seen from the front, the way a child would see it: with a door, two windows, and a roof with a chimney

  Write program in c to calculate diameter-compression load

Write a program in C to calculate diameter in centimeters of steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load.

  Compare run times using an array

Write a iterative and recursive versions of binary search and compare their run times using the array a[i]=i, i=0,...,n-1 and the subsequent test method:

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd