I will provide a text file of a series of coordinates in (x,y,z) format. This is like the Cartesian plane (x,y), but with a third dimension. Your task is to create a set of code that will do the following things:
1. Read in the contents of the text file to a table, with headers as given in the file.
2. Make the following things the body of a loop:
a. One that will convert an (x,y,z) into cylindrical coordinates (r,θ,z)
b. One that will convert an (x,y,z) into spherical coordinates (p,θ,φ)
3. Using some kind of loop, use this procedure to populate either a matrix or array that contains the
converted values (cylindricals separate from sphericals)
4. After the loop has completed, write each of those arrays/matrices to a separate .csv file.
21 pekerja bebas membida secara purata $63 untuk pekerjaan ini
Hi, I have completed projects in R and Mathematics. This one looks like a very simple project about coordinate conversion. Please message for further discussion.
Dear ! I'm ready for your Job this is owner able for me I'm work for you and complete it in professional way. Looking forward with you. Regards: Theata Solution