PLEASE USE MATLAB TO SOLVE THIS The current in a wire is mea

PLEASE USE MATLAB TO SOLVE THIS

The current in a wire is measured with great precision as a function of time: Determine i at t = 0.23.

Solution

% first enter the data
t=[0:0.1250:0.5000];
i=[0 6.24 7.75 4.85 0.0000];
% now we compute the coefficient of poynomial that is use to find the values
p=polyfit(t,i,4);
% p contain the degree of polynomial of degree 3
y=polyval(p,0.23);
% value at particular position
disp(y);

PLEASE USE MATLAB TO SOLVE THIS The current in a wire is measured with great precision as a function of time: Determine i at t = 0.23.Solution% first enter the

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site