# Khan/khan-exercises

### Subversion checkout URL

You can clone with HTTPS or Subversion.

Fetching contributors…

Cannot retrieve contributors at this time

99 lines (82 sloc) 4.04 kb
 Pythagorean theorem 1
randRange(3, 8) randRange(3, 8) AC * AC + BC * BC

In the right triangle shown, AC = AC and BC = BC. What is AB?

betterTriangle( BC, AC, "A", "B", "C", BC, AC, "?" );
AB2

We want to find c; let a = BC and b = AC.

So c^2 = BC^2 + AC^2 = AB2.

Then, c = \sqrt{AB2}.

Simplifying the radical gives c = formattedSquareRootOf(AB2).

randRange(3, 5) randRange(6, 10) AB * AB - AC * AC shuffle([["a", "?", "BC", sqrt(BC2)], ["b", AC, "AC", AC]]) legs[0] legs[1]

In the right triangle shown, bside = AC and AB = AB. What is aside?

betterTriangle( alen, blen, "A", "B", "C", alabel, blabel, AB );
BC2

We want to find a; let b = AC and c = AB.

So a^2 = c^2 - b^2 = AB^2 - AC^2 = BC2.

Then, a = \sqrt{BC2}.

Simplifying the radical gives a = formattedSquareRootOf(BC2).

We know a^2 + b^2 = c^2.

Something went wrong with that request. Please try again.