Ask Question, Ask an Expert


Ask MATLAB Expert

For this assignment, you will need to prepare some short codes to complete the following problems.  You are free to prepare in any language you prefer, including MATLAB, provided you do not use any built-in commands or intrinsic functions to shortcut the methods you are asked to investigate (though you may use them to verify your answers).  For instance, you may not use MATLAB's fzero command to find the roots of an equation.  The only restrictions on your codesare that they must prepare your output to a file, and numbers in your results must be properly formatted with an appropriate number of significant figures.  Use exponential notation where appropriate.Please turn in both hard and electronic copies of both your codes and your results.  Your codes and results may be combined into a single file for electronic submission, provided that it is clear which results correspond to which code.

1.  Root finding has its place in several applications in the areas of vibration (modal analysis of wing flutter), acoustics (microphone and speaker placement for acoustic signature measurements), and computational fluid dynamics (matching governing equations to proper numerical schemes for aerodynamic calculations).

Determine the highest real root, out to exactly three decimal points, of the polynomial

                                                                          f(x) = 1.5x3 – 8.1x2 + 18.6x - 10

                a) graphically (no code required; simply plot; you may use any function of any software

                                                to do this)

                b) using fixed-point iteration (five iterations, xo = 1)

                c) using Newton-Raphson (five iterations, xo = 1)

                d) using Secant method (five iterations, x-1 = 0, o = 1)


Compute the approximate percent relative errors out to exactly four decimal points for each iteration of your solutions as described in the notes.

2.  There are many applications where numerical integration is required in aerospace engineering.  exs include integrating a pressure distribution about an airfoil to find lift and drag, integrating a time-dependent drag profile on a rocket to determine time of flight and burnout altitude, and integrating a probability distribution function to find the average fuel drop diameter in an aircraft engine.  In many instances, the function to be integrated may be a set of discrete data points rather than being analytical, but the technique is similar.

Integrate the following function both analytically and numerically:

                                                                                       I(f) =  03x2 e-xdx


Use both the trapezoidal and Simpson's 1/3 rules to numerically integrate the function out to exactly seven decimal points.  For both cases, start with n = 1, then double the number of segments until your last computation includes 512 segments.  Compute the percent relative errors, out to exactly four decimal points, for the numerical results (as compared to the analytic answer).

%Errot = (Numerical Answer - Analytic Answer)/Analytic Answer

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M913782
  • Price:- $60

Priced at Now at $60, Verified Solution

Have any Question? 

Related Questions in MATLAB

Plotting and computer animation in matlabinstructions for

Plotting and computer animation in MATLAB Instructions: For each of the following exercise, create an M-file to store the MATLAB commands. Copy and paste the M-file into a text document. For problems 1 and 2, include in ...

Question 1 a what is the period of the forced oscillation

Question 1. (a) What is the period of the forced oscillation? What is the numerical value (modulo 2Π) of the angle α defined by? (b) In this question you are asked to modify the file LAB06ex1.m in order to plot the compl ...

Use matlab to solve the following equations please i plot

Use Matlab to solve the following equations. Please (i) plot the solution as a function of t for t  ∈ [0, 100]. (ii) draw the phase diagram of the ODE. 1. dy/dt = y 2 + y with y(0) = 1         dy 1 /dt = y 2 2.           ...

Instructions for each of the following exercise create an

Instructions: For each of the following exercise, create an M-file to store the MATLAB commands. Copy and paste the M-file into a text document. Include in the text document the pictures produced by MATLAB. Resize and cr ...

1 calculate the following for the function f x e-3x -

1) Calculate the following for the function f (x) = e -3x - 2x a. Calculate the derivative of the function by hand. Write a MATLAB function that calculates the derivative of this function and calculate the derivative at ...

Matlabproject descriptionwrite a mileage per gallons and

MATLAB Project description: Write a mileage per Gallons and miles per dollar calculator program using two functions, one to calculate MPG and one to calculate MPD. The application will prompt the user to type the odm rea ...

Question 1backgroundclimate change is a change in global or

QUESTION 1 Background Climate change is a change in global or regional climate patterns, in particular a change apparent from the mid to late 20th century onwards and attributed largely to the increased levels of atmosph ...

Problem -tom cat is chasing jerry mouse the initial

Problem - Tom cat is chasing Jerry mouse the initial distance between them is S 0 = 100m. Tom runs V c = 4-at m/s (negative accident) Jerry's velocity depends on the distance between Tom& Jerry V = Vmax - Ks (3-0.025 m/s ...

Question 1backgroundyou have been asked to manage a project

QUESTION 1 Background You have been asked to manage a project to install a pipeline from an offshore gas platform to an onshore gas processing plant, and to find the cheapest design that is possible. The platform is Q km ...

Problem 1 10pts the csu-chill radar made observations of

Problem 1 [10pts.]: The CSU-CHILL radar made observations of the Ponnequin Wind Farm located on the boarder of Wyoming and Colorado near I-25. The wind farm is approximately 62 km away from the radar. Complex valued digi ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro