<p>elf4EVA, I’ll PM you separately to explain how to get to the different commands.</p>
<p>kharnage, here are your requested programs (my disp quotations are in separate lines b/c if you put the text all in one line, it’ll get cut off. You can omit the beginning disps if you remember what the formula is for):</p>
<p>1) Finding the angle b/n the intersection of 2 lines (might seem random, but this appeared on the June test)</p>
<p>Disp “FIND ANGLE B/N”
Disp “TWO LINES,”
Disp “CHANGE MODE TO”
Disp “DEGREES”
Disp “A IS SLOPE 1”
Prompt A
Disp “B IS SLOPE 2”
Prompt B
-tan^-1((A-B)/(1+AB)) -> θ
Disp “θ is”
Disp θ
Stop</p>
<p>2) Area of any polygon (side length given)</p>
<p>Disp “FIND AREA OF A”
Disp “REG POLYGON GIV”
Disp “SIDE LENGTH,”
Disp “MODE IS DEGREES,”
Disp “N IS NUMBER OF”
Disp “SIDES”
Prompt N
360/(2N) -> A
Disp “S=SIDE LENGTH”
Prompt S
(S/2)/tan(A) -> H
.5(SH) -> B
BN -> Z
Disp “AREA IS”
Disp Z
Stop</p>
<p>3) Average rate when 2 rates are given (these are annoying and no, it’s not just the mean that we’ve all learned)</p>
<p>Disp “FIND AVERAGE”
Disp “RATE GIVEN 2”
Disp “RATES, WHICH=”
Disp “A AND B”
Prompt A,B
2/((1/A)+(1/B)) -> R
Disp “AV RATE =”
Disp R
Stop</p>
<p>4) Finding distance from a point to a line (perpendicular distance)</p>
<p>Disp “FIND DISTANCE”
Disp “FROM POINT TO”
Disp “LINE, PUT LINE”
Disp “IN AX+BY+C=0”
Disp “FORM”
Prompt A, B, C
Disp “(X,Y) IS POINT”
Prompt X,Y
(AX+BY+C)/(√(A^2+B^2)) -> D
Disp “DISTANCE IS”
Disp D
Stop</p>
<p>5) Heron’s formula (find area of a triangle given the lengths of all the sides)</p>
<p>Disp “FIND AREA OF”
Disp “TRIANGLE GIVEN”
Disp “LENGTH OF SIDES”
Prompt A,B,C
(A+B+C)/2 -> S
√(S(S-A)(S-B)(S-C)) -> D
Disp “AREA IS”
Disp D
Stop</p>
<p>6) Variation of Heron’s formula if coordinates of a triangle are given</p>
<p>Disp “FIND AREA OF”
Disp “TRIANGLE GIVEN”
Disp “COORDINATES”
Disp “(A,B),(C,D),(E,”
Disp “F)”
Prompt A,B,C,D,E,F
√((A-C)^2+(B-D)^2) -> X
√((C-E)^2+(D-F)^2) -> Y
√((E-A)^2+(F-B)^2) -> Z
(X+Y+Z)/2 -> S
√((S)(S-X)(S-Y)(S-Z)) -> G
Disp “AREA IS”
Disp G
Stop</p>
<p>7) Law of Cos
Disp “C IS SIDE WITH”
Disp “DESIRED ANGLE,”
Disp “CHANGE MODE TO”
Disp “DEGREES”
Prompt A,B,C
cos^-1((C^2-A^2-B^2)/(-2<em>A</em>B)) -> E
Disp “ANGLE C IS”
Disp E
Stop</p>
<p>And the generic ones:</p>
<p>Midpoint (don’t think this is necessary, but it’s there for people who want it):</p>
<p>Disp “(A,B),(C,D)”
Prompt A,B,C,D
(A+C)/2 -> X
(B+D)/2 -> Y
Disp “MIDPOINT IS”
Disp “X”
Disp X
Disp “Y”
Disp Y
Stop</p>
<p>Distance:</p>
<p>Disp “(A,B),(C,D)”
Prompt A,B,C,D
√((A-C)^2+(B-D)^2) -> X
Disp “D IS”
Disp X
Stop</p>
<p>Quadratic formula:</p>
<p>Prompt A,B,C
B^2-4AC -> D
(-B+√(D))/(2A) -> X
(-B-√(D))/(2A) -> Y
Disp “ANSWERS ARE”
Disp X
Disp Y
Stop</p>
<p>For people who are really programming all of this into their calculator… take your time ^^</p>