Working examples

This is not a Government of Canada website

The purpose of this website is to provide a working example of the WET-BOEW-GCWeb theme created by TNG Consulting Inc. together with the Government of Canada for Moodle software . Demo courses are only available in English however multi-language courses are supported.

MathML formulas

Style guide information

If you need to do formulas, consider enabling formulas in Moodle and using the built-in editor for easier data entry.

Simple formulas

Given the quadratic equation ax2+bx+c=0 , the roots are given by x=b±b24ac2a .

Complex formulas

Formula Result
Bernoulli Trials P(E)Probability of event E: Get exactly k heads in n coin flips.=(nk)Number of ways to get exactly k heads in n coin flipspProbability of getting heads in one flipkNumber of heads(1-p)Probability of getting tails in one flipn-kNumber of tails
Cauchy-Schwarz Inequality (k=1nakbk)2(k=1nak2)(k=1nbk2)
Cauchy Formula f(z)·Indγ(z)=12πiγf(ξ)ξ-zdξ
Cross Product V1×V2=|ijkXuYu0XvYv0|
Vandermonde Determinant |111v1v2vnv12v22vn2v1n-1v2n-1vnn-1|=1i<jn(vj-vi)
Lorenz Equations x˙=σ(y-x)y˙=ρx-y-xzz˙=-βz+xy
Maxwell's Equations { × B - 1 c E t = 4 π c j · E = 4 π ρ × E + 1 c B t = 0 · B = 0
Einstein Field Equations Rμν-12gμνR=8πGc4Tμν
Ramanujan Identity 1(φ5-φ)e25π=1+e-2π1+e-4π1+e-6π1+e-8π1+
Another Ramanujan identity k=112k·φ=120+121+121+122+123+125+
Rogers-Ramanujan Identity 1+k=1qk2+k(1-q)(1-q2)(1-qk)q2(1-q)+q6(1-q)(1-q2)+=j=01(1-q5j+2)(1-q5j+3)1(1-q2)(1-q3)×1(1-q7)(1-q8)×,  for  |q|<1.
Last modified: Monday, 26 August 2019, 10:08 AM
Date modified: