0

How do I type nice looking Maths formulas on Merspi?


Notice: Undefined index: title in /home3/wmroi/public_html/merspi.com.au/qa-theme/NewMerspi/qa-theme.php on line 1251

1 Answer

0
 
Best answer

Example #1: ax^2 + bx + c = 0

Answer: Place a double dollar sign ($) at both the beginning and the end of the formula and ensure that the formula is on a new separate line (not in-line with another paragraph).

E.g: $$ ax^2 + bx + c = 0 $$

This is my formula:

$$ ax^2 + bx + c = 0 $$

Example #2: Fractions

Answer: To display fractions, we use the same double dollar sign at the beginning and end of the formula on a new line. The fraction code is \frac{a}{b} where a is the number on the top and b is the number on the bottom.

E.g: $$ \frac{a}{b} $$

This is a fraction:

$$ \frac{a}{b} $$

Example #3: Functions f(x) notation

How do you display a nice looking f(x) before your formula? Simple. Let's take the example in Example #1 and add f(x) = to the beginning.

Code: $$ f(x) = ax^2 + bx + c $$

This would display as:

$$ f(x) = ax^2 + bx + c $$

Hope that helps.


Notice: Undefined index: title in /home3/wmroi/public_html/merspi.com.au/qa-theme/NewMerspi/qa-theme.php on line 1251