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

X= @(t) t.^3-6*t.

^2-15*t+40

X = function_handle with value:


@(t)t.^3-6*t.^2-15*t+40

t=[0,10]

t = 1×2
0 10

fplot(funPolohy,[0,10])
x1=[7,8]

x1 = 1×2
7 8

koren1= fzero(funPolohy,x1)

koren1 = 7.3039

grid on
x2=[1,4]

x2 = 1×2
1 4

koren2= fzero(funPolohy,x2)

koren2 = 1.7774

hold on
y0=0

y0 = 0

plot(koren1,y0,"r*")
hold on
plot(koren2,y0,"r*")
hold off

1
syms t
x= t.^3-6*t.^2-15*t+40

x = 

V= diff(x)

V = 

VV= @(t) 3*t.^2-12*t-15

VV = function_handle with value:


@(t)3*t.^2-12*t-15

VV0=[0,10]

VV0 = 1×2
0 10

fplot(VV,[0,10])
x1=[4,6]

x1 = 1×2
4 6

2
korenVV= fzero(VV,x1)

korenVV = 5.0000

hold on
grid on
plot(korenVV,y0,"r*")
hold OFF

A=diff(x,2)

A = 

AA= @(t) 6*t-12

AA = function_handle with value:


@(t)6*t-12

AA0=[0,10]

AA0 = 1×2
0 10

fplot(AA,[0,10])
x1=[1,3]

x1 = 1×2

3
1 3

korenAA= fzero(AA,x1)

korenAA = 2

hold on
grid on
plot(korenAA,y0,"r*")

You might also like