File: tikz.tex

package info (click to toggle)
texlive-lang 2022.20230122-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,447,264 kB
  • sloc: perl: 61,377; xml: 53,781; makefile: 4,525; sh: 4,338; ansic: 2,892; python: 2,861; ruby: 1,031; lisp: 750; awk: 649; java: 159; sed: 142; csh: 25
file content (15 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (8)
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}