Author: Nedeljko Begović
Date: 25 Studeni 2012

(x, t) graf

(v, t) graf

x/m

v/ms⁻¹

t_1

t_2

brzina iz x-t grafa

t_1

t_2

"s = " + abs(d) + " m/s"

s iz v-t

t/s

ta = 1 (slider from 0 to tmax, step 0.5)
x0 = 0 (slider from -3 to 11.5, step 0.5)
v = 2 (slider from -5 to 5, step 1)
t = 0 (slider from 0 to tmax, step 0.001)
O: (x0 + (v * t), 0)
f = Function(x0 + (v * x), 0, t)
tmax = If(v > 0, (11.5 - x0) / v, (x0 + 3.5) / abs(v))
xtgraf = false
g = Function(v, 0, t)
vtgraf = true
tekst3: "t = " + t + " s"
A: (ta, 0)
tb = 2 (slider from 1 to tmax, step 0.1)
B: (tb, 0)
C: (x(A), f(x(A)))
D: (x(B), f(x(B)))
a = Segment(A, C)
b = Segment(B, D)
E: (x(B), f(x(A)))
c = Segment(C, E)
tekst8: "Δ x =" + (f(x(D)) - f(x(C))) + " m"
vxt = false
tekst9: "Δt = " + (x(B) - x(A)) + " s"
F = Point(xAxis)
G = Point(xAxis)
d = Integral(v, x(F), x(G))
svt = false
tekst1: "x_0 = " + x0 + " m"
tekst2: "v = " + v + " m/s"
tekst12: "s = " + (abs(d)) + " m"