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

  An electric field is e400nci for xgt0 and e-400nci for xlt0

an electric field is e400nci for xgt0 and e-400nci for xlt0. a cylinder of length 30cm and radius 10cm has its center

  Show that maximum stored kinetic energy per unit mass of

for a spinning solid circular disk of radius a and constant thickness the maximum stresses occur at thenbspcenter of

  Determine the maximum fiber volume ratio vf that can be

the fibers of a carbonepoxy composite are 8 micrometers in diameter and are coated with a 1 micrometer thick epoxy

  Calculate the vorticity component in the circumferential

Consider fully developed axisymmetric Poiseuille flow-flow in a round pipe of radius R (diameter D = 2R),with a forced pressure gradient dP/dx driving the flow

  Spontaneous emission dominates for frequencies

Show that at room temperature ( T = 300 K) thermal stimulation dominates for frequencies well below 5 x 1012 Hz, whereas spontaneous emission dominates for frequencies well above 5 x 1012 Hz. Which mechanism dominates for visible  light?

  Consider a steam turbine where steam enters with a

consider a steam turbine where steam enters with a pressure of 10 mpa and temperature 500 degc and expands

  Determine the poisons ratio and modulus of elasticity

A 1.5in diameter rod 20ft long elongates .48in under a load of 53 kips. the diameter of the rod increases .001in during loading. Determine the poisons ratio, modulus of elasticity, and shear modulus

  A rigid tank of cold fluid sits in a room at 300 k t the

a rigid tank of cold fluid sits in a room at 300 k t... the fluid is initially at 180 k t.. the luis temperature is

  Calculate the critical flaw size for both materials

The yield strength for AA 7075-T6 IS 525 MPa and for 300 grade managing steel it's 2075-MPa. The fracture toughness values are 30 and 70-MPa (m)^1/2, respectively. Both of these materials find applications in the aircraft industry.

  Thermodynamic analysis-lenoir cycle

A gas inside a piston-cylinder device completes a three-step forward cycle, called the Lenoir cycle, described as follows: Complete a thermodynamic analysis of this cyclic process defining the system as the gas and neglecting any effect of friction. ..

  Water initially saturated vapor at 4 bar fills a closed

water initially saturated vapor at 4 bar fills a closed rigid container. the water is heated until its temperature is

  Hot water is provided to a house by an electric water heater

Hot water is provided to a house by an electric water heater which uses a 60L tank. The electric heater is rated for a 1.6kW. The hot water tank is completely full with water at 80°C when someone starts a shower. The shower faucet mixes cold water at..

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