Pre-Calc Exam Notes 157

Pre-Calc Exam Notes - The result is shown below-1-0.8-0.6-0.4-0.2 0.2 0.4 0.6 0.8 1 1 2 3 4 5 6 sin x Notice that the x-axis is labeled with

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Appendix B: Graphing with Gnuplot 157 Symbol Operation Example Result + Addition 2 + 3 5 Subtraction 3 2 1 * Multiplication 2*3 6 / Division 4/2 2 ** Power 2**3 2 3 = 8 exp( x ) e x exp(2) e 2 log( x ) ln x log(2) ln2 sin( x ) sin x sin(pi/2) 1 cos( x ) cos x cos(pi) 1 tan( x ) tan x tan(pi/4) 1 Note that we use the special keyword “pi” to denote the value of π . Example B.1. To graph the function y = sin x from x = 0 to x = 2 π , type this at the gnuplot> prompt: plot [0:2*pi] sin(x)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The result is shown below:-1-0.8-0.6-0.4-0.2 0.2 0.4 0.6 0.8 1 1 2 3 4 5 6 sin( x ) Notice that the x-axis is labeled with integers. To get the x-axis labels with fractions of π , you need to modify the terminal setting. In Windows, you would do this: set terminal windows enhanced...
View Full Document

This note was uploaded on 01/21/2012 for the course MAC 1130 taught by Professor Dr.cheun during the Fall '11 term at FSU.

Ask a homework question - tutors are online