- Tables, Graphs, Functions and Sequences
- Home
- Making a table and plotting points given a unit rate
- Graphing whole number functions
- Function tables with two-step rules
- Writing a function rule given a table of ordered pairs: One-step rules
- Graphing a line in quadrant 1
- Interpreting a line graph
- Finding outputs of a one-step function that models a real-world situation
- Finding outputs of a two-step function with decimals that models a real-world situation
- Writing and evaluating a function that models a real-world situation: Basic
- Graphing ordered pairs and writing an equation from a table of values in context
- Writing an equation and drawing its graph to model a real-world situation: Basic
- Identifying independent and dependent quantities from tables and graphs
- Finding the next terms of an arithmetic sequence with whole numbers
- Finding the next terms of a geometric sequence with whole numbers
- Finding patterns in shapes

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

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

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