Question: Answer should be in matlab coding please This activity uses a 3rd party app. Though your activity may be recorded, a refresh may be required

 Answer should be in matlab coding please This activity uses a
3rd party app. Though your activity may be recorded, a refresh mayAnswer should be in matlab coding please

This activity uses a 3rd party app. Though your activity may be recorded, a refresh may be required to update the banner to the left. Calculating gear ratios for an orrery. An orrery is a mechanical model of the solar system. Gear ratios approximate the ratio of orbital periods for various planets and accurate ratios are necessary to build an accurate orrery. The numerator and denominator of the rational approximation corresponds to the number of teeth in the two gears that model the corresponding orbits. Calculate the ratio approximation of planet1Period and planet2Period within ratio Tolerance Assign the numerator to approxNum and denominator to approxDen. Ex: If planet1Period is 1 (orbital period of Earth in years) and planet2Period is 1.881 (orbital period of Mars in years), then approxNum is 8 and approxDen is 15 Your Solution H Save C Reset MATLAB Documentation 1 function lapproxNum approx Denl GearRatio( planet 1Period, planet 2Period, ratioTolerance 2 GearRatio: Return numerator and denominator of gear ratio that 3 approximates the ratio of the inputs period1/period2 within the 4 input tolerance 5 Inputs plane Period, planet2Period input periods 6 ratio Tolerance required accuracy of approximation 8 Outputs approxNum, approxDen numerator and denominator of gear ratio 11 Calculate the ratio approximation of planet1Period planet2Period within ratio Tolerance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!