Question
in haskell Draws a planet in an elliptical orbit based on Kepler's equation. drawOrbit' :: Float -- semi-major axis -> Float -- eccentricity -> Float
in haskell
Draws a planet in an elliptical orbit based on Kepler's equation.
drawOrbit' :: Float -- semi-major axis
-> Float -- eccentricity
-> Float -- period
-> Float -- time
-> Picture
drawOrbit' _ _ _ _ = blank
meanMotion :: Floating a
=> a -- period
-> a -- mean motion
meanMotion p = undefined
meanAnomaly :: Floating a
=> a -- mean motion
-> a -- time
-> a -- mean anomaly
meanAnomaly n t = undefined
eccentricAnomaly :: (Floating a, Ord a)
=> a -- eccentricity
-> a -- mean anomaly
-> a -- eccentric anomaly
eccentricAnomaly ecc ma = undefined
trueAnomaly :: (Floating a, Ord a)
=> a -- eccentricity
-> a -- eccentric anomaly
-> a -- true anomaly
trueAnomaly ecc ea = undefined
heliocentricDist :: Floating a
=> a -- semi-major axis
-> a -- eccentricity
-> a -- eccentric anomaly
-> a -- heliocentric distance
heliocentricDist a ecc ea = undefined
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started