Question: Not sure how to do these Ubunto problems. Someone please help Compose a program that writes the coordinates of a random point (a, b, c)

Not sure how to do these Ubunto problems. Someone please help
Compose a program that writes the coordinates of a random point (a, b, c) on the surface of a sphere. To generate such a point, use Marsaglia's method: Start by picking a random point (x, y) in the unit disk using the method described at the end of this section. Then, set a to 2 x squareroot (1 - x^2 - y^2), b to 2 squareroot (1 - x^2 -y^2), and c to 1 - 2 (x^2 + y^2). Exponential function. Assume that x is a float. Compose a program that uses the Taylor series expansion to assign e^x = 1 + x + x^2/2! + x^3/3! + ... to total
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
