HW4: Math Expressions

To give you some practice working through expressions, here are a few problems to try out. In writing this up, show the steps you used to come up with the answer.

Warning

A calculator will not be much help in this!

Here are the problems for you to work out.

  • 4 * 3 - 4
  • 4 * ( 3 - 4 )
  • 5 / 2.0
  • 5 / ( 2 - 4.0 )
  • 3 + 4 * 2 + 3 / 4 - 5
  • ( 3 + 4 ) * (2 + 3 ) / ( 4 - 5 )
  • ( 3 + 4.0 ) * ( 2 + 3 ) / ( 4 - 5 )
  • ( 3.0 - 2.0 ) / 2
  • ( 5 - 2.5 ) / 2
  • 1.0 / 3.0 * 3.0
  • 1.0 / ( 3.0 * 3.0