# Writing and evaluating a function that models a real-world situation: Basic

#### Excel Pivot Tables and Dashboard. Simple & Quick tutorial!

Most Popular

7 Lectures 58 mins

#### Learn HTML Tables

15 Lectures 59 mins

#### Excel Analytics - Data Analysis with Pivot-Tables and Charts

46 Lectures 2.5 hours

In this lesson, given a real-world situation, we write a function to model the problem and then evaluate it for a particular situation or value.

Moe has savings of $70 and he earns$5 for each hour of lawn mowing. If A is the amount with Moe and h is the number of hours he works, write an equation in A and h. Find how much amount he has after 6 hours of mowing lawn.

### Solution

Step 1:

Equation in A and h, A = 70 + 5h; h = 6

Step 2:

A = 70 + 5h = 70 + 5(6) = 70 + 30 = $100; So, total amount with Moe = A =$100

Stacy is putting $270 in a savings account and adding$40 each week. Let S represent the total amount saved and let w represent the number of weeks Stacy has been adding money. Write an equation relating S and w and use it to find the total amount after 12 weeks.

### Solution

Step 1:

Equation in S and w, S = 270 + 40w; w = 12

Step 2:

S = 270 + 40w = 270 + 40(12) = 270 + 480 = $750; So, Total amount = S =$750