%! from django.utils.translation import ugettext as _ from django.core.urlresolvers import reverse %>
${_("For detailed information, see {math_link_start}Entering Mathematical and Scientific Expressions{math_link_end} in the {guide_link_start}edX Guide for Students{guide_link_end}.").format( math_link_start='', math_link_end='', guide_link_start='', guide_link_end='', )}
${_("Tips")}:
${_("Use parentheses () to make expressions clear. You can use parentheses inside other parentheses.")}
${_("Do not use spaces in expressions.")}
${_("For constants, indicate multiplication explicitly (example: 5*c).")}
${_("For affixes, type the number and affix without a space (example: 5c).")}
${_("For functions, type the name of the function, then the expression in parentheses.")}
${_("To Use")} | ${_("Type")} | ${_("Examples")} | |
---|---|---|---|
${_("Numbers")} | ${_("Integers")} ${_("Fractions")} ${_("Decimals")} |
2520 2/3 3.14, .98 |
|
${_("Operators")} |
## Translators: Please do not translate mathematical symbols.
${_("+ - * / (add, subtract, multiply, divide)")} ## Translators: Please do not translate mathematical symbols. ${_("^ (raise to a power)")} ## Translators: Please do not translate mathematical symbols. ${_("|| (parallel resistors)")} |
x+(2*y)/x-1
x^(n+1) v_IN+v_OUT 1||2 |
|
${_("Constants")} | c, e, g, i, j, k, pi, q, T | 20*c 418*T |
|
${_("Affixes")} | ${_("Percent sign (%) and metric affixes (d, c, m, u, n, p, k, M, G, T)")} | 20% 20c 418T |
|
${_("Basic functions")} | abs, exp, fact or factorial, ln, log2, log10, sqrt | abs(x+y) sqrt(x^2-y) |
|
${_("Trigonometric functions")} | sin, cos, tan, sec, csc, cot arcsin, sinh, arcsinh, etc. |
sin(4x+y) arccsch(4x+y) |
|
${_("Scientific notation")} | ## Translators: 10^ is a mathematical symbol. Please do not translate.${_("10^ and the exponent")} | 10^-9 | |
${_("e notation")} | ## Translators: 1e is a mathematical symbol. Please do not translate.${_("1e and the exponent")} | 1e-9 |