Search found 1 match

by twisterrob
Sat Jan 17, 2009 9:33 pm
Forum: Math & Science
Topic: How to put a horizontal line in eqnarray
Replies: 4
Views: 20274

How to put a horizontal line in eqnarray

In high school we used to solve a system of equation like this:
x + y = 10
x - y = 5
----------------
x + y = 10
x = 5 + y
----------------
(5 + y) + y = 10
5 + 2y = 10
2y = 5
y = 2.5
x = 5 + 2.5 = 7.5
Now I would like to write an equation array like this:
\begin{eqnarray*}
x + y &=& 10\\
x ...