Formler
Formler
Formler skrivs med hjälp av Latex-kommandon som skrivs mellan {$ och $}.
Tex ger kommandot {$\int xdx$} resultatet \int xdx.
Hur finner jag rätt Latex-kommando?
1. När du redigerar ett dokument finner du några knappar med vanliga Latex-kommandon strax ovanför redigeringsrutan.
2. Använd en externa Latex-editorn t ex CodeCogs. När du fått fram det utseende du vill ha på din formel klistrar du in latexuttrycket på rätt plats i redigeringsrutan i wikin.
3. Skriv Latex-kommandon själv. Några vanliga kommandon är
| Kommando | Resultat |
| x^{b+c} | x^{b+c} |
| \infty | \infty |
| \sqrt[3]{5} | \sqrt[3]{5} |
| M_{k+1} | M_{k+1} |
| \frac{a+3}{5b} | \frac{a+3}{5b} |
| \sin x, \cos x, \tan x | \sin x, \cos x, \tan x |
| \int_2^3 x^2dx | \int_2^3 x^2dx |
| A \cdot B | A \cdot B |
| 3 \geq 2 | 3 \geq 2 |
| 2 \leq 3 | 2 \leq 3 |
| \approx | \approx |
| \not = | \not = |
| \angle ABC | \angle ABC |
| \triangle ABC | \triangle ABC |
| a \;\;\; b att jämföra med a b och a\,b | a \;\;\; b att jämföra med a b och a\,b |
| $\begin{array}{l} x^2+2x+2=\\ =(x+1)^2+1= \\=(x+1)^2+2-1 \end{array}$} | \begin{array}{l} x^2+2x+2=\\ =(x+1)^2+1= \\=(x+1)^2+2-1 \end{array} |
| {$\mathbf{X}=\left( \begin{array}{ccc} x_{11} & x_{12} & \ldots \\ x_{21} & x_{22} & \ldots \\ \vdots & \vdots & \ddots \end{array} \right) $} | \mathbf{X}=\left( \begin{array}{ccc} x_{11} & x_{12} & \ldots \\ x_{21} & x_{22} & \ldots \\ \vdots & \vdots & \ddots \end{array} \right) |
| \displaystyle \begin{array}{l} x=\cos\theta+\frac{\sin\theta(\sin\theta-1)}{\cos\theta} =\frac{\cos^2\theta+\sin^2\theta-\sin\theta}{\cos\theta} =\frac{1-\sin\theta}{\cos\theta}=\\ =\frac{1-\sin^2\theta}{\cos\theta(1+\sin\theta)}=\frac{\cos^2\theta}{\cos\theta(1+\sin\theta)} =\frac{\cos\theta}{1+\sin\theta} \end{array} | \displaystyle \begin{array}{l} x=\cos\theta+\frac{\sin\theta(\sin\theta-1)}{\cos\theta} =\frac{\cos^2\theta+\sin^2\theta-\sin\theta}{\cos\theta} =\frac{1-\sin\theta}{\cos\theta}=\\ =\frac{1-\sin^2\theta}{\cos\theta(1+\sin\theta)}=\frac{\cos^2\theta}{\cos\theta(1+\sin\theta)} =\frac{\cos\theta}{1+\sin\theta} \end{array} |
| {$* \tan C=$} {$ =\tan(\pi-A-B) $} {$ =\frac{\sin(\pi-A-B)}{\cos(\pi-A-B)} $} {$ =\frac{\sin(A+B)}{-\cos(A+B)} $} {$ =-\frac{\sin A\cos B+\cos A\sin B}{\cos A\cos B-\sin A\sin B} $} {$ =-\frac{cos A\cos B(\tan A+\tan B)}{\cos A\cos B(1-tan A\tan B)} $} {$ =\frac{\tan A+\tan B}{\tan A\tan B-1} $} | * \tan C = =\tan(\pi-A-B) =\frac{\sin(\pi-A-B)}{\cos(\pi-A-B)} =\frac{\sin(A+B)}{-\cos(A+B)} =-\frac{\sin A\cos B+\cos A\sin B}{\cos A\cos B-\sin A\sin B} =-\frac{cos A\cos B(\tan A+\tan B)}{\cos A\cos B(1-tan A\tan B)} =\frac{\tan A+\tan B}{\tan A\tan B-1} |