Skip to content

learn-co-students/dsc-lingalg-linear-equations-quiz-dc-ds-career-042219

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Systems of Linear Equations - Lab

Introduction

The following scenarios present problems that can be solved as a system of equations while performing substitutions and eliminations as you saw in the previous lesson.

  • Solve these problems by hand, showing all the steps to work out the unknown variable values
  • Verify your answers by showing the calculated values satisfy all equations

Objectives

In this lab you will:

  • Solve a system of equations using elimination and substitution

Exercise 1

Jane paid 12 dollars for 4 cups of coffee and 4 cups of tea. 3 cups of coffee cost as much as 2 cups of tea. What would be the total cost of 5 cups of coffee and 5 cups of tea?

Solution

Let $x$ be the unit price of coffee and $y$ be the unit price of tea

# Your solution here 
# Answer: 5 cups of tea and 5 cups of coffee = 15 dollars

Exercise 2

Jim has more money than Bob. If Jim gave Bob 20 dollars, they would have the same amount. If Bob gave Jim 22 dollars, however, Jim would then have twice as much as Bob.

How much does each one actually have?

Solution

Let x be the amount of money that Jim has and y be the amount that Bob has

# Your solution here 
# Answer:
# y = 106 (Bob's amount)
# x = 146 (Jim's amount)

Exercise 3

Mia has 30 coins, consisting of quarters (25 cents) and dimes (10 cents), which totals to the amount 5.70 dollars.
How many of each does she have?

Solution

Let x be the number of quarters and y be the number of dimes

# Your solution here 
# Answer:
# x = 18 quarters
# y = 12 dimes

Level up (Optional)

For more practice with linear equations, visit the following links for more complex equations:

Summary

In this lesson, you learned how to solve linear equations by hand to find the coefficient values. You'll now move forward to have a deeper look into vectors and matrices and how Python and NumPy can help us solve more complex equations in an analytical context.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •