Homework 2.1

Make a notebook in Sage Math Cloud and explain and perform a simple estimation. Include cells with Markdown for your text and explanation as well as cells with Python showing simple calculations.

Instructions

  • Write your name at the beginning of the document
  • Fill in or replace the cells below

References

If you want to learn more about Markdown and Python, here are some links to get started.

http://commonmark.org/help/

https://docs.python.org/3.4/tutorial/introduction.html

This is a Markdown cell, use it like a word processor

Explain what you are trying to estimate in words.

In [2]:
# This is a code cell, use it like a TI-84

1 + 2
Out[2]:
3

How many pizza's will we need?

If we are hungry each person will eat 3/8 of a pizza. X represents our class size.

http://gawker.com/how-many-pizzas-should-you-order-the-pizza-equation-wi-1697815579

In [20]:
x = 19
In [21]:
x * (3/8)
Out[21]:
7.125

We need at least 7 pizza's if our assumption that each person will eat 3/8ths of a pizza is true.

But what if people aren't hungry and only eat 2/9 of each pizza? then we would need:

In [24]:
x * (2/9)
Out[24]:
4.222222222222222

We would only need 4 to 5 pizzas. From this, I conclude, We need to determine a hunger scale before ordering any pizza.

In [ ]: