Transformation of a Function

Basic Shape

> f0:=floor(x);

> plot(f0, x=-2..2,y=-2..2,discont=true);

[Maple Plot]

Horizontal Dilation/Compression

> f1:=floor(3*x);

> plot(f1, x=-2..2,y=-2..2,discont=true);

[Maple Plot]

Vertical Dilation/Compression

> f2:=.5*f1;

> plot(f2, x=-2..2,y=-2..2,discont=true);

[Maple Plot]

>

Horizontal Translation

> f3:=.5*floor(3*(x-1));

> plot(f3, x=-2..2,y=-2..2,discont=true);

[Maple Plot]

Vertical Translation

> f4:=f3+2;

> plot(f4, x=-2..2,y=-2..2,discont=true);

[Maple Plot]

Maple TM is a registered trademark of Waterloo Maple Inc.
Math rendered by WebEQ