summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/esami/doc/examples/problem2-tabella.tex
blob: 8929d2c84d7a6cb8c2ef3562b40cfa46c75882b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
\newproblem{
\FPsetpar{a}{5}{8}
\FPsetpar{b}{2}{4}
\begin{problem}[4]
Solve the following equations:

\begin{tabella}[1]{l}{r}
Equation & Solution \cr
\hline
$x^2+\FPsv{a+b}x+\FPsv{a*b}=0$& $x=\a;\; x=\b$ \cr
\hline
$x^2-\FPsv{a+b}x+\FPsv{a*b}=0$&$ x=-\a;\; x=-\b$ \cr
\hline
$x^2+\FPsv{a-b}x-\FPsv{a*b}=0$& $x=-\a;\; x=\b$ \cr
\hline
$x^2-\FPsv{a-b}x-\FPsv{a*b}=0$& $x=\a;\; x=-\b $\cr
\end{tabella}
\end{problem}
}

\newproblem{
\begin{problem}[5]
Complete the following table of derivatives:

\begin{tabella}[1]{l}{r}
Function & Derivative \cr
\hline
$f(x)=x^2$ & $f'(x)=2x$\cr
\hline
$f(x)=\sin x$ & $f'(x)=\cos x$\cr
\hline
$f(x)=\cos x $& $f'(x)=-\sin x$\cr
\end{tabella}
 \end{problem}
 }