Question: Write a general computer program (in C, C++ or Java) to convert a vector in one coordinate systems to a vector in another coordinate systems

Write a general computer program (in C, C++ or Java) to convert a vector in one coordinate systems to a vector in another coordinate systems e.g. Cartesian to cylindrical, cartesian to spherical; spherical to Cartesian, cylindrical to Cartesian system, cylindrical to spherical system, or spherical to cylindrical system) using matrix representation of the conversion at a given point. Using your computer program above, express a uniform field F = 2 xy^2a_rho + yx^2 a_z in cylindrical coordinates (a) to Cartesian Coordinates at P (1, 2, 1). and (b) from the above results in Cartesian to spherical coordinates at P (1, 2, 1) Write a general computer program (in C, C++ or Java) to convert a vector in one coordinate systems to a vector in another coordinate systems e.g. Cartesian to cylindrical, cartesian to spherical; spherical to Cartesian, cylindrical to Cartesian system, cylindrical to spherical system, or spherical to cylindrical system) using matrix representation of the conversion at a given point. Using your computer program above, express a uniform field F = 2 xy^2a_rho + yx^2 a_z in cylindrical coordinates (a) to Cartesian Coordinates at P (1, 2, 1). and (b) from the above results in Cartesian to spherical coordinates at P (1, 2, 1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
