Create a function in matlab

Assignment Help Mechanical Engineering
Reference no: EM131611957

Applied Numerical Engineering Assignment-

You have to show your m-files and printing output.

The discharge coefficient (C) of an orifice (shown in Fig. 1) as you will learn in Fluid Mechanics is defined as the ratio of actual mass flow rate and theoretical mass flow rate and is given by Eq. (1)

973_figure.png

C = 0.5959 + 0.0312β2.1 - 0.184β8 +  91.71β2.5/Re0.75           (1)

where  β = d/D denotes the ratio of diameters and Re indicates Reynolds number. 

You are required to determine the value of β at a Reynolds number of Re=104 that yields a discharge coefficient of C = 0.5N where N is 9 So C = 0.59.

Use (a) a graphical method to locate the initial estimate and (b) the Bisection method with tolerance (accuracy) of 10-4 and (c) Newton Raphson method with tolerance 10-4.

To do this you are required to perform the following tasks:

1. To use a graphical method you need to create a function in Matlab. Run this function and create a plot which allows you to find a good starting point for βans.

2. To use the Bisection method you need the code bisect.m. Verify that the number of iterations you obtained  for the Bisection method  from  Matlab  can be obtained using the  formula N = log2(Ei/Er). Using hand calculations perform 3 iterations with the Bisection method using the same initial range as in Matlab. What accuracy is achieved after 3 iterations?

3. To use Newton Raphson you need the code newtraph.m. Using hand calculations perform 3 iterations with one of the initial range value. Compare your answer with Bisection method.

Matlab code + calculation (can be hand written) + 2 pages report.

Attachment:- Assignment Files.rar

Reference no: EM131611957

Questions Cloud

High cost of contractual performance : When would the high cost of contractual performance make the remedy of specific performance more optimal than expectation damages?
Discuss outlining the obstacles, struggles and challenges : outlining the obstacles, struggles and challenges, financial or personal, that you have overcome or continue
Discuss passion and commitment to your field of study : Please provide a short essay outlining your career goals, passion and commitment to your field of study
What is the marginal benefit of an illegal dvd : Hollywood: Organized Crime Hits the Movies The Mexican army seized 1,180 disc burners and 3.14 million copies of movies and TV shows from 23 warehouses.
Create a function in matlab : MECH304 Applied Numerical Engineering Assignment. To use a graphical method you need to create a function in Matlab. Run this function and create a plot
Explain how your quote proves or illustrates your claim : Make a claim about how character, setting, or symbol is significant in Flannery O'Connor, "Parker's Back,"
Why the corn price has risen and ended up being too high : In the market for corn with a price support, explain why the corn price has risen and ended up being too high to "trigger payouts."
Write about who is compassionate and giving to others : Choose one of the allusions above or one of your own choice and do a paragraph or short situation in which the allusion enhances what you are trying to say
How subsidy paid to soybean farmers affects consumer surplus : Show in a graph how a subsidy paid to soybean farmers affects the consumer surplus and the producer surplus from soybeans. Does the subsidy make the soybean.

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  What is the concept they understood

To solve ax = b Find a number y such that ay is integer (and possibly a factor of b) Then if k Ay = b, the answer is ky What is the concept they understood?

  Write a research paper about jidoka

It should be at located at the beginning on a separate page. It should sum up the paper and contain the following: background information about the Jidoka tool, the purpose of the paper, main findings/the key points of the analysis, the highlights..

  Determine the angular velocity of the bar immediately

A 40g bullet is fired with a horizontal velocity of 600 m/s into the lower end of a slender 7 kg bar of length L=600 mm. Knowing that h= 240 mm and that the bar is initially at rest, determine (a) the angular velocity of the bar immediately after ..

  Accurate estimate of the heat loss

Determine the temperature distributions along rods constructed from pure copper, 2024 aluminum alloy, and type AISI 316 stainless steel. What are the corresponding heat losses from the rods? Estimate how long the rods must be for the assumption of..

  Find normal frequencies and forms of normal modes

A particle P of mass 3m is suspended from a fixed point O by a light inextensible string of length a.- Find the normal frequencies and the forms of the normal modes for this system.

  Identify the minimum frame size required

A single-phase, three-wire panel board must feed 30 circuits. From tables provided in this chapter, identify the minimum frame size required.

  Calculate the maximum power kw that could be developed by

a site near an ocean is being evaluated for power generation using wind turbine. the site is observed to have steady

  Calculate the thrust force developed by this engine

Air at 12 psia and 60F enters the jet engine of an aircraft flying at a velocity of 500 ft/s. Inlet area of the engine is 4 ft2. Exhaust gases leave the engine with a relative velocity of 900 ft/s. The fuel flow rate is only 2% of the mass flow rate ..

  Fuel system-combustion air system-flue gas system

Illustrate all of the main systems involved in a thermo plant. You can choose the type of thermo plant that you illustrate, just be sure to identify. Chose one of these and draw the cycle a) Fuel System B) Combustion Air System C) Flue gas System D) ..

  An automobile engine has a thermal efficiency

An automobile engine has a thermal efficiency of 18 percent.The temperature of the fuel is 950 C , and the surrounding air is at 25 oC.Does the operation of this engine violates the second law of thermodynamics?

  What force must be exerted by the ground

What force F must be exerted by the ground on each of the main braked wheels at A and B to counteract the turning effect of the two propeller thrusts? Neglect any effects of the nose wheel C, which is turned 90° and unbraked.

  Design a support system for the machine

Design a support system for the machine (i.e., choose c, k) so that only 10% of the force applied to the machine is transmitted to the base supporting the machine.

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