Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

cubica

--> inv(m)*ti

ans =
2.3923077

-7.1769231

3.7846154

3.

-5.9615385

42.946154

-96.461538

69.830769

7.4538462

-77.792308

265.75385

-292.38462

-6.8538462

93.9

-421.01538

623.30769

3.9615385

-68.330769

390.13846

-728.61538

-0.9923077

20.838462

-144.87692

341.41538
--> x1=1:0.01:2;

--> y1=2.3923077*x1.^3-7.1769231*x1.^2+3.7846154*x1+3;

--> plot(x1,y1,'m')

--> x2=2:0.01:3;

--> y2=-5.9615385*x2.^3+42.946154*x2.^2-96.461538*x2+69.830769;

--> plot(x2,y2,'m')

--> x3=3:0.01:4;

--> y3=7.4538462*x3.^3-77.792308*x3.^2+265.75385*x3-292.38462;

--> plot(x3,y3,'m')

--> x4=4:0.01:5;

--> y4=-6.8538462*x4.^3+93.9*x4.^2-421.01538*x4+623.30769;

--> plot(x4,y4,'m')

--> x5=5:0.01:6;
--> y5=3.9615385*x5.^3-68.330769*x5.^2+390.13846*x5-728.61538;

--> plot(x5,y5,'m')

--> x6=6:0.01:7;

--> y6=-0.9923077*x6.^3+20.838462*x6.^2-144.87692*x6+341.41538;

--> plot(x6,y6,'m')

You might also like