Giter Site home page Giter Site logo

dsc-lingalg-linear-equations-quiz-dc-ds-career-042219's Introduction

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.

dsc-lingalg-linear-equations-quiz-dc-ds-career-042219's People

Contributors

shakeelraja avatar loredirick avatar alexgriff avatar sumedh10 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.