2Write a Matlab code to determine c when the data points are

2.Write a Matlab code to determine c when the data points are (0,0),(0,2),(1,0),(1,2),(2,1),(2,3)

Report your value for c

Solution

F[X,Y] = [E^X]*[SIN(Y)] = P[X,Y] =C0+C1X+C2Y + C3XY+C4X^2+C5Y^2 P[Xi , Yi ] = F[Xi,Yi] …...AT ………..0 < = I <= 5 THE LINEAR SYSTEM IS TABULATED BELOW IN MATRIX FORM A = COEFICIENT MATRIX = UNKNOWNS F[X,Y] = POINT-I X(I) Y(I) C0 C1 C2 C3 C4 C5      C = [E^X]*[SIN(Y)]   0 0 0 1 0 0 0 0 0 C0 0 1 0 2 1 0 2 0 0 4 C1 0.9093 2 1 0 1 1 0 0 1 0     * C2       = 0 3 1 2 1 1 2 2 1 4 C3 2.4717 4 2 1 1 2 1 2 4 1 C4 6.2177 5 2 3 1 2 3 6 4 9 C5 1.0427 A*C = F ……………..C = [A INVERSE] * F A INVERSE = 1 0 0 0 0 0 -1.125 -0.375 1.25 0.75 -0.375 -0.125 0 0 -1 1 0.5 -0.5 0.5 -0.5 -0.5 0.5 0 0 0.125 0.375 -0.25 -0.75 0.375 0.125 -0.25 0.25 0.5 -0.5 -0.25 0.25      C = [ A INVERSE * F ] = C0       = 0 C1       = -0.94916 C2       = 5.05919 C3       = 0.78121 C4       = 0.94916 C5       = -2.30227 ANSWER………………
2.Write a Matlab code to determine c when the data points are (0,0),(0,2),(1,0),(1,2),(2,1),(2,3) Report your value for cSolution F[X,Y] = [E^X]*[SIN(Y)] = P[X,

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site