Lesson goal: Solve Equations Previous:
Factor a polynomial |
Home | Next:
Take a derivative
Solving equations always comes up in many areas of math, so we've developed a function called
solve
that knows how to
solve linear equations. Linear equations are equations where the exponents of the variables you want to solve for are always one ($1$).
The
solve
function works like this:
answer = solve ( "your-equations" , "variables-to-solve-for" )
Move the mouse over a dotted box for more information.
Now you try. Try solving a linear equation. After that, try solving two equations with two unknowns (that is a "system of equations").
Type your code here:
Run
Hint... Example (3)... Share
This example will solve $4x-3y=-3$ for $x$. You might also try:
Solving $5x+3y=6$ and $2x-4y=5$ for $x$ and $y$.
Solving $2a+5b=3$ and $2a+b=9$ for $a$ and $b$.
$u+4u=56$ for $u$.
Dismiss.
Show a friend, family member, or teacher what you've done!
Here is a share link to your code:
Close
Does your code work? Want to run it on your iPhone?
Here's your code:
Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.
Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into
this page
Then click the "Use on iPhone" button that you'll see.