f(x)

show derivative

show function

f'(x)

show tangent

f(x)=

f(x) = x^(3)
maxx = 3
maxy = 8
a = true
b = true
A = Point(f)
fdiff(x) = f'(x)
pdiffA: fdiff(x(A))
B: (x(A), pdiffA)
tanlin(x) = y(A) + (pdiffA * (x - x(A)))
C: ((maxx * 0.8), Max[-8, Min[6, tanlin((maxx * 1.05))]])
text1: "slope=" + pdiffA + ""
c = true
inputBox1 = Textfield(f)
text2: "$ f'(x)=" + (LaTeX[fdiff]) + " $"