Exercises

Write the commands to...

  1. Assign the sum of x and y to a1
    Assign the sum of x and y subtracted from z to a2
    Assign the sum of a1 and a2 to a3
    Display the values of a1, a2, and a3

    a1:=x+y
    a2:=z-a1
    a3:=a1+a2
    a1
    a2
    a3

  2. Assign the sum of a1 squared and a2 squared to a4.

    a4:=a1^2 +a2^2
    Comment: The right arrow is used to exit the superscript to continue the assignment.

  3. Input the product of x and y and assign it to b1
    Input the product of x and z and assign it to b2
    Find the result of raising e to the power of the product of b1 and b2

    b1:=x*y
    b2:=x*z
    exp(b1*b2)