Note03.pdf - 1.4 Multiline definitions of functions-putting...

This preview shows page 1 - 3 out of 11 pages.

1.4 Multiline definitions of functions-putting piecestogetherWe may use arithmetic operations to define new functions fromknown functions. The following examples show that new functionscan also be obtained by pieceing together known functions.ExampleThe sales tax rates are sometimes different for differenttypes of items. For example, a“luxury item”may be taxed at 12%,food many have no tax, and all other items may have a 6% tax.This situation can be illustrated by the following function.T(x) =0ifxis the cost of a food0.12xifxis the cost of a luxury item0.06xifxis the cost of any other item

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture