Write lambda functions to replace dir2cart() and cart2dir(). Call them dir_cart and cart_dir
You measured a bedding plane with an azimuth of 40 and a plunge of 62. Use your function dir_cart() to convert the coordinates to cartesian coordinates.
Use your function cart_dir() to convert the cartesian coordinates back to polar coordinates
test your functions by calling the dir2cart() and cart2dir() functions in the lecture.