Problem 46548. Convert Cylindrical Cooridinates into Spherical Coordinate

Solution 3137771

Submitted on 9 Oct 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
rho=5 fie=12*pi/18 z=1 y_correct = [5.099,2.199,2.094]; assert(isequal(your_fcn_name(rho,fie,z),y_correct))

rho = 5 fie = 2.0944 z = 1 ans = 5.0990 78.6900 2.0940

Assertion failed.

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!