Secant Lines

Some secant lines through (h,f(h)) and (0, f(0)) as h approaches zero from the right.

> gseclines(cos(x),x=0,right);

[Maple Plot]

.......Remember that the user did not have to type in the Maple commands or custom Maple commands which are in red.......

Secant line through (h,f(h)) and (0, f(0)) as h approaches zero from the right is pictured in red The secant as h approaches zero from the left is pictured in blue.

> gseclines(cos(x),x=0);

[Maple Plot]

Here is a piecewise defined expression.

> f:=piecewise(x<=1,2-x^2,x>1,x^2);

[Maple Math]

> gseclines(f,x=1);

[Maple Plot]

Do you think that this function has a derivative at x = 1?

.......With MenuMaple the user selects an action button for a Maple command or custom Maple command and enters required information after being prompted.........

>