Fzero solves for roots of the input function

Assignment Help Mechanical Engineering
Reference no: EM13945760

In the early 17th century Johannes Kepler developed the equation, now often referred to as kepler's equation for the solution of the mean anomaly (M) of a planet in an elliptical orbit as a function of it's eccentricity (e) and it's eccentric anomaly (E).

E - e*sin[E] = M

If you are interested in exactly what this equation represents please feel free to look deeper into orbital mechanics. Curtis's Orbital Mechanics for Engineers is an excellent place to start. For this assignement however the important thing to notice is that given E and e, solving for M is quite trivial. Given M and e, solving for E can prove quite difficult. In fact this problem is considered transcendental, meaning E can not be represented as a finite set of algebraic terms of e and M. As such this problem is almost always solved using some numerical method.

For this assignment I would like you create a function called kepler which solves the kepler equation for E given e and M (your function should accept M and e as inputs, and return E). The actual solution should be performed using the MATLAB built in function fzero() to solve the following form of Kepler's equation:

0 = E - e*sin[E] – M

We use this form because fzero solves for roots of the input function. Recall that fzero() is a function function, and that it that it expects that the function argument which you pass it will only accept one argument. This means that fzero(f(x)) is acceptable, but fzero(f(x,y)) is not. As such you might have to use the shared workspace property of nested functions to your advantage to complete this assignment.

Please plot E vs. M for e of values [0 0.25 0.5 0.75 1]. Please include all 5 curves in 1 figure axis. Please label axis and include a legend.

Reference no: EM13945760

Questions Cloud

Group and discuss the type of leadership style : what type of group do you think would be the most challenging to lead and why? Be specific in your discussion of the group and discuss the type of leadership style that would be needed. Make sure to properly cite your sources and reference your ci..
What will be the company profits or losses : What will be the company's profits or losses? How can you tell at a glance whether the company is making or losing money at this price just by looking at average cost?
Key differences between information systems and technologies : Next, compare and contrast the key differences between information systems and information technologies. Discuss one to two (1-2) ways in which a company uses management information systems in order to increase organizational efficiency and produc..
The conventional diagnosis of the persistence of poverty : The conventional diagnosis of the persistence of poverty has pointed to shortfalls in education and skills, lack of opportunity, lack of capital, discrimination, and in the Third World, imperialism are all inadequate, according to Lawrence Harrison (..
Fzero solves for roots of the input function : We use this form because fzero solves for roots of the input function. Recall that fzero() is a function function, and that it that it expects that the function argument which you pass it will only accept one argument. This means that fzero(f(x)) is ..
Challenges facing group leaders : Topic: You have been reading about dealing with conflict in group. You viewed conflict in the Corey et al. DVD and discussed the leader's role in conflict in the workbook.
Calculate the initial tax and the additional tax : Calculate the initial tax for 2013, 2014, and 2015. Calculate the additional tax for 2016.
Why is it important to limit global temperature changes : Over 190 countries met in December 2015 at the United Nations Framework Convention on Climate Change (UNFCCC) 21st Conference of the Parties (COP 21) in Paris with the aim of establishing a new global agreement on climate change. Why is it importa..
Describe a government intervention to treat the problem : Consider the following cases of government intervention: regulations to limit air pollution, income support for the poor, and price regulation of a telephone monopoly. For each case, explain the market failure, describe a government intervention t..

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Find the time forwheel c

The angular speed of wheelA is increased from restat a constant rate of 1.6 rad/s2 . Find the time forwheel C to reach the rotational speed of 100rev/min assuming the belt doesn't slip.

  A freshwater jet boat takes in water through side vents and

a freshwater jet boat takes in water through side vents and ejects it through a nozzle of diameter d75 mm the jet speed

  Calculate the heat transfered to the air

Air is isothermally and reversibly compressed in a piston-cylinder device from an initial volume of 1.00 L and initial pressure of 100 kPa to a final volume of 0.100 L.

  Design a single pass shell and tube type heat exchanger

Design a single pass shell and tube type heat exchanger which requires mh = 25 kg/s with Th,i = 30 C and mc = 75 kg/s with Tc,i = 20 C. What heat transfer rate is obtained using 150 2 m tubes (ID = 16 mm and OD = 19 mm with kw = 400 W/mK).

  Find the compression ratio

Find the compression ratio, cutoff ratio, the thermal efficiency, the mean effective pressure, and the P -v and T-s diagrams clearly showing all corners.

  Determine which dislocation segment moves

An L shaped edge dislocation ABC in a crystal is shown in Figure below. The stresses acting on the crystal are also shown. Determine which dislocation segment moves and which dislocation segment does not move. What will be the shape of the crystal..

  Determine the magnitude of the acceleration of the child

a child a is swinging from a swing that is attached to a trolley that is free to move along a fixed rail. letting l

  Feature differences between forged parts and casted parts

List the feature differences between forged parts and casted parts. Why is control of the volume of the blank important in closed-die forging? Why are there so many types of forging machines available? Describe the capabilities and limitations of eac..

  Neglecting potential energy effects and assuming ideal gas

air is heated at steady state as it flows through a constant area duct. at the inlet the pressure is 2.8 bar the

  What exactly is shaft power for a wind turbine what would

jon has decided to install a wind turbine at the top of the ridge. assume the wind velocity is hitting the turbine at a

  Determine the force in member of the loaded truss assume

determine the force in member of the loaded truss. assume that the four external reactions at and are equal in

  Find the acceleration of p then if a braking deceleration

a point p starts from rest and accelerates uniformly to a speed of 88ftsec after travelling 130 ft. find the

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd