„Að nota OpenOffice - Math“: Munur á milli breytinga

Efni eytt Efni bætt við
Khbmeyer (spjall | framlög)
Khbmeyer (spjall | framlög)
Lína 57:
 
Hér fyrir neðan kemur listi með nokkur dæmi sem má afrita í Math. <br><br>
# deMorgans laws (fyrri regla)[http://en.wikipedia.org/wiki/De_Morgan's_laws]
overline {A union B} = overline {A} intersection overline{B} <br><br>
# Associative laws [http://en.wikipedia.org/wiki/Associative]
newline{(p or q ) or r} equiv {p or (q or r) } <br>
newline {p and q }and r equiv {p and(q and r)} <br><br>
# Pseudokoði Insertion sort [http://en.wikipedia.org/wiki/Insertion_sort]
procedure insertion sort ( a_{1},a_{2},a_{3},,,,a_{n}: real numbers with n >= 2 )<br>
newline for {j:= 2} "to" {n} <br>