(New page: Use latex code in between math tags as follows: <pre><math>Insert formula here</math> </pre> For example <center> =The basic estimate for the rectangle method= </center> Suppose that <ma...)
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Use latex code in between math tags as follows: <pre><math>Insert formula here</math> </pre>
+
=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>
  
For example
+
To view what to type in for math commands, hit Page| View Source, or Page| Edit.
<center>
+
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>
=The basic estimate for the rectangle method=
+
----
</center>
+
==Some examples==
 +
Some of the most common examples are listed below. To view a comprehensive list, check out some of these off-site links.
  
 +
* [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 11: 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===
 +
 
 +
<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>.
 +
 
 +
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>.
 +
 
 +
===Trig, dy/dx and triple integrals===
 +
 
 +
<math>\frac{1^5}{\sin(\pi)}</math>
 +
 
 +
<math>\iiint_{F}^{U} x^2+y^3+\sqrt[7]{z}\, d\theta\,dr\,dz</math>
 +
 
 +
===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. 
 +
<div style="margin-left: 3em;">
 +
<math>
 +
\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}
 +
</math>
 +
</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
  
where <math>\Delta x = (b-a)/N</math>, and let
+
<math>y = 4x^2 -3x+1</math>
  
<math>I=\int_a^b f(x)\ dx</math>.
+
makes you call your eye doctor, then check it out.
  
We shall prove that the error, <math>E=|R_N-I|</math> satisfies the estimate,
+
--[[User:Jmason|Jmason]] 16:03, 2 October 2008 (UTC)
  
<math>E\le \frac{M(b-a)^2}{N}</math>.
+
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

To all math majors: "Mathematics is a wonderfully rich subject."

Dr. Paul Garrett