%please ask 1 question at a time
Matlab: 1. Plot the following polynomials and show the given point on the diagram. A. y...
in MATLAB Curve fitting Given the following data, find the best linear functional relationship and cubic functional relationship using “polyfit,” “polyval,” and “plot” built-in functions. Plot all three fits that you got from Matlab. A rough plot by hand is allowable. You do not need to provide any codes. x = [-3, -2, 0, 1, 3, 4, 6, 7, 8, 9]; y = [5, 7, 8, 10, 6, 2, -4, -6, -2, 1];
The slope S'(x) at each point (x, y) on a curve y = S(x) is given along with a particular point (a, b) on the curve. Use this information to find S (x). 2) f'(x) - 9x2 + 8x + 4; (0, 3) 2) A) (x) 2x+ B) f(x) = 3x3 + 4x2 + 4x - 3 of(x) = 9x3 + 8x2 + 4x + 3 D)/(x) = 3x + 4x2 + 4x + 3
Matlab: a) Write a program to compute the first-degree and third-degree polynomials that fit the data, displaying the polynomial coefficients. Remember to include text to describe the displayed coefficients. (b) Compute and display (including what the information is) the sum of the squares for each curve fit. (c) Plot the data and the two curve fits on a single plot, for 101 values of A in the range 0 ? A ? 9. Choose different line styles for each curve...
Using MATLAB, The following data is given: 13 14 15 15 2 10 12 (a) Use linear least-squares regression to determine the coefficients m and b in the function y - mx+b that best fits the data (b) Make a plot that shows the function and the data points.
3. Consider the function f(x) = cos(x) in the interval [0,8]. You are given the following 3 points of this function: 10.5403 2 -0.4161 6 0.9602 (a) (2 points) Calculate the quadratic Lagrange interpolating polynomial as the sum of the Lo(x), L1(x), L2(x) polynomials we defined in class. The final answer should be in the form P)a2 bx c, but with a, b, c known. DELIVERABLES: All your work in constructing the polynomial. This is to be done by hand...
please show work, im so lost on all of these Given f(x, y) = 4x 5xys + 3y?, find f(x,y) = fy(x, y) = f(x, y) = 5x2 + 4y? $2(5, - 1) = Given f(x, y) = 4x2 + xy 4x² + xys – 67%, find the following numerical values: $:(3, 2) = fy(3, 2) = Given f(x, y) = 3x4 – 6xy2 – 2y3, find = fry(x, y) = Find the critical point of the function f(x, y)...
Using matlab 1. Least Square Curve Fitting: Consider the population in Bryan, TX from year 1900 to 2010, below: 1900 1910 1920 1930 1940 1950 19601970 1980 1990 2000 2010 3,589 4,132 6,307 7,814 11,842 18,072 27,542 33,141 44,337 55,002 65,660 76,201 Using the logistic model, NoK where N() is the the population at time (years from the intial year), and No is the initial population. Find the the growth parameter rs0 and carrying capacity K>-O such that the model...
Write a MATLAB function that accepts any sets of point and fits a straight line using the least square method. Test your function on the following sets of points and calculate the a's and the b’s show the actual curve vs the fitted line. 1. X= (10.103,10970)806, 1.897) 1. X= [-1.3, -0.1, 0.2, 1.3] Y= [0.103, 1.099, 0.808, 1.897] 2. X=[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0] Y= [0.5, 2.5, 2.0, 4.0, 3.5, 6.0, 5.5]
Maple program what are the commands Question6 For the following equation y't y P (0,1) a) Plot the equation with the implicitplot command. Check to see that the given b) Using the implicitdiff command, find a formula for the derivative and find c) point P satisfies the equation the slope at the given point P Use the slope found in part (b) to find an equation for the tangent line to the curve at P. Then plot the equation together...
Matlab help 1) Given the functions x1()= tu()-tuft-1) and X2(t)=10e-5,11(), do the following: 1. Plotx,(t) and x2(0) using MATLAB 2. Use MATLAB to find and plot x(0=x:@*.x2(t), where * denotes convolution. 3. Find x(t)=x;()*X2(1) by hand using Laplace transforms. 4. Plot the result of part 3 in MATLAB and compare it to that found in part 2. 2) Given the transfer function shown below, do the following: 1. Find the system's impulse response and plot it using MATLAB 2. Repeat...