Approximation technique like rungekutta

Assignment Help Mechanical Engineering
Reference no: EM13945715

REQUIREMENTS

Make a main m-file that you use to run and call your function file. Give it a unique name. Make sure and include your name, your section, and date at the top of the m-file. Suppress any extraneous info; only output what is useful and what follows the intent of your program.

Create and use at least one anonymous function somewhere in your program.

Make a useful function m-file. That is, create and use at least one user-defined function Use comments immediately below the function definition line that describe what the function does and its inputs and outputs.

Utilize proper coding and documentation practices. Comment throughout both the main m-file and the function m-file. Create at least one section (cells).

Create and use either one subfunction or one nested function within your functionmfile,

Use some type of numerical approximation technique like RungeKutta, Euler's method, Midpoint Rule, some type of numeric series, etc., 

Create and use at least one loop (for/while/midpoint), 

Create and use at least one conditional statement,

Create at least one plot,including a title and axes labels at a minimum,

Output an organized display of your values to a text file that can be opened outside of MATLAB. Include headings so that the display makes sense.

Reference no: EM13945715

Questions Cloud

Did rennie achieve the given objective why or why not : Rennie owns a video game arcade. He buys vintage video games from estates, often at much less than the retail value of the property. Did he achieve that objective? Why or why not?
Calculate the probability density function of the random : Let X be a normal variable with parameters (2, 4). Show that E(e^4X)=e^40 and calculate the probability density function of the random variable 2(e^4X) when X is a standard normal variable
Apply this synthesis to a decision problem : The Final Project is designed to help you synthesize the insights you gained and information you have explored about decision making and apply this synthesis to a decision problem that matters to you. During Weeks 8 and 9, you will be writing port..
How are the properties significant for oceanography : What are the major features in an ocean basin with a passive continental margin? Describe the processes which formed them. Compare these features to ocean basins with active margins.
Approximation technique like rungekutta : Use some type of numerical approximation technique like RungeKutta, Euler's method, Midpoint Rule, some type of numeric series, etc.,
What is trial balance explain in detail with an example : What is trial balance? Explain in detail with an example if possible
Analyze the given two investment opportunities : Analyze these two investment opportunities, and determine which would give Money the better return after taxes. Make sure you consider the effect of the FTC.
Analyze the pseudocode a tight (0) bound on the running time : Analyze the following pieces of pseudocode and for each of them give a tight (0) bound on the running time as a function of 7/.
Three abbreviated research plans : This Application begins the next multi-week activity in which you will complete three abbreviated research plans-one each for quantitative, qualitative, and mixed methods.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  The model pump has am impeller diameter of 10 cm and a

a 15 scale model of centrifugal water pump was tested. the model pump has am impeller diameter of 10 cm and a rotation

  A state runs a lottery in which 6 numbers are randomly

a state runs a lottery in which 6 numbers are randomly selected from 40 without replacement. a player chooses 6 numbers

  Module fea - finite element analysis

Module FEA - FINITE ELEMENT ANALYSIS ,  Provide answers to all questions. Note that assignment part 2 carries 60% of the marks for the course.

  Phase diagram for a new binary alloy

A “friend” asks you to construct the phase diagram for a new binary alloy of A and B. The clues are: (i) A and B are completely immiscible in each other and no solid solutions exist in the diagram, (ii) no stoichiometric compounds exist in the diagra..

  Using the same power found in the part a above what would

a heat pump will be used to heat a building during the winter and will then cool the same space during the summer. the

  Energy is rejected by heat transfer to the cold reservoir

A power cycle operates between hot and cold reservoirs at 500 K and 310 K. At steady state the cycle develops a power output if 0.1 MW. Determine the minimum theoretical rate at which energy is rejected by heat transfer to the cold reservoir in MW

  Determine the equation for the streamlines

The x and y components of velocity for a two-dimensional flow are u = 5y ft/s and v = 4 ft/s, where y is in feet. Determine the equation for the streamlines. Use C as constant. Round all numbers in answer to 3 significant digits.

  Velocity of the bullet and block immediately after impact

A 25-g bullet is traveling with a velocity of 425 m/s when it impacts and becomes embedded in 2.5 kg wooden block. The block can move vertically without friction. Determine a) the velocity of the bullet and block immediately after impact,

  The second stream of air has 2 kgs of air state 2 entering

two streams of air mix together. the first stream state 1 has 4 kgs of air entering at 300k 1 bar. the second stream of

  Find the rectangle of largest area

Use the method of Lagrange multipliers to find the rectangle of largest area, with sides parallel to the axes, that can be inscribed in the ellipse (x / a)2 + ( y / b)2 = I. What is that maximum area?

  A liquid leaving a nozzle depends upon the pressure

a) It is observed that the velocity 'V' of a liquid leaving a nozzle depends upon the pressure drop 'P' and its density ρ. Show that the relationship between them is of theform V =C * sq(P/ρ)

  Two persons a and b weighing 141 and 182 lb respectively

two persons a and b weighing 141 and 182 lb respectively jump off a floating platform in the same direction with a

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