PYTHON 3
Section - III: Python Input/Output Definitions
Write a python file named "studentID_termproject.py" that includes three functions
"xyz2ell", "ell2xyz", and "decimal2dms". You should add the last 3 digits of your ID to every variable, but not to the function name! Do not call the function inside the script, only define it! Do not use the "input" or "print" function in these functions or the script!
3.1 Cartesian Coordinates to Ellipsoidal Coordinates
def xyz2ell(x, y, z):
This function converts 3D cartesian coordinates to ellipsoidal coordinates using GRs8o parameters.
Parameters: x, y, z
type: float
unit: meters
Return: latitude, longitude
type: float
unit: degree decimal
ellHeight
type: float
unit: meters
return latitude, longitude, ellHeight