9. Which of the following methods can interpolate a set of data points with a function...
Can you please do this in matlab
Consider the following function: 4 0 Using the following parameters in your functions: func: the function/equation that you are required to integrate a, b: the integration limits n: the number of points to be used for the integration : Integral estimate A. Write a function capable of performing numerical integration of h(x) using the composite B. write a function capable of performing numerical integration of h(x) using the composite C. Calculate the absolute...
Using the following data, calculate the work done by stretching a spring knowing that W-İ Fdr. Use Simpson's Rules to perform the integration. a) Show all your work and final answer shall have unit with 3 decimal places. (20%) F, (kN)00.01 0.032 0.080.123 0.31 x, (m) 0 0.05 0.10 0.15 0.20 0.25 b) If data is being given as follows, describe in details on how you will use Simpson's rule(s) to solve. Do not write down any equation and do...
MATLAB Create a function that provides a definite integration
using Simpson's Rule
Problem Summar This example demonstrates using instructor-provided and randomized inputs to assess a function problem. Custom numerical tolerances are used to assess the output. Simpson's Rule approximates the definite integral of a function f(x) on the interval a,a according to the following formula + f (ati) This approximation is in general more accurate than the trapezoidal rule, which itself is more accurate than the leftright-hand rules. The increased...
Numerical Methods
125% 4 16 (i) [1 mark] Given the data points {(ak,Uk))3-{(-1,03), (2.-01), (0.0.1)), the ai. Which of least-squares regression line can be written in the form y - do the following 2 x 2 linear systms of equations are the normal equations that determine the unknown coefficients do and ai? 0.5 0.6 0.6 A. 1 3 a1 B. 0.5 C. 0.5 0.5 0.6 0.26 [ao D.13 0.6」[al -0.5 0.6 3 1 o E. 5 La G) [I mark]...
Need the following question answered, the subject is
Mathematical Methods 2 (Mechanical Engineering). This is a
University style question/practice paper with sections and I want
the solutions to it, this comes with a formula sheet and if
possible, use the formula sheet to answer the question. Need
Calculations shown to each part of the question, My Teacher hasn't
got back to me regarding the solutions so here I am, Thank you.
Note: Please answer the question in UK style format...