Le formule matematiche

Per inserire una o pių formule matematiche sono disponibili i seguenti marcatori:

{$ %<parameters...>% formula $}
(:eqn <parameters...> :) [=
formula
=]
(:eqn <parameters...> :) 
formula
(:eqnend:)

con i seguenti parametri (opzionali):

  • height=PIXELS per impostare l’altezza della formula;
  • num(=VALUE) per mostrare (ed eventualmente impostare) un numero di equazione.
'''Example:''' Solving the quadratic equation.

Suppose {$ %height=70px% ax^2+bx+c=0 text( with ) a!=0 $}

We first divide by ''a'' to get
{$ %num=1% x^2+b/ax+c/a=0 $}

Then we complete the square and obtain
{$ %num% x^2+b/ax+(b/(2a))^2-(b/(2a))^2+c/a=0 $}

The first three terms factor to give
{$ %num% (x+b/(2a))^2=(b^2)/(4a^2)-c/a $}

Now we take square roots on both sides and get
{$ %num% x+b/(2a)=+-sqrt((b^2)/(4a^2)-c/a) $}

Finally we move {$ b/(2a) $} to the right and simplify to
get the two solutions:
{$ %num=5% x_(1,2)=(-b+-sqrt(b^2-4ac))/(2a) $}

Example: Solving the quadratic equation.

Suppose

We first divide by a to get

(1)

Then we complete the square and obtain

(2)

The first three terms factor to give

(3)

Now we take square roots on both sides and get

(4)

Finally we move

to the right and simplify to get the two solutions:

(5)