Jump to content

Recommended Posts

  • 8 months later...
Posted

Pardon the interuption, but I was trying to use LaTeX in the astronomy and cosmology section and it didn't seem to work. I'm just testing a short script here;

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s}\eq\frac{625900 m}{s}[/math]

 

[ math]\frac{2\times\pi\times8.8\times10^8 m}{8834s}\eq\frac{625900 m}{s}[/math ]

I inserted the spaces after the beginning and before the ending brackets so that the quoted section would appear as the original script I wrote.

 

Well...obviously I'm doing something wrong. The equation I'm trying to write is:

 

(2*pi*8.8*10^8 m)/(8834 s)=625900 m/s

 

Can anyone tell me what I'm doing wrong?

 

Chris

Posted (edited)

Pardon the interuption, but I was trying to use LaTeX in the astronomy and cosmology section and it didn't seem to work. I'm just testing a short script here;

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s}\eq\frac{625900 m}{s}[/math]

 

Try this:

 

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s} = 625900 m/s[/math]

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s} = 625900 m/s[/math]

 

or this:

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s} = 625900 m{s}^{-1}[/math]

 

[math]\frac{2\times\pi\times8.8\times10^8 m}{8834s} = 625900 m{s}^{-1}[/math]

Edited by murshid
Posted

[math]\frac{2\times\pi\times8.8\times10^8\,m}{8834\,s}=\frac{625900\,m}{s}=625,900\,m/s=625.9\,km/s[/math]

 

[ math]\frac{2\times\pi\times8.8\times10^8\,m}{8834\,s}=\frac{625900\,m}{s}=625,900\,m/s=625.9\,km/s[/math ]

 

It seems that what tripped me up is the use of "\eq" for the equals symbol instead of just inserting "=" in the script. Also, it's easier to read the equation if I use "\," before "m" and "s". I remember reading in one of the tutorial pages that spaces between characters are ignored.

 

Thanks for the help.

 

Chris

  • 8 months later...
  • 8 months later...
  • 3 months later...
  • 2 weeks later...
Posted

\left( \begin{array}{ccc}a & b & c \\d & e & f \\g & h & i \end{array} \right)

 

[latex]\left( \begin{array}{ccc}a & b & c \\d & e & f \\g & h & i \end{array} \right)[/latex]

 

There is probably an easier way

Posted

You can also try:

\begin{pmatrix}a & b & c \\d & e & f \\g & h & i \end{pmatrix}

 

[latex]\begin{pmatrix}a & b & c \\d & e & f \\g & h & i \end{pmatrix}[/latex]

  • 1 year later...
Posted

like this? /neq

 

no. You type \neq and then highlight it and select latex from the drop down lists accessed on the third button from the left of the top row. You then get

 

[latex]\neq[/latex]

  • 6 months later...
  • 4 weeks later...
Posted

You didn't include overbar!

 

\bar{x}

 

[math]\bar{x}[/math]

 

But this was the first thing I couldn't find in the tutorial. nice job

Posted

I was wondering if there is an easy answer about this. There are multiple versions of Latex, and I'm still a newbie to it. I was wondering if you guys knew which version is best to use and why? Also is there any fundamental differences between the different versions, and how much of the latex is standardized?

  • 11 months later...
Posted (edited)

[math]b_n= \frac{1}{T} \int^{T}_{0} f(t) \sin( \frac{2 \pi nt}{T})dt[/math]

[math]x^2[/math]

[math]xt=a0+\sum[a_k * \cos(\lambda_k * t) + b_k*\sin(\lambda_k*t)] [/math]

[math]\lambda = 2 * \pi * \nu_k[/math]

[math]\nu_k = k/q[/math]

[math]a_0 = \frac{1}{T} \int^{T}_{0} f(t) dt [/math]

 

[math]\frac{cov}{\sum^{n}_{i = 1}(x_i - \bar{x})^2 } [/math]

[math]\sum^{n}_{i = 1}[/math]

Edited by DevilSolution
  • 10 months later...
Posted (edited)

Notice that your sum is of the form [math]\sum_{n=1}^{m}\frac{P(n)}{2^n}[/math] where [math]P[/math] is a polynomial. You start your proof with an educated guess, that the sum will be of similar form, namely [math]\sum_{n=1}^{m}\frac{n^3}{2^n}\stackrel{?}{=}\frac{{Q{_1}(m)}2^m+Q{_2}(m)}{2^m}[/math] where [math]Q{_1}[/math] and [math]Q{_2}[/math] are themselves polynomials (you include a polynomial term multiplied by [math]2^m[/math] to increase your chances of success). You can be quite confident that [math]Q{_2}[/math] will be of at least same degree as [math]P[/math]. So, your first attempt is the simplest possible, where [math]Q{_1}[/math] has degree 0 (turning it into a constant) and [math]Q{_2}[/math] has degree 3.

This leads you to [math]\sum_{n=1}^{m}\frac{n^3}{2^n}\stackrel{?}{=}\frac{{a}2^m+{b}m^3+{c}m^2+{d}m+e}{2^m}[/math] for some real numbers [math]a,b,c,d,e[/math].

Evaluate at [math]m=1,\cdots,5[/math] and you get a system of 5 linear equations in 5 variables. That means that IF your guess was correct then this will lead you to the only possible solution. That's the one presented above, and once you found it you can proof it by induction.

Edited by renerpho
  • 4 weeks later...
Posted

testing

[math] s^{/frac{1}{2}} = 0 [/math]

 

your slash before the frac is the wrong way around

[latex]

 

s^{\frac{1}{2}}

[/latex]

 

click on mine to see difference

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.