Calculate the trajectories of a mini solar system

Assignment Help MATLAB Programming
Reference no: EM131462126

In this project, we will calculate the trajectories of a mini solar system consisting of the Sun, Mercury, Earth, and the Moon. The motion of celestial bodies is governed by Newton's second law of motion and gravity. The program SunEarthMoon.m on the class website simulates the orbits of the Sun, Earth, and the Moon.

Modify this program to include the motion of Mercury as well. You need to research and code in the right mass/distance/velocity parameters for Mercury in order for this simulation to work.

For Programming Assignment #2:

- Reformulate the system of second order ODEs into a system of first order ODEs, and solve the system with the matlab function ode45.

- Your program should take the same input arguments years and framerate.

- Your output should be

- a plot depicting the orbits of the Moon and the Earth.

- a plot depicting the orbits of the Earth, Mercury, and the Sun.

Verified Expert

The assignment consisted of writing second order ODE for mercury orbital motion. It had to be reformulated to first order ODE. And a code in matlab to run the program.

Reference no: EM131462126

Questions Cloud

What is the molar concentration : What is the molar concentration of Cu2+ in the unknown solution?
What is the process for earning credentials from hfma : What types of resources does this organization provide to its members and others in the health care community?
How is current event impacting the company brand or person : How is the current event impacting this company, brand or person? Do you think it's something that will effect the company long-term or short-term and why?
Cheapest source of financing for hand-to-mouth : Which alternative is the cheapest source of financing for Hand-to-Mouth?
Calculate the trajectories of a mini solar system : Calculate the trajectories of a mini solar system consisting of the Sun, and the Moon. The motion of celestial bodies is governed.
What could you do to prepare yourself for a career : What could you do to prepare yourself for a career as administrator or CEO of an assisted living facility? What kinds of job opportunities currently exist.
Determine the equivalent uniform annual cost of costs : Determine the equivalent uniform annual cost (EUAC) of costs for the option the engineer should recommend at an interest rate of 4.3%.
Write a proposal to the leadership in your organization : Write a 700- to 1,050-word proposal to leadership in your organization, suggesting your selected change. Be sure to apply effective writing methods you learned.
Estimate the value of the firm : Assume that the firm is in stable growth, and that the return on capital and reinvestment rates for the last fiscal year can be sustained forever.

Reviews

len1462126

4/14/2017 2:00:45 AM

In this project, we will calculate the trajectories of a mini solar system consisting of the Sun, Mercury, Earth, and the Moon. The motion of celestial bodies is governed by Newton's second law of motion and gravity.

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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