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

Topic matlab coding signals and systems sampling fourier

Topic: MATLAB coding, signals and systems, sampling, Fourier analysis, FFT, new transform techniques Purpose of the assessment: The purpose of this assignment is to motivate students to learn MATLAB programming and how t ...

Introduction to programming in matlab1 working with matlab

Introduction to Programming in MATLAB 1. Working with MATLAB scalars, vectors, and complex numbers. Using MATLAB, define a unique variable for the following quantities. a. 5 (ex. Define x = 5, etc.) b. 25 2 c. (3 + 4??) ...

Qestion 11 introductionmeasurements have been made of a

Question 1: 1 Introduction: Measurements have been made of a cantilever beam's deflection (stored in the file ass2q1in.csv). You must determine what type of loading has been applied and the magnitude of the load. There a ...

1obtain the uncoded ber performance of bpsk modulation over

1. Obtain the uncoded BER performance of BPSK modulation over AWGN and Rayleigh fading channels through computer simulation. Select a suitable range of Eb/NO so that you obtain the BER in the range of (approximately) 10 ...

Problem - the state estimation equation in the discrete

Problem - The state estimation equation in the discrete Kalman filter is x ^ (n|n) = A(n - 1)x ^ (n - 1|n - 1) + K(n)[y(n) - C(n)A(n - 1)x ^ (n - 1|n - 1)] Thus, given the state transition matrix A(n) and the observation ...

Part -1introduction to programming with matlab1 the

Part -1: Introduction to Programming with MATLAB 1. The function move_me is defined like this: function w = move_me(v,a). The first input argument v is a row-vector, while a is a scalar. The function moves every element ...

1 write a matlab script that will solve the system of

1. Write a Matlab script that will solve the system of linear equations shown below. This can be done by solving for the vector of unknowns (X) in the equation AX=B where A is the coefficient matrix and B is the vector o ...

Implement copy-move image forgery detection in matlabpaper

Implement Copy-move image forgery detection in Matlab. Paper - Copy-move image forgery detection based on Gabor magnitude by Jen-Chun Lee. With advancement of media editing software, even people who are not image process ...

Discrete communicationsobjectiverevision of fundamental

Discrete Communications Objective: Revision of fundamental concepts and demonstration of necessary foundation skills. Assessment: The assignment will comprise 20% of your final mark and all ten problems will be of equal ...

Labobjectiveslearn how to create vectors and matrices in

Lab Objectives ? Learn how to create vectors and matrices in MATLAB ? Become familiar with some of the built-in MATLAB functions and how they work Deliverables ? Submit your pre-lab answers in Bblearn under the Lab 2 pre ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate