File: tikz.tex

package info (click to toggle)
texlive-lang 2016.20170123-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,093,148 kB
  • ctags: 15,901
  • sloc: perl: 46,074; xml: 29,603; makefile: 5,248; sh: 3,179; python: 2,949; ansic: 2,846; ruby: 945; lisp: 726; awk: 636; java: 159; sed: 142; cpp: 12
file content (15 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\begin{tikzpicture}

\draw[->] (0,0) -- (6,0) node[right] {$x$} ;
\draw[->] (0,0) -- (0,5) node[above] {$y$} ;

\filldraw[fill=gray!30]
	(1,0) node[below] {$a$}
	-- (1,2)
	cos (5,4) node[right] {$f(x)$}
	-- (5,0) node[below] {$b$}
	-- cycle ;

\draw (3,1) node {$\displaystyle \int_a^b f(x) \, \mathrm{d}x$} ;

\end{tikzpicture}