Question

Problem 1 Use the trapezoidal rule technique to approximate the following integrals: a) 「(x2+1)dr(Note: use 0.5 increments fo

Problem 2 Use the Simpsons rule to evaluate the following integrals aDdr

Problem 3: Given the polynomial: x3-6x2 + 30-0, Use MATLAB to find all roots of this polynomial. Use MATLABs polyval functio

Problem 4 Use MATLAB built in functions to come up with sequence of commands to graphically estimate where, and then calculat

Problem S: An object is dropped straight down from a helicopter; the object falls faster and faster but its acceleration (rat

Problem 6 After the winter break, 3 students came to school sick with the flu. The following table shows the number of studen

help wanted??

thank you
explain correctly

Problem 1 Use the trapezoidal rule technique to approximate the following integrals: a) 「(x2+1)dr(Note: use 0.5 increments forx) b) sina d INote: use a MATLAB function to subdivide the interval into eight equal parts) c e dx (Note: use 0.25 increments for x
Problem 2 Use the Simpson's rule to evaluate the following integrals aDdr
Problem 3: Given the polynomial: x3-6x2 + 30-0, Use MATLAB to find all roots of this polynomial. Use MATLAB's polyval function to evaluate the above polynomial for the x values given: x[2 12 4 -31 a) b)
Problem 4 Use MATLAB built in functions to come up with sequence of commands to graphically estimate where, and then calculate the 3 roots (solutions) of the following function: f(x) = e-15xsin(r) where -0.2 sxS 0.2
Problem S: An object is dropped straight down from a helicopter; the object falls faster and faster but its acceleration (rate of change of its velocity) decreases over time because of air resistance. The acceleration is measured in ft/sec2 and recorded every second after the drop for 5 sec, as shown: Time, t, (sec) 1 Acceleration, a 32.00 2 1.77 7.14 2.63 t/sec a) Use a MATLAB built in function to interpolate the acceleration at time 2.5 seconds, use linear b) Use a MATLAB built in function to interpolate the acceleration at time 2.5 seconds, use cubic c) What is the percentage error between the linear interpolation and the cubic spline interpolation interpolation spline interpolation in parts a and b above? Assume that the linear interpolation value is the "approximation", and the cubic spline interpolation value is the "actuar value. d) Use a MATLAB built in function to interpolate the time at which the acceleration is 5.45 ft/sec using linear interpolation.
Problem 6 After the winter break, 3 students came to school sick with the flu. The following table shows the number of students infected with the flu depending on the number of days after the winter break. Time, (days) Number of infected 10 15 20 25 30 14 23 23 21 students What is the quadratic (2nd degree) model that best fit the data? What is the quartic (4" degree) model that best fit the data? Which model (quadratic or quartic) appears to better fit the data? Justify your choice. Using the better model, find the day at which the number of infected students will reach the maximum. Hint: First create NewTime from 0 to 30 days in increments of 0.5 day. Second, use polyval to evaluate the number of infected students for the NewTime using the coefficients of model that better fit the data. Third, find the location of maximum number of infections. Finally, find the NewTime value corresponding to the location of maximum number of infections) a) b) e) d) e) When will the number of infected students drop to zero? (Hint: The first time the model that better fit the data is Zero (first real root)
0 0
Add a comment Improve this question Transcribed image text
Answer #1

eioesond 3 a) 3 2 3 2-SI ist a las + even 2-Jsmzc oas [esntsn)-4๛ors + sno.zs+s-o.25+тож.)+2(siM+s.o +s-ac 2 3 29628+44e1+7-389+12.18 -リ 3 2

Add a comment
Know the answer?
Add Answer to:
Problem 1 Use the trapezoidal rule technique to approximate the following integrals: a) 「(x2+1)d...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A wind tunnel test conducted on an airfoil section yielded the following data between the lift...

    A wind tunnel test conducted on an airfoil section yielded the following data between the lift coefficient (CL) and the angle of attack (?): 12 1.40 16 1.71 20 1.38 de CL 0.11 0.55 0.95 You are required to develop a suitable polynomial relationship between ? and CL and fit a curve to the data points by the least-squares method using (a) hand calculations and (b) Matlab programming Hint: A quadratic equation (parabola) y(x)-aa,x +a x' can be used in...

  • matlab D [10 pts Consider following data points Groups a) Use linear interpolation method to fit...

    matlab D [10 pts Consider following data points Groups a) Use linear interpolation method to fit data. Use 'interp1 b) Fit data with a cubie spline. Use "spline e) Fit a 4h degree polynomial using "polyf Tools Help Make a figure for each of the interpolation methods. In each figure show data points using ocircle marks, a curve that eorresponds to the interpolation method

  • I need help with parts A B D E and F. Please show hand work for...

    I need help with parts A B D E and F. Please show hand work for solving A and B while D and E should be matlab codes. How do i pick the right graph for part F? 5 2 4 6 Linear spline: s fi+ (x-x) 2) Given the points 40 78 125 256 348 425 X1-x a) Write the correct linear spline equation to interpolate for x 4.72, simplifying where appropriate to get to the slope-intercept form. (4...

  • matlab matlab For this problem you will test a few interpolation approaches for the application of generating interpolated data. We'll do this by interpolating data that is sampled from a k...

    matlab matlab For this problem you will test a few interpolation approaches for the application of generating interpolated data. We'll do this by interpolating data that is sampled from a known mathematical function. The same function can then be used to compute true values at the interpolated points to use in error Consider the following mathematical function (Runge's function): 1+25r2 Write a function mfile that uses this formula to generate a set of data use those points along approaches outlined...

  • Problem 2: The following data of the velocity of a body is given as a function...

    Problem 2: The following data of the velocity of a body is given as a function of time 24 33 Time (sec) Velocity (m/s) 17 28 0 21 26 223 a. Calculate the velocity in m/s at t= 22 sec using a quadratic polynomial interpolation through linear systems of equations. b. Set up the 9x9 matrix to solve all coefficients through quadratic spline interpolation (the matrix itself is the answer we're looking for, you do not need to solve it)

  • 1. Runge's function is written as f(x) = 1 25r2 (a) Develop a plot of this function for the inter...

    1. Runge's function is written as f(x) = 1 25r2 (a) Develop a plot of this function for the interval from x =-1 to 1 using Matlab (no submission required). Develop the fourth-order Lagrange interpolating polynomial using equispaced function values corresponding to xi =-1,-0.5, 0, 0.5, and 1. (Note that you first need to determine the (a. ) pairs.) Use the polynomial to estimate f(0.9). (b) What is et? (c) Generate a cubic spline using the five data points from...

  • Consider the following data table: 0 2i = 0.2 0.4 f(xi) = 2 2.018 2.104 2.306...

    Consider the following data table: 0 2i = 0.2 0.4 f(xi) = 2 2.018 2.104 2.306 0.6 0.2 and 23=0.4 is The linear Lagrange interpolator L1,1 (2) used to linearly interpolate between data points 12 (Chop after 2 decimal places) None of the above. -2.50x+0.20 -5.00x+2.00 -5.00x+2.00 5.00x-1.00 Consider the following data table: 2 Ti = 0 0.2 0.4 0.6 f(x) = 2.018 2.104 2.306 0.2 and 23 = 0.4, the value obtained at 2=0.3 is Using Lagrange linear interpolation...

  • Consider the function f(x) 1 25x which is used to test various interpolation methods. For the rem...

    Consider the function f(x) 1 25x which is used to test various interpolation methods. For the remainder of this problem consider only the interval [-1, 1] The x-values for the knots (or base-points) of the interpolation algorithm are located at x--1,-0.75, -0.5, -0.25, 0, 0.25, 0.5, 0.75 1. (a) Create a "single" figure in Matlab that contains 6 subplots (2x3) and is labelled as figure (777), i.e the figure number is 777. Plot in each subplot the function f(x) using...

  • 1. A player hits a baseball into the air. A motion detector is used to gather...

    1. A player hits a baseball into the air. A motion detector is used to gather data about the height of the ball. The resulting data is recorded in the table. Find the finite differences. Decide whether the data can be modelled by a linear, a quadratic, a cubic, or a quartic function. Then use the appropriate regression to determine the algebraic model for the data. DATA TABLE Height (m) First Differences Second Differences Third Differences Time (s) 0 Fourth...

  • Problem 2. Given the data points (xi. yi), with xi 2 02 4 yil 5 1 1.25 find the following interpo...

    Problem 2. Given the data points (xi. yi), with xi 2 02 4 yil 5 1 1.25 find the following interpolating polynomials, and use MATLAB to graph both the interpolating polynomials and the data points: a) The piecewise linear Lagrange interpolating polynomialx) b) The piecewise quadratic Lagrange interpolating polynomial q(x) c) Newton's divided difference interpolation pa(x) of degree s 4 Problem 2. Given the data points (xi. yi), with xi 2 02 4 yil 5 1 1.25 find the following...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT