(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
=How to type math equations and symbols on Rhea=
 
To type in math symbols on Rhea, use latex code in between math tags as follows: <pre><math>Insert formula here</math> </pre>
 
To type in math symbols on Rhea, use latex code in between math tags as follows: <pre><math>Insert formula here</math> </pre>
For example, you can write <math>f_1(t)=\int_3^t \sin (x) dx</math>
 
Look at the source code of this page to find out how.
 
  
 +
To view what to type in for math commands, hit Page| View Source, or Page| Edit.
 +
One example: <math>f_1(t)=\int_3^t \sin (x) dx</math>. If you chose "Page, View Source", you would see <nowiki><math>f_1(t)=\int_3^t \sin (x) dx</math></nowiki>
 +
----
 +
==Some examples==
 +
Some of the most common examples are listed below. To view a comprehensive list, check out some of these off-site links.
  
==More Examples==
+
* [http://en.wikipedia.org/wiki/Help:Formula Using Latex on Rhea]
 +
* [http://www.ctan.org/tex-archive/info/symbols/comprehensive/ Comprehensive list of LaTeX commands]
 +
* [http://authors.aps.org/latex/ another list of Latex commands]
 +
 
 +
===Basic text===
 
Suppose that <math>f(x)</math> is a continuously differentiable function on
 
Suppose that <math>f(x)</math> is a continuously differentiable function on
 
<math>[a,b]</math>.  Let <math>N</math> be a positive integer and let
 
<math>[a,b]</math>.  Let <math>N</math> be a positive integer and let
Line 10: Line 18:
 
to be the the ''right endpoint'' Riemann Sum
 
to be the the ''right endpoint'' Riemann Sum
  
<math>R_N = \sum_{n=1}^N f(a+n\Delta x)\Delta x</math>
+
===Sums, integrals, and fractions===
  
where <math>\Delta x = (b-a)/N</math>, and let
+
<math>R_N = \sum_{n=1}^N f(a+n\Delta x)\Delta x</math> where <math>\Delta x = (b-a)/N</math>, and let <math>I=\int_a^b f(x)\ dx</math>.
  
<math>I=\int_a^b f(x)\ dx</math>.
+
We shall prove that the error, <math>E=|R_N-I|</math> satisfies the estimate, <math>E\le \frac{M(b-a)^2}{N}</math>.
  
We shall prove that the error, <math>E=|R_N-I|</math> satisfies the estimate,
+
===Trig, dy/dx and triple integrals===
 
+
<math>E\le \frac{M(b-a)^2}{N}</math>.
+
 
+
Here are some examples of math equations:
+
  
 
<math>\frac{1^5}{\sin(\pi)}</math>
 
<math>\frac{1^5}{\sin(\pi)}</math>
Line 26: Line 30:
 
<math>\iiint_{F}^{U} x^2+y^3+\sqrt[7]{z}\, d\theta\,dr\,dz</math>
 
<math>\iiint_{F}^{U} x^2+y^3+\sqrt[7]{z}\, d\theta\,dr\,dz</math>
  
=== Multi-lin Equations ===
+
===Matrices===
 +
<math>\begin{bmatrix}
 +
80 & a & b \\
 +
x_3 & b^3 & \sin(\pi) \end{bmatrix}</math>
 +
 
 +
=== Multi-line Equations ===
 
You can align multi-line equations as follows.   
 
You can align multi-line equations as follows.   
 
<div style="margin-left: 3em;">
 
<div style="margin-left: 3em;">
Line 37: Line 46:
 
</math>
 
</math>
 
</div>
 
</div>
 +
----
 +
==How to fix tiny type. ==
 +
Just wanted to point out that a number of one-line functions will render all tiny and ugly unless you go to "My Preferences" at the top of the page, click the "Math" tab, and select "Always render PNG."  This will prevent your browser form simply showing you some formatted text instead of rendered, full-size math equations.  If
  
See Also:  
+
<math>y = 4x^2 -3x+1</math>
* [http://en.wikipedia.org/wiki/Help:Formula Using Latex on Rhea]
+
 
* [http://www.ctan.org/tex-archive/info/symbols/comprehensive/ Comprehensive list of LaTeX commands]
+
makes you call your eye doctor, then check it out.
 +
 
 +
--[[User:Jmason|Jmason]] 16:03, 2 October 2008 (UTC)
 +
 
 +
Thank you very much for the advice.  I was wondering how to stop it from doing that!! - [[User:Gbrizend|Gary Brizendine II]]
 +
----
 +
==More Resources==
 +
*[[Media:Latex_1.pdf|Introduction to writing documents using Latex (chapter 1)]] by [https://projectrhea.org/liaisons/index.php/Krithika Krithika Chandrasekar]]
 +
*[http://meta.wikimedia.org/wiki/Help:Displaying_a_formula How to write formulas in mediawiki using latex (from Wikipedia)]
 +
----
 +
[[Help:Contents|Back to main help page]]

Latest revision as of 06:02, 23 September 2011

How to type math equations and symbols on Rhea

To type in math symbols on Rhea, use latex code in between math tags as follows:
<math>Insert formula here</math> 

To view what to type in for math commands, hit Page| View Source, or Page| Edit. One example: $ f_1(t)=\int_3^t \sin (x) dx $. If you chose "Page, View Source", you would see <math>f_1(t)=\int_3^t \sin (x) dx</math>


Some examples

Some of the most common examples are listed below. To view a comprehensive list, check out some of these off-site links.

Basic text

Suppose that $ f(x) $ is a continuously differentiable function on $ [a,b] $. Let $ N $ be a positive integer and let $ M=\text{Max}\ \{ |f'(x)|: a\le x\le b\} $. Define $ R_N $ to be the the right endpoint Riemann Sum

Sums, integrals, and fractions

$ R_N = \sum_{n=1}^N f(a+n\Delta x)\Delta x $ where $ \Delta x = (b-a)/N $, and let $ I=\int_a^b f(x)\ dx $.

We shall prove that the error, $ E=|R_N-I| $ satisfies the estimate, $ E\le \frac{M(b-a)^2}{N} $.

Trig, dy/dx and triple integrals

$ \frac{1^5}{\sin(\pi)} $

$ \iiint_{F}^{U} x^2+y^3+\sqrt[7]{z}\, d\theta\,dr\,dz $

Matrices

$ \begin{bmatrix} 80 & a & b \\ x_3 & b^3 & \sin(\pi) \end{bmatrix} $

Multi-line Equations

You can align multi-line equations as follows.

$ \begin{align} \bar f(x) &= \oint_S g(x) dx \\ &= \int_a^b g(x) dx \\ &= \frac{\mu_0}{2 \pi a \cdot b} \end{align} $


How to fix tiny type.

Just wanted to point out that a number of one-line functions will render all tiny and ugly unless you go to "My Preferences" at the top of the page, click the "Math" tab, and select "Always render PNG." This will prevent your browser form simply showing you some formatted text instead of rendered, full-size math equations. If

$ y = 4x^2 -3x+1 $

makes you call your eye doctor, then check it out.

--Jmason 16:03, 2 October 2008 (UTC)

Thank you very much for the advice. I was wondering how to stop it from doing that!! - Gary Brizendine II


More Resources


Back to main help page

Alumni Liaison

BSEE 2004, current Ph.D. student researching signal and image processing.

Landis Huffman