Exercises
Supply the commands to perform the following task
-
Assign these equations as written to the variable names
eq1
andeq2
, respectively. Uselhs
andrhs
to assign the correct side of each equation to create a new equation that can be solved fory
.eq1 := x = 6*y - 10 eq2 := -5*y + 50 = x eq3 := rhs(eq1) = lhs(eq2) sol := solve(eq3,y)
Comment: This sets up the equation to be solved for
y
and solves it. See the next lesson for more information about thesolve
command and how to solve symbolic equations for any variables in the equation.