Exercises

Supply the commands to perform the following task

  1. Assign these equations as written to the variable names eq1 and eq2, respectively. Use lhs and rhs to assign the correct side of each equation to create a new equation that can be solved for y.

              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 the solve command and how to solve symbolic equations for any variables in the equation.