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

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

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