Professional Documents
Culture Documents
Zápis Rovnice, Jej Graf A Korene A Jej Diferenciá - HOTOVOl
Zápis Rovnice, Jej Graf A Korene A Jej Diferenciá - HOTOVOl
clear all;
%zobrazenie funkcie
fplot(funPolohy,[0,10])
x1 = 1×2
7 8
koren1= fzero(funPolohy,x1)
koren1 = 7.3039
grid on
%nájdenie koreňa č.2
x2=[1,4]
x2 = 1×2
1 4
koren2= fzero(funPolohy,x2)
koren2 = 1.7774
hold on
y0=0
y0 = 0
%vykreslenie koreňov
plot(koren1,y0,"rd","LineWidth",4)
hold on
plot(koren2,y0,"rd","LineWidth",4)
title("Priebeh zrýchlenia")
xlabel("čas [s]")
ylabel ("Zrýchlenie [m/s2]","FontWeight","bold")
hold off
1
syms t
x= t.^3-6*t.^2-15*t+40
x =
V =
VV0=[0,10]
VV0 = 1×2
0 10
fplot(VV,[0,10])
x1=[4,6]
2
x1 = 1×2
4 6
korenVV = 5.0000
hold on
grid on
plot(korenVV,y0,"gd","LineWidth",3)
title("Priebeh rýchlosti")
xlabel("čas [s]")
ylabel ("Rýchlosť [m/s]","FontWeight","bold")
hold OFF
A =
AA0=[0,10]
3
AA0 = 1×2
0 10
fplot(AA,[0,10])
x1=[1,3]
x1 = 1×2
1 3
korenAA = 2
hold on
grid on
plot(korenAA,y0,"gd","LineWidth",3)
title("Priebeh polohy")
xlabel("čas [s]")
ylabel ("Poloha [m]","FontWeight","bold")