(b) [15 points] Two distances are required to specify the location of a point relative to an origin in two-dimensional s

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

(b) [15 points] Two distances are required to specify the location of a point relative to an origin in two-dimensional s

Post by answerhappygod »

B 15 Points Two Distances Are Required To Specify The Location Of A Point Relative To An Origin In Two Dimensional S 1
B 15 Points Two Distances Are Required To Specify The Location Of A Point Relative To An Origin In Two Dimensional S 1 (108.42 KiB) Viewed 43 times
(b) [15 points] Two distances are required to specify the location of a point relative to an origin in two-dimensional space (see figure): • The horizontal and vertical distances (1, y, z) in Cartesian coordinates. • The radius and angle (1, 0,6) in spherical coordinates It is relatively straightforward to compute Cartesian coordinates (1,9, 2) on the basis of polar coordinates (r,®). The reverse process is not so simple. The radius can be computed by the following formula r-V12 + y2 + 22 If the coordinates lie within the first and fourth coordinates (i.c., 1 >0, y > 0,2 > 0), then a simple formula can be used to compute e 8-cos -* (*) = tan y/) 2 Z (r, 0,0) X Write a well-structured M-file using if...elseif structures to calculate (r,8,4) as a function of (x,y,z). Express the coordinates for in degrees. Test your program by evaluating the following cases and finding the values of r, , and y (1,4,2)=(-1,1,-1),(1,3,2), (1, -2, -3),(-1,-3,-4)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply