def p(s):print(s)
def o1():
p("=STANDARD=")
p("ax+b=0")
p("x=-b/a")
def o2():
p("=SLOPE-INT=")
p("y=mx+b")
p("m=slope")
p("b=y-int")
def o3():
p("=POINT-SL=")
p("y-y1=m(x-x1)")
def menu():
while True:
p("=LINEAR=")
p("1:STANDARD")
p("2:SLOPE-INT")
p("3:POINT-SL")
p("0:EXIT")
c=input("?>")
if c=="1":o1()
elif c=="2":o2()
elif c=="3":o3()
elif c=="0":break
menu()Tier 1 · algebra
Linear Eq Ref
Reference card for linear equation forms.
Files (1)
How to use it
Reference card for the three forms of a linear equation. No inputs — each menu option prints the form and the key identifier.
1:STANDARD—ax+b=0, sox=−b/a.2:SLOPE-INT—y=mx+bwithm= slope,b= y-intercept.3:POINT-SL—y−y₁ = m(x−x₁).0:EXIT— leave.
Example problem
A test asks you to write the equation of the line through (2, 5) with slope 3. You forget which form to use.
- Run
LINEAR. - Pick
3:POINT-SL. - Screen shows:
y-y1=m(x-x1).
Plug in: y − 5 = 3(x − 2). Optional: expand to slope-intercept form y = 3x − 1. ✓
TI-84 Plus CE — try before committingoff
TI-84 Plus CE
(calculator off) Press ON to start.
Test cases (2)
| ID | Inputs | Expected contains |
|---|---|---|
| standard-form | 1, 0 | ax+b=0 |
| slope-int-form | 2, 0 | y=mx+b |