12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

106 • Chapter 4: GraphicsIn the previous plot, all the interesting details of the graph are lostbecause there is a spike at x = 1. The solution is to view a narrowerrange, perhaps from y = −1 to 7.> plot( 1/(x-1)^2, x=-5..6, y=-1..7 );y7654321–4 –2 0 2 4 6–1xThe tangent function has singularities at x = π 2+ πn, where n is anyinteger.> plot( tan(x), x=-2*Pi..2*Pi );300020001000–6 –4 –2 2 4 6xTo see the details, reduce the range to y = −4 to 4.> plot( tan(x), x=-2*Pi..2*Pi, y=-4..4 );y4321–6 –4 –2 0 2 4 6–1x–2–3–4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!