%%Matlab code for cubic fit of given data
clear all
close all
%given data
v=[150 175 200 250 300 400];
D=[7424 10758 16706 30991 53915 127707];
%Matrix form for cubic interpolation
for i=1:length(v)
A(i,1)=1;
A(i,2)=v(i);
A(i,3)=(v(i))^2;
A(i,4)=(v(i))^3;
end
fprintf('A matrix is \n')
disp(A)
fprintf('D vector is \n')
disp(D')
%coefficient matrix
c=A\D';
fprintf('The coefficients are c=\n')
disp(c)
%plotting the data
plot(v,D,'r*')
DD=c(1)+c(2).*v+c(3).*v.^2+c(4).*v.^3;
hold on
plot(v,DD)
title('Velocity vs. Drag plot')
xlabel('velocity')
ylabel('Drag')
legend('Actual Data','Cubic Interpolation')
%%%%%%%%%%%%%%%%% End of Code %%%%%%%%%%%%%%%
please dont use matlab to solve this problem! thanks! AT&T . 22! 12:29 * 19% Problem...
Problem 4.3. The drag (air resistance) experienced by airplanes can be simply modeled using a cubic equation in terms of velocity, D(v) = 0o + ajv + a202 + azva, where v is the velocity of the plane (we will ignore units in this problem and D is the drag. Engineers working in a wind tunnel test a plane at different velocities and record the drag in the following table: v | 150 175 200 250 300 400 D 7424...
PLEASE HELP SOLVE WITH MATLAB LANGUGE. Below are hints to the problem. THANKS A LOT!! 2 Coriolis Force In a rotating frame-of-reference,the equations of motion of a particle, written in co- ordinates fixed to the frame, have additional terms due to the rotation of the frame itself Consider such a rotating frame, with its origin at the center of rotation.In these coor- dinates, the equations of motion for a point-mass subjected to forces F, and F S m, are F(0...