2879 lines
62 KiB
Plaintext
2879 lines
62 KiB
Plaintext
{
|
|
"cells": [
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"# Project: Linear Regression\n",
|
|
"\n",
|
|
"Reggie is a mad scientist who has been hired by the local fast food joint to build their newest ball pit in the play area. As such, he is working on researching the bounciness of different balls so as to optimize the pit. He is running an experiment to bounce different sizes of bouncy balls, and then fitting lines to the data points he records. He has heard of linear regression, but needs your help to implement a version of linear regression in Python.\n",
|
|
"\n",
|
|
"_Linear Regression_ is when you have a group of points on a graph, and you find a line that approximately resembles that group of points. A good Linear Regression algorithm minimizes the _error_, or the distance from each point to the line. A line with the least error is the line that fits the data the best. We call this a line of _best fit_.\n",
|
|
"\n",
|
|
"We will use loops, lists, and arithmetic to create a function that will find a line of best fit when given a set of data.\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"## Part 1: Calculating Error"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"\n",
|
|
"The line we will end up with will have a formula that looks like:\n",
|
|
"```\n",
|
|
"y = m*x + b\n",
|
|
"```\n",
|
|
"`m` is the slope of the line and `b` is the intercept, where the line crosses the y-axis.\n",
|
|
"\n",
|
|
"Fill in the function called `get_y()` that takes in `m`, `b`, and `x`. It should return what the `y` value would be for that `x` on that line!\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 7,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"True\n",
|
|
"True\n"
|
|
]
|
|
}
|
|
],
|
|
"source": [
|
|
"def get_y(m, b, x):\n",
|
|
" y = m*x + b\n",
|
|
" return y\n",
|
|
"\n",
|
|
"print(get_y(1, 0, 7) == 7)\n",
|
|
"print(get_y(5, 10, 3) == 25)\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"\n",
|
|
"Reggie wants to try a bunch of different `m` values and `b` values and see which line produces the least error. To calculate error between a point and a line, he wants a function called `calculate_error()`, which will take in `m`, `b`, and an [x, y] point called `point` and return the distance between the line and the point.\n",
|
|
"\n",
|
|
"To find the distance:\n",
|
|
"1. Get the x-value from the point and store it in a variable called `x_point`\n",
|
|
"2. Get the y-value from the point and store it in a variable called `y_point`\n",
|
|
"3. Use `get_y()` to get the y-value that `x_point` would be on the line\n",
|
|
"4. Find the difference between the y from `get_y` and `y_point`\n",
|
|
"5. Return the absolute value of the distance (you can use the built-in function `abs()` to do this)\n",
|
|
"\n",
|
|
"The distance represents the error between the line `y = m*x + b` and the `point` given.\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 8,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"#Write your calculate_error() function here\n",
|
|
"\n",
|
|
"def calculate_error(m, b, point):\n",
|
|
" x_point = point[0]\n",
|
|
" y_point = point[1]\n",
|
|
" \n",
|
|
" y2 = get_y(m, b, x_point)\n",
|
|
" \n",
|
|
" y_diff = y_point - y2\n",
|
|
" y_diff = abs(y_diff)\n",
|
|
" return y_diff\n",
|
|
" "
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"Let's test this function!"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 22,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"0\n",
|
|
"1\n",
|
|
"1\n",
|
|
"5\n",
|
|
"0.40000000000000036\n",
|
|
"0.0\n"
|
|
]
|
|
}
|
|
],
|
|
"source": [
|
|
"#this is a line that looks like y = x, so (3, 3) should lie on it. thus, error should be 0:\n",
|
|
"print(calculate_error(1, 0, (3, 3)))\n",
|
|
"#the point (3, 4) should be 1 unit away from the line y = x:\n",
|
|
"print(calculate_error(1, 0, (3, 4)))\n",
|
|
"#the point (3, 3) should be 1 unit away from the line y = x - 1:\n",
|
|
"print(calculate_error(1, -1, (3, 3)))\n",
|
|
"#the point (3, 3) should be 5 units away from the line y = -x + 1:\n",
|
|
"print(calculate_error(-1, 1, (3, 3)))\n",
|
|
"print(calculate_error(0.3, 1.7, (3, 3)))\n",
|
|
"print(calculate_error(1.0, 0.0, (3, 3)))"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {
|
|
"collapsed": true
|
|
},
|
|
"source": [
|
|
"Great! Reggie's datasets will be sets of points. For example, he ran an experiment comparing the width of bouncy balls to how high they bounce:\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 10,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"datapoints = [(1, 2), (2, 0), (3, 4), (4, 4), (5, 3)]"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {
|
|
"collapsed": true
|
|
},
|
|
"source": [
|
|
"The first datapoint, `(1, 2)`, means that his 1cm bouncy ball bounced 2 meters. The 4cm bouncy ball bounced 4 meters.\n",
|
|
"\n",
|
|
"As we try to fit a line to this data, we will need a function called `calculate_all_error`, which takes `m` and `b` that describe a line, and `points`, a set of data like the example above.\n",
|
|
"\n",
|
|
"`calculate_all_error` should iterate through each `point` in `points` and calculate the error from that point to the line (using `calculate_error`). It should keep a running total of the error, and then return that total after the loop.\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 18,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"#Write your calculate_all_error function here\n",
|
|
"\n",
|
|
"def calculate_all_error(m, b, points):\n",
|
|
" totalerror = 0\n",
|
|
" for point in points:\n",
|
|
" totalerror += calculate_error(m, b, point)\n",
|
|
" \n",
|
|
" return abs(totalerror)"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"Let's test this function!"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 12,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"0\n",
|
|
"4\n",
|
|
"4\n",
|
|
"18\n"
|
|
]
|
|
}
|
|
],
|
|
"source": [
|
|
"#every point in this dataset lies upon y=x, so the total error should be zero:\n",
|
|
"datapoints = [(1, 1), (3, 3), (5, 5), (-1, -1)]\n",
|
|
"print(calculate_all_error(1, 0, datapoints))\n",
|
|
"\n",
|
|
"#every point in this dataset is 1 unit away from y = x + 1, so the total error should be 4:\n",
|
|
"datapoints = [(1, 1), (3, 3), (5, 5), (-1, -1)]\n",
|
|
"print(calculate_all_error(1, 1, datapoints))\n",
|
|
"\n",
|
|
"#every point in this dataset is 1 unit away from y = x - 1, so the total error should be 4:\n",
|
|
"datapoints = [(1, 1), (3, 3), (5, 5), (-1, -1)]\n",
|
|
"print(calculate_all_error(1, -1, datapoints))\n",
|
|
"\n",
|
|
"\n",
|
|
"#the points in this dataset are 1, 5, 9, and 3 units away from y = -x + 1, respectively, so total error should be\n",
|
|
"# 1 + 5 + 9 + 3 = 18\n",
|
|
"datapoints = [(1, 1), (3, 3), (5, 5), (-1, -1)]\n",
|
|
"print(calculate_all_error(-1, 1, datapoints))"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"Great! It looks like we now have a function that can take in a line and Reggie's data and return how much error that line produces when we try to fit it to the data.\n",
|
|
"\n",
|
|
"Our next step is to find the `m` and `b` that minimizes this error, and thus fits the data best!\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"## Part 2: Try a bunch of slopes and intercepts!\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"The way Reggie wants to find a line of best fit is by trial and error. He wants to try a bunch of different slopes (`m` values) and a bunch of different intercepts (`b` values) and see which one produces the smallest error value for his dataset.\n",
|
|
"\n",
|
|
"Using a list comprehension, let's create a list of possible `m` values to try. Make the list `possible_ms` that goes from -10 to 10 inclusive, in increments of 0.1.\n",
|
|
"\n",
|
|
"Hint (to view this hint, either double-click this cell or highlight the following white space): <font color=\"white\">you can go through the values in range(-100, 100) and multiply each one by 0.1</font>\n",
|
|
"\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 13,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"possible_ms = [mv * 0.1 for mv in range(-100, 100)] #your list comprehension here "
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"Now, let's make a list of `possible_bs` to check that would be the values from -20 to 20 inclusive, in steps of 0.1:"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 14,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"possible_bs = [bv * 0.1 for bv in range(-200, 200)] #your list comprehension here"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"We are going to find the smallest error. First, we will make every possible `y = m*x + b` line by pairing all of the possible `m`s with all of the possible `b`s. Then, we will see which `y = m*x + b` line produces the smallest total error with the set of data stored in `datapoint`.\n",
|
|
"\n",
|
|
"First, create the variables that we will be optimizing:\n",
|
|
"* `smallest_error` — this should start at infinity (`float(\"inf\")`) so that any error we get at first will be smaller than our value of `smallest_error`\n",
|
|
"* `best_m` — we can start this at `0`\n",
|
|
"* `best_b` — we can start this at `0`\n",
|
|
"\n",
|
|
"We want to:\n",
|
|
"* Iterate through each element `m` in `possible_ms`\n",
|
|
"* For every `m` value, take every `b` value in `possible_bs`\n",
|
|
"* If the value returned from `calculate_all_error` on this `m` value, this `b` value, and `datapoints` is less than our current `smallest_error`,\n",
|
|
"* Set `best_m` and `best_b` to be these values, and set `smallest_error` to this error.\n",
|
|
"\n",
|
|
"By the end of these nested loops, the `smallest_error` should hold the smallest error we have found, and `best_m` and `best_b` should be the values that produced that smallest error value.\n",
|
|
"\n",
|
|
"Print out `best_m`, `best_b` and `smallest_error` after the loops.\n",
|
|
"\n"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 19,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"168.0\n",
|
|
"-10.0\n",
|
|
"-20.0\n",
|
|
"167.60000000000002\n",
|
|
"-10.0\n",
|
|
"-19.900000000000002\n",
|
|
"167.2\n",
|
|
"-10.0\n",
|
|
"-19.8\n",
|
|
"166.8\n",
|
|
"-10.0\n",
|
|
"-19.700000000000003\n",
|
|
"166.4\n",
|
|
"-10.0\n",
|
|
"-19.6\n",
|
|
"166.0\n",
|
|
"-10.0\n",
|
|
"-19.5\n",
|
|
"165.60000000000002\n",
|
|
"-10.0\n",
|
|
"-19.400000000000002\n",
|
|
"165.2\n",
|
|
"-10.0\n",
|
|
"-19.3\n",
|
|
"164.8\n",
|
|
"-10.0\n",
|
|
"-19.200000000000003\n",
|
|
"164.4\n",
|
|
"-10.0\n",
|
|
"-19.1\n",
|
|
"164.0\n",
|
|
"-10.0\n",
|
|
"-19.0\n",
|
|
"163.60000000000002\n",
|
|
"-10.0\n",
|
|
"-18.900000000000002\n",
|
|
"163.2\n",
|
|
"-10.0\n",
|
|
"-18.8\n",
|
|
"162.8\n",
|
|
"-10.0\n",
|
|
"-18.7\n",
|
|
"162.4\n",
|
|
"-10.0\n",
|
|
"-18.6\n",
|
|
"162.0\n",
|
|
"-10.0\n",
|
|
"-18.5\n",
|
|
"161.60000000000002\n",
|
|
"-10.0\n",
|
|
"-18.400000000000002\n",
|
|
"161.2\n",
|
|
"-10.0\n",
|
|
"-18.3\n",
|
|
"160.8\n",
|
|
"-10.0\n",
|
|
"-18.2\n",
|
|
"160.4\n",
|
|
"-10.0\n",
|
|
"-18.1\n",
|
|
"160.0\n",
|
|
"-10.0\n",
|
|
"-18.0\n",
|
|
"159.60000000000002\n",
|
|
"-10.0\n",
|
|
"-17.900000000000002\n",
|
|
"159.2\n",
|
|
"-10.0\n",
|
|
"-17.8\n",
|
|
"158.8\n",
|
|
"-10.0\n",
|
|
"-17.7\n",
|
|
"158.4\n",
|
|
"-10.0\n",
|
|
"-17.6\n",
|
|
"158.0\n",
|
|
"-10.0\n",
|
|
"-17.5\n",
|
|
"157.60000000000002\n",
|
|
"-10.0\n",
|
|
"-17.400000000000002\n",
|
|
"157.2\n",
|
|
"-10.0\n",
|
|
"-17.3\n",
|
|
"156.8\n",
|
|
"-10.0\n",
|
|
"-17.2\n",
|
|
"156.4\n",
|
|
"-10.0\n",
|
|
"-17.1\n",
|
|
"156.0\n",
|
|
"-10.0\n",
|
|
"-17.0\n",
|
|
"155.60000000000002\n",
|
|
"-10.0\n",
|
|
"-16.900000000000002\n",
|
|
"155.2\n",
|
|
"-10.0\n",
|
|
"-16.8\n",
|
|
"154.8\n",
|
|
"-10.0\n",
|
|
"-16.7\n",
|
|
"154.4\n",
|
|
"-10.0\n",
|
|
"-16.6\n",
|
|
"154.0\n",
|
|
"-10.0\n",
|
|
"-16.5\n",
|
|
"153.60000000000002\n",
|
|
"-10.0\n",
|
|
"-16.400000000000002\n",
|
|
"153.2\n",
|
|
"-10.0\n",
|
|
"-16.3\n",
|
|
"152.8\n",
|
|
"-10.0\n",
|
|
"-16.2\n",
|
|
"152.4\n",
|
|
"-10.0\n",
|
|
"-16.1\n",
|
|
"152.0\n",
|
|
"-10.0\n",
|
|
"-16.0\n",
|
|
"151.6\n",
|
|
"-10.0\n",
|
|
"-15.9\n",
|
|
"151.2\n",
|
|
"-10.0\n",
|
|
"-15.8\n",
|
|
"150.8\n",
|
|
"-10.0\n",
|
|
"-15.700000000000001\n",
|
|
"150.4\n",
|
|
"-10.0\n",
|
|
"-15.600000000000001\n",
|
|
"150.0\n",
|
|
"-10.0\n",
|
|
"-15.5\n",
|
|
"149.6\n",
|
|
"-10.0\n",
|
|
"-15.4\n",
|
|
"149.2\n",
|
|
"-10.0\n",
|
|
"-15.3\n",
|
|
"148.8\n",
|
|
"-10.0\n",
|
|
"-15.200000000000001\n",
|
|
"148.4\n",
|
|
"-10.0\n",
|
|
"-15.100000000000001\n",
|
|
"148.0\n",
|
|
"-10.0\n",
|
|
"-15.0\n",
|
|
"147.6\n",
|
|
"-10.0\n",
|
|
"-14.9\n",
|
|
"147.2\n",
|
|
"-10.0\n",
|
|
"-14.8\n",
|
|
"146.8\n",
|
|
"-10.0\n",
|
|
"-14.700000000000001\n",
|
|
"146.4\n",
|
|
"-10.0\n",
|
|
"-14.600000000000001\n",
|
|
"146.0\n",
|
|
"-10.0\n",
|
|
"-14.5\n",
|
|
"145.6\n",
|
|
"-10.0\n",
|
|
"-14.4\n",
|
|
"145.2\n",
|
|
"-10.0\n",
|
|
"-14.3\n",
|
|
"144.8\n",
|
|
"-10.0\n",
|
|
"-14.200000000000001\n",
|
|
"144.4\n",
|
|
"-10.0\n",
|
|
"-14.100000000000001\n",
|
|
"144.0\n",
|
|
"-10.0\n",
|
|
"-14.0\n",
|
|
"143.6\n",
|
|
"-10.0\n",
|
|
"-13.9\n",
|
|
"143.2\n",
|
|
"-10.0\n",
|
|
"-13.8\n",
|
|
"142.8\n",
|
|
"-10.0\n",
|
|
"-13.700000000000001\n",
|
|
"142.4\n",
|
|
"-10.0\n",
|
|
"-13.600000000000001\n",
|
|
"142.0\n",
|
|
"-10.0\n",
|
|
"-13.5\n",
|
|
"141.6\n",
|
|
"-10.0\n",
|
|
"-13.4\n",
|
|
"141.2\n",
|
|
"-10.0\n",
|
|
"-13.3\n",
|
|
"140.8\n",
|
|
"-10.0\n",
|
|
"-13.200000000000001\n",
|
|
"140.4\n",
|
|
"-10.0\n",
|
|
"-13.100000000000001\n",
|
|
"140.0\n",
|
|
"-10.0\n",
|
|
"-13.0\n",
|
|
"139.6\n",
|
|
"-10.0\n",
|
|
"-12.9\n",
|
|
"139.2\n",
|
|
"-10.0\n",
|
|
"-12.8\n",
|
|
"138.8\n",
|
|
"-10.0\n",
|
|
"-12.700000000000001\n",
|
|
"138.4\n",
|
|
"-10.0\n",
|
|
"-12.600000000000001\n",
|
|
"138.0\n",
|
|
"-10.0\n",
|
|
"-12.5\n",
|
|
"137.6\n",
|
|
"-10.0\n",
|
|
"-12.4\n",
|
|
"137.2\n",
|
|
"-10.0\n",
|
|
"-12.3\n",
|
|
"136.8\n",
|
|
"-10.0\n",
|
|
"-12.200000000000001\n",
|
|
"136.4\n",
|
|
"-10.0\n",
|
|
"-12.100000000000001\n",
|
|
"136.0\n",
|
|
"-10.0\n",
|
|
"-12.0\n",
|
|
"135.6\n",
|
|
"-10.0\n",
|
|
"-11.9\n",
|
|
"135.2\n",
|
|
"-10.0\n",
|
|
"-11.8\n",
|
|
"134.8\n",
|
|
"-10.0\n",
|
|
"-11.700000000000001\n",
|
|
"134.4\n",
|
|
"-10.0\n",
|
|
"-11.600000000000001\n",
|
|
"134.0\n",
|
|
"-10.0\n",
|
|
"-11.5\n",
|
|
"133.6\n",
|
|
"-10.0\n",
|
|
"-11.4\n",
|
|
"133.2\n",
|
|
"-10.0\n",
|
|
"-11.3\n",
|
|
"132.8\n",
|
|
"-10.0\n",
|
|
"-11.200000000000001\n",
|
|
"132.4\n",
|
|
"-10.0\n",
|
|
"-11.100000000000001\n",
|
|
"132.0\n",
|
|
"-10.0\n",
|
|
"-11.0\n",
|
|
"131.79999999999998\n",
|
|
"-10.0\n",
|
|
"-10.9\n",
|
|
"131.59999999999997\n",
|
|
"-10.0\n",
|
|
"-10.8\n",
|
|
"131.40000000000003\n",
|
|
"-10.0\n",
|
|
"-10.700000000000001\n",
|
|
"131.20000000000002\n",
|
|
"-10.0\n",
|
|
"-10.600000000000001\n",
|
|
"131.0\n",
|
|
"-10.0\n",
|
|
"-10.5\n",
|
|
"130.79999999999998\n",
|
|
"-10.0\n",
|
|
"-10.4\n",
|
|
"130.59999999999997\n",
|
|
"-10.0\n",
|
|
"-10.3\n",
|
|
"130.40000000000003\n",
|
|
"-10.0\n",
|
|
"-10.200000000000001\n",
|
|
"130.20000000000002\n",
|
|
"-10.0\n",
|
|
"-10.100000000000001\n",
|
|
"130.0\n",
|
|
"-10.0\n",
|
|
"-10.0\n",
|
|
"129.79999999999998\n",
|
|
"-10.0\n",
|
|
"-9.9\n",
|
|
"129.59999999999997\n",
|
|
"-10.0\n",
|
|
"-9.8\n",
|
|
"129.40000000000003\n",
|
|
"-10.0\n",
|
|
"-9.700000000000001\n",
|
|
"129.2\n",
|
|
"-10.0\n",
|
|
"-9.600000000000001\n",
|
|
"129.0\n",
|
|
"-10.0\n",
|
|
"-9.5\n",
|
|
"128.8\n",
|
|
"-10.0\n",
|
|
"-9.4\n",
|
|
"128.6\n",
|
|
"-10.0\n",
|
|
"-9.3\n",
|
|
"128.4\n",
|
|
"-10.0\n",
|
|
"-9.200000000000001\n",
|
|
"128.2\n",
|
|
"-10.0\n",
|
|
"-9.1\n",
|
|
"128.0\n",
|
|
"-10.0\n",
|
|
"-9.0\n",
|
|
"127.79999999999998\n",
|
|
"-10.0\n",
|
|
"-8.9\n",
|
|
"127.6\n",
|
|
"-10.0\n",
|
|
"-8.8\n",
|
|
"127.4\n",
|
|
"-10.0\n",
|
|
"-8.700000000000001\n",
|
|
"127.20000000000002\n",
|
|
"-10.0\n",
|
|
"-8.6\n",
|
|
"127.0\n",
|
|
"-10.0\n",
|
|
"-8.5\n",
|
|
"126.79999999999998\n",
|
|
"-10.0\n",
|
|
"-8.4\n",
|
|
"126.6\n",
|
|
"-10.0\n",
|
|
"-8.3\n",
|
|
"126.4\n",
|
|
"-10.0\n",
|
|
"-8.200000000000001\n",
|
|
"126.20000000000002\n",
|
|
"-10.0\n",
|
|
"-8.1\n",
|
|
"126.0\n",
|
|
"-10.0\n",
|
|
"-8.0\n",
|
|
"125.79999999999998\n",
|
|
"-10.0\n",
|
|
"-7.9\n",
|
|
"125.6\n",
|
|
"-10.0\n",
|
|
"-7.800000000000001\n",
|
|
"125.4\n",
|
|
"-10.0\n",
|
|
"-7.7\n",
|
|
"125.20000000000002\n",
|
|
"-10.0\n",
|
|
"-7.6000000000000005\n",
|
|
"125.0\n",
|
|
"-10.0\n",
|
|
"-7.5\n",
|
|
"124.79999999999998\n",
|
|
"-10.0\n",
|
|
"-7.4\n",
|
|
"124.6\n",
|
|
"-10.0\n",
|
|
"-7.300000000000001\n",
|
|
"124.4\n",
|
|
"-10.0\n",
|
|
"-7.2\n",
|
|
"124.20000000000002\n",
|
|
"-10.0\n",
|
|
"-7.1000000000000005\n",
|
|
"124.0\n",
|
|
"-10.0\n",
|
|
"-7.0\n",
|
|
"123.79999999999998\n",
|
|
"-10.0\n",
|
|
"-6.9\n",
|
|
"123.6\n",
|
|
"-10.0\n",
|
|
"-6.800000000000001\n",
|
|
"123.4\n",
|
|
"-10.0\n",
|
|
"-6.7\n",
|
|
"123.20000000000002\n",
|
|
"-10.0\n",
|
|
"-6.6000000000000005\n",
|
|
"123.0\n",
|
|
"-10.0\n",
|
|
"-6.5\n",
|
|
"122.79999999999998\n",
|
|
"-10.0\n",
|
|
"-6.4\n",
|
|
"122.6\n",
|
|
"-10.0\n",
|
|
"-6.300000000000001\n",
|
|
"122.4\n",
|
|
"-10.0\n",
|
|
"-6.2\n",
|
|
"122.20000000000002\n",
|
|
"-10.0\n",
|
|
"-6.1000000000000005\n",
|
|
"122.0\n",
|
|
"-10.0\n",
|
|
"-6.0\n",
|
|
"121.79999999999998\n",
|
|
"-10.0\n",
|
|
"-5.9\n",
|
|
"121.6\n",
|
|
"-10.0\n",
|
|
"-5.800000000000001\n",
|
|
"121.4\n",
|
|
"-10.0\n",
|
|
"-5.7\n",
|
|
"121.20000000000002\n",
|
|
"-10.0\n",
|
|
"-5.6000000000000005\n",
|
|
"121.0\n",
|
|
"-10.0\n",
|
|
"-5.5\n",
|
|
"120.79999999999998\n",
|
|
"-10.0\n",
|
|
"-5.4\n",
|
|
"120.6\n",
|
|
"-10.0\n",
|
|
"-5.300000000000001\n",
|
|
"120.4\n",
|
|
"-10.0\n",
|
|
"-5.2\n",
|
|
"120.20000000000002\n",
|
|
"-10.0\n",
|
|
"-5.1000000000000005\n",
|
|
"120.0\n",
|
|
"-10.0\n",
|
|
"-5.0\n",
|
|
"119.79999999999998\n",
|
|
"-10.0\n",
|
|
"-4.9\n",
|
|
"119.6\n",
|
|
"-10.0\n",
|
|
"-4.800000000000001\n",
|
|
"119.4\n",
|
|
"-10.0\n",
|
|
"-4.7\n",
|
|
"119.20000000000002\n",
|
|
"-10.0\n",
|
|
"-4.6000000000000005\n",
|
|
"119.0\n",
|
|
"-10.0\n",
|
|
"-4.5\n",
|
|
"118.79999999999998\n",
|
|
"-10.0\n",
|
|
"-4.4\n",
|
|
"118.6\n",
|
|
"-10.0\n",
|
|
"-4.3\n",
|
|
"118.4\n",
|
|
"-10.0\n",
|
|
"-4.2\n",
|
|
"118.20000000000002\n",
|
|
"-10.0\n",
|
|
"-4.1000000000000005\n",
|
|
"118.0\n",
|
|
"-10.0\n",
|
|
"-4.0\n",
|
|
"117.79999999999998\n",
|
|
"-10.0\n",
|
|
"-3.9000000000000004\n",
|
|
"117.6\n",
|
|
"-10.0\n",
|
|
"-3.8000000000000003\n",
|
|
"117.4\n",
|
|
"-10.0\n",
|
|
"-3.7\n",
|
|
"117.20000000000002\n",
|
|
"-10.0\n",
|
|
"-3.6\n",
|
|
"117.0\n",
|
|
"-10.0\n",
|
|
"-3.5\n",
|
|
"116.79999999999998\n",
|
|
"-10.0\n",
|
|
"-3.4000000000000004\n",
|
|
"116.6\n",
|
|
"-10.0\n",
|
|
"-3.3000000000000003\n",
|
|
"116.4\n",
|
|
"-10.0\n",
|
|
"-3.2\n",
|
|
"116.20000000000002\n",
|
|
"-10.0\n",
|
|
"-3.1\n",
|
|
"116.0\n",
|
|
"-10.0\n",
|
|
"-3.0\n",
|
|
"115.79999999999998\n",
|
|
"-10.0\n",
|
|
"-2.9000000000000004\n",
|
|
"115.6\n",
|
|
"-10.0\n",
|
|
"-2.8000000000000003\n",
|
|
"115.4\n",
|
|
"-10.0\n",
|
|
"-2.7\n",
|
|
"115.20000000000002\n",
|
|
"-10.0\n",
|
|
"-2.6\n",
|
|
"115.0\n",
|
|
"-10.0\n",
|
|
"-2.5\n",
|
|
"114.79999999999998\n",
|
|
"-10.0\n",
|
|
"-2.4000000000000004\n",
|
|
"114.6\n",
|
|
"-10.0\n",
|
|
"-2.3000000000000003\n",
|
|
"114.4\n",
|
|
"-10.0\n",
|
|
"-2.2\n",
|
|
"114.20000000000002\n",
|
|
"-10.0\n",
|
|
"-2.1\n",
|
|
"114.0\n",
|
|
"-10.0\n",
|
|
"-2.0\n",
|
|
"113.79999999999998\n",
|
|
"-10.0\n",
|
|
"-1.9000000000000001\n",
|
|
"113.6\n",
|
|
"-10.0\n",
|
|
"-1.8\n",
|
|
"113.4\n",
|
|
"-10.0\n",
|
|
"-1.7000000000000002\n",
|
|
"113.20000000000002\n",
|
|
"-10.0\n",
|
|
"-1.6\n",
|
|
"113.0\n",
|
|
"-10.0\n",
|
|
"-1.5\n",
|
|
"112.79999999999998\n",
|
|
"-10.0\n",
|
|
"-1.4000000000000001\n",
|
|
"112.6\n",
|
|
"-10.0\n",
|
|
"-1.3\n",
|
|
"112.4\n",
|
|
"-10.0\n",
|
|
"-1.2000000000000002\n",
|
|
"112.20000000000002\n",
|
|
"-10.0\n",
|
|
"-1.1\n",
|
|
"112.0\n",
|
|
"-10.0\n",
|
|
"-1.0\n",
|
|
"111.79999999999998\n",
|
|
"-10.0\n",
|
|
"-0.9\n",
|
|
"111.6\n",
|
|
"-10.0\n",
|
|
"-0.8\n",
|
|
"111.4\n",
|
|
"-10.0\n",
|
|
"-0.7000000000000001\n",
|
|
"111.20000000000002\n",
|
|
"-10.0\n",
|
|
"-0.6000000000000001\n",
|
|
"111.0\n",
|
|
"-10.0\n",
|
|
"-0.5\n",
|
|
"110.79999999999998\n",
|
|
"-10.0\n",
|
|
"-0.4\n",
|
|
"110.6\n",
|
|
"-10.0\n",
|
|
"-0.30000000000000004\n",
|
|
"110.4\n",
|
|
"-10.0\n",
|
|
"-0.2\n",
|
|
"110.20000000000002\n",
|
|
"-10.0\n",
|
|
"-0.1\n",
|
|
"110.0\n",
|
|
"-10.0\n",
|
|
"0.0\n",
|
|
"109.79999999999998\n",
|
|
"-10.0\n",
|
|
"0.1\n",
|
|
"109.6\n",
|
|
"-10.0\n",
|
|
"0.2\n",
|
|
"109.4\n",
|
|
"-10.0\n",
|
|
"0.30000000000000004\n",
|
|
"109.20000000000002\n",
|
|
"-10.0\n",
|
|
"0.4\n",
|
|
"109.0\n",
|
|
"-10.0\n",
|
|
"0.5\n",
|
|
"108.79999999999998\n",
|
|
"-10.0\n",
|
|
"0.6000000000000001\n",
|
|
"108.6\n",
|
|
"-10.0\n",
|
|
"0.7000000000000001\n",
|
|
"108.4\n",
|
|
"-10.0\n",
|
|
"0.8\n",
|
|
"108.20000000000002\n",
|
|
"-10.0\n",
|
|
"0.9\n",
|
|
"108.0\n",
|
|
"-10.0\n",
|
|
"1.0\n",
|
|
"107.79999999999998\n",
|
|
"-10.0\n",
|
|
"1.1\n",
|
|
"107.60000000000001\n",
|
|
"-10.0\n",
|
|
"1.2000000000000002\n",
|
|
"107.39999999999999\n",
|
|
"-10.0\n",
|
|
"1.3\n",
|
|
"107.20000000000002\n",
|
|
"-10.0\n",
|
|
"1.4000000000000001\n",
|
|
"107.0\n",
|
|
"-10.0\n",
|
|
"1.5\n",
|
|
"106.79999999999998\n",
|
|
"-10.0\n",
|
|
"1.6\n",
|
|
"106.60000000000001\n",
|
|
"-10.0\n",
|
|
"1.7000000000000002\n",
|
|
"106.39999999999999\n",
|
|
"-10.0\n",
|
|
"1.8\n",
|
|
"106.20000000000002\n",
|
|
"-10.0\n",
|
|
"1.9000000000000001\n",
|
|
"106.0\n",
|
|
"-10.0\n",
|
|
"2.0\n",
|
|
"105.79999999999998\n",
|
|
"-10.0\n",
|
|
"2.1\n",
|
|
"105.60000000000001\n",
|
|
"-10.0\n",
|
|
"2.2\n",
|
|
"105.39999999999999\n",
|
|
"-10.0\n",
|
|
"2.3000000000000003\n",
|
|
"105.20000000000002\n",
|
|
"-10.0\n",
|
|
"2.4000000000000004\n",
|
|
"105.0\n",
|
|
"-10.0\n",
|
|
"2.5\n",
|
|
"104.79999999999998\n",
|
|
"-10.0\n",
|
|
"2.6\n",
|
|
"104.60000000000001\n",
|
|
"-10.0\n",
|
|
"2.7\n",
|
|
"104.39999999999999\n",
|
|
"-10.0\n",
|
|
"2.8000000000000003\n",
|
|
"104.20000000000002\n",
|
|
"-10.0\n",
|
|
"2.9000000000000004\n",
|
|
"104.0\n",
|
|
"-10.0\n",
|
|
"3.0\n",
|
|
"103.79999999999998\n",
|
|
"-10.0\n",
|
|
"3.1\n",
|
|
"103.60000000000001\n",
|
|
"-10.0\n",
|
|
"3.2\n",
|
|
"103.39999999999999\n",
|
|
"-10.0\n",
|
|
"3.3000000000000003\n",
|
|
"103.20000000000002\n",
|
|
"-10.0\n",
|
|
"3.4000000000000004\n",
|
|
"103.0\n",
|
|
"-10.0\n",
|
|
"3.5\n",
|
|
"102.79999999999998\n",
|
|
"-10.0\n",
|
|
"3.6\n",
|
|
"102.60000000000001\n",
|
|
"-10.0\n",
|
|
"3.7\n",
|
|
"102.39999999999999\n",
|
|
"-10.0\n",
|
|
"3.8000000000000003\n",
|
|
"102.20000000000002\n",
|
|
"-10.0\n",
|
|
"3.9000000000000004\n",
|
|
"102.0\n",
|
|
"-10.0\n",
|
|
"4.0\n",
|
|
"101.79999999999998\n",
|
|
"-10.0\n",
|
|
"4.1000000000000005\n",
|
|
"101.60000000000001\n",
|
|
"-10.0\n",
|
|
"4.2\n",
|
|
"101.39999999999999\n",
|
|
"-10.0\n",
|
|
"4.3\n",
|
|
"101.20000000000002\n",
|
|
"-10.0\n",
|
|
"4.4\n",
|
|
"101.0\n",
|
|
"-10.0\n",
|
|
"4.5\n",
|
|
"100.79999999999998\n",
|
|
"-10.0\n",
|
|
"4.6000000000000005\n",
|
|
"100.60000000000001\n",
|
|
"-10.0\n",
|
|
"4.7\n",
|
|
"100.39999999999999\n",
|
|
"-10.0\n",
|
|
"4.800000000000001\n",
|
|
"100.20000000000002\n",
|
|
"-10.0\n",
|
|
"4.9\n",
|
|
"100.0\n",
|
|
"-10.0\n",
|
|
"5.0\n",
|
|
"99.79999999999998\n",
|
|
"-10.0\n",
|
|
"5.1000000000000005\n",
|
|
"99.60000000000001\n",
|
|
"-10.0\n",
|
|
"5.2\n",
|
|
"99.39999999999999\n",
|
|
"-10.0\n",
|
|
"5.300000000000001\n",
|
|
"99.20000000000002\n",
|
|
"-10.0\n",
|
|
"5.4\n",
|
|
"99.0\n",
|
|
"-10.0\n",
|
|
"5.5\n",
|
|
"98.79999999999998\n",
|
|
"-10.0\n",
|
|
"5.6000000000000005\n",
|
|
"98.60000000000001\n",
|
|
"-10.0\n",
|
|
"5.7\n",
|
|
"98.39999999999999\n",
|
|
"-10.0\n",
|
|
"5.800000000000001\n",
|
|
"98.20000000000002\n",
|
|
"-10.0\n",
|
|
"5.9\n",
|
|
"98.0\n",
|
|
"-10.0\n",
|
|
"6.0\n",
|
|
"97.79999999999998\n",
|
|
"-10.0\n",
|
|
"6.1000000000000005\n",
|
|
"97.60000000000001\n",
|
|
"-10.0\n",
|
|
"6.2\n",
|
|
"97.39999999999999\n",
|
|
"-10.0\n",
|
|
"6.300000000000001\n",
|
|
"97.20000000000002\n",
|
|
"-10.0\n",
|
|
"6.4\n",
|
|
"97.0\n",
|
|
"-10.0\n",
|
|
"6.5\n",
|
|
"96.79999999999998\n",
|
|
"-10.0\n",
|
|
"6.6000000000000005\n",
|
|
"96.60000000000001\n",
|
|
"-10.0\n",
|
|
"6.7\n",
|
|
"96.39999999999999\n",
|
|
"-10.0\n",
|
|
"6.800000000000001\n",
|
|
"96.20000000000002\n",
|
|
"-10.0\n",
|
|
"6.9\n",
|
|
"96.0\n",
|
|
"-10.0\n",
|
|
"7.0\n",
|
|
"95.79999999999998\n",
|
|
"-10.0\n",
|
|
"7.1000000000000005\n",
|
|
"95.60000000000001\n",
|
|
"-10.0\n",
|
|
"7.2\n",
|
|
"95.39999999999999\n",
|
|
"-10.0\n",
|
|
"7.300000000000001\n",
|
|
"95.20000000000002\n",
|
|
"-10.0\n",
|
|
"7.4\n",
|
|
"95.0\n",
|
|
"-10.0\n",
|
|
"7.5\n",
|
|
"94.79999999999998\n",
|
|
"-10.0\n",
|
|
"7.6000000000000005\n",
|
|
"94.60000000000001\n",
|
|
"-10.0\n",
|
|
"7.7\n",
|
|
"94.39999999999999\n",
|
|
"-10.0\n",
|
|
"7.800000000000001\n",
|
|
"94.20000000000002\n",
|
|
"-10.0\n",
|
|
"7.9\n",
|
|
"94.0\n",
|
|
"-10.0\n",
|
|
"8.0\n",
|
|
"93.79999999999998\n",
|
|
"-10.0\n",
|
|
"8.1\n",
|
|
"93.6\n",
|
|
"-10.0\n",
|
|
"8.200000000000001\n",
|
|
"93.39999999999999\n",
|
|
"-10.0\n",
|
|
"8.3\n",
|
|
"93.20000000000002\n",
|
|
"-10.0\n",
|
|
"8.4\n",
|
|
"93.0\n",
|
|
"-10.0\n",
|
|
"8.5\n",
|
|
"92.79999999999998\n",
|
|
"-10.0\n",
|
|
"8.6\n",
|
|
"92.6\n",
|
|
"-10.0\n",
|
|
"8.700000000000001\n",
|
|
"92.39999999999999\n",
|
|
"-10.0\n",
|
|
"8.8\n",
|
|
"92.20000000000002\n",
|
|
"-10.0\n",
|
|
"8.9\n",
|
|
"92.0\n",
|
|
"-10.0\n",
|
|
"9.0\n",
|
|
"91.79999999999998\n",
|
|
"-10.0\n",
|
|
"9.1\n",
|
|
"91.6\n",
|
|
"-10.0\n",
|
|
"9.200000000000001\n",
|
|
"91.39999999999999\n",
|
|
"-10.0\n",
|
|
"9.3\n",
|
|
"91.20000000000002\n",
|
|
"-10.0\n",
|
|
"9.4\n",
|
|
"91.0\n",
|
|
"-10.0\n",
|
|
"9.5\n",
|
|
"90.79999999999998\n",
|
|
"-10.0\n",
|
|
"9.600000000000001\n",
|
|
"90.6\n",
|
|
"-10.0\n",
|
|
"9.700000000000001\n",
|
|
"90.39999999999999\n",
|
|
"-10.0\n",
|
|
"9.8\n",
|
|
"90.20000000000002\n",
|
|
"-10.0\n",
|
|
"9.9\n",
|
|
"90.0\n",
|
|
"-10.0\n",
|
|
"10.0\n",
|
|
"89.79999999999998\n",
|
|
"-10.0\n",
|
|
"10.100000000000001\n",
|
|
"89.6\n",
|
|
"-10.0\n",
|
|
"10.200000000000001\n",
|
|
"89.39999999999999\n",
|
|
"-10.0\n",
|
|
"10.3\n",
|
|
"89.20000000000002\n",
|
|
"-10.0\n",
|
|
"10.4\n",
|
|
"89.0\n",
|
|
"-10.0\n",
|
|
"10.5\n",
|
|
"88.79999999999998\n",
|
|
"-10.0\n",
|
|
"10.600000000000001\n",
|
|
"88.6\n",
|
|
"-10.0\n",
|
|
"10.700000000000001\n",
|
|
"88.39999999999999\n",
|
|
"-10.0\n",
|
|
"10.8\n",
|
|
"88.20000000000002\n",
|
|
"-10.0\n",
|
|
"10.9\n",
|
|
"88.0\n",
|
|
"-10.0\n",
|
|
"11.0\n",
|
|
"87.8\n",
|
|
"-9.9\n",
|
|
"10.600000000000001\n",
|
|
"87.6\n",
|
|
"-9.9\n",
|
|
"10.700000000000001\n",
|
|
"87.4\n",
|
|
"-9.9\n",
|
|
"10.8\n",
|
|
"87.2\n",
|
|
"-9.9\n",
|
|
"10.9\n",
|
|
"87.19999999999999\n",
|
|
"-9.9\n",
|
|
"11.200000000000001\n",
|
|
"87.0\n",
|
|
"-9.8\n",
|
|
"10.5\n",
|
|
"86.80000000000001\n",
|
|
"-9.8\n",
|
|
"10.600000000000001\n",
|
|
"86.6\n",
|
|
"-9.8\n",
|
|
"10.700000000000001\n",
|
|
"86.4\n",
|
|
"-9.8\n",
|
|
"10.8\n",
|
|
"86.39999999999999\n",
|
|
"-9.8\n",
|
|
"11.0\n",
|
|
"86.20000000000002\n",
|
|
"-9.700000000000001\n",
|
|
"10.4\n",
|
|
"86.00000000000001\n",
|
|
"-9.700000000000001\n",
|
|
"10.5\n",
|
|
"85.80000000000001\n",
|
|
"-9.700000000000001\n",
|
|
"10.600000000000001\n",
|
|
"85.60000000000001\n",
|
|
"-9.700000000000001\n",
|
|
"10.700000000000001\n",
|
|
"85.6\n",
|
|
"-9.700000000000001\n",
|
|
"10.8\n",
|
|
"85.4\n",
|
|
"-9.600000000000001\n",
|
|
"10.3\n",
|
|
"85.20000000000002\n",
|
|
"-9.600000000000001\n",
|
|
"10.4\n",
|
|
"85.00000000000001\n",
|
|
"-9.600000000000001\n",
|
|
"10.5\n",
|
|
"84.80000000000001\n",
|
|
"-9.600000000000001\n",
|
|
"10.600000000000001\n",
|
|
"84.79999999999998\n",
|
|
"-9.5\n",
|
|
"10.100000000000001\n",
|
|
"84.6\n",
|
|
"-9.5\n",
|
|
"10.200000000000001\n",
|
|
"84.4\n",
|
|
"-9.5\n",
|
|
"10.3\n",
|
|
"84.2\n",
|
|
"-9.5\n",
|
|
"10.4\n",
|
|
"84.0\n",
|
|
"-9.5\n",
|
|
"10.5\n",
|
|
"83.8\n",
|
|
"-9.4\n",
|
|
"10.100000000000001\n",
|
|
"83.6\n",
|
|
"-9.4\n",
|
|
"10.200000000000001\n",
|
|
"83.4\n",
|
|
"-9.4\n",
|
|
"10.3\n",
|
|
"83.2\n",
|
|
"-9.4\n",
|
|
"10.4\n",
|
|
"83.19999999999999\n",
|
|
"-9.4\n",
|
|
"10.700000000000001\n",
|
|
"83.0\n",
|
|
"-9.3\n",
|
|
"10.0\n",
|
|
"82.8\n",
|
|
"-9.3\n",
|
|
"10.100000000000001\n",
|
|
"82.6\n",
|
|
"-9.3\n",
|
|
"10.200000000000001\n",
|
|
"82.4\n",
|
|
"-9.3\n",
|
|
"10.3\n",
|
|
"82.20000000000002\n",
|
|
"-9.200000000000001\n",
|
|
"9.9\n",
|
|
"82.00000000000001\n",
|
|
"-9.200000000000001\n",
|
|
"10.0\n",
|
|
"81.80000000000001\n",
|
|
"-9.200000000000001\n",
|
|
"10.100000000000001\n",
|
|
"81.60000000000001\n",
|
|
"-9.200000000000001\n",
|
|
"10.200000000000001\n",
|
|
"81.6\n",
|
|
"-9.200000000000001\n",
|
|
"10.3\n",
|
|
"81.4\n",
|
|
"-9.1\n",
|
|
"9.8\n",
|
|
"81.2\n",
|
|
"-9.1\n",
|
|
"9.9\n",
|
|
"81.0\n",
|
|
"-9.1\n",
|
|
"10.0\n",
|
|
"80.8\n",
|
|
"-9.1\n",
|
|
"10.100000000000001\n",
|
|
"80.79999999999998\n",
|
|
"-9.1\n",
|
|
"16.2\n",
|
|
"80.6\n",
|
|
"-9.0\n",
|
|
"9.700000000000001\n",
|
|
"80.4\n",
|
|
"-9.0\n",
|
|
"9.8\n",
|
|
"80.2\n",
|
|
"-9.0\n",
|
|
"9.9\n",
|
|
"80.0\n",
|
|
"-9.0\n",
|
|
"10.0\n",
|
|
"79.8\n",
|
|
"-8.9\n",
|
|
"9.600000000000001\n",
|
|
"79.6\n",
|
|
"-8.9\n",
|
|
"9.700000000000001\n",
|
|
"79.4\n",
|
|
"-8.9\n",
|
|
"9.8\n",
|
|
"79.2\n",
|
|
"-8.9\n",
|
|
"9.9\n",
|
|
"79.19999999999999\n",
|
|
"-8.9\n",
|
|
"10.200000000000001\n",
|
|
"79.0\n",
|
|
"-8.8\n",
|
|
"9.5\n",
|
|
"78.8\n",
|
|
"-8.8\n",
|
|
"9.600000000000001\n",
|
|
"78.6\n",
|
|
"-8.8\n",
|
|
"9.700000000000001\n",
|
|
"78.4\n",
|
|
"-8.8\n",
|
|
"9.8\n",
|
|
"78.20000000000002\n",
|
|
"-8.700000000000001\n",
|
|
"9.4\n",
|
|
"78.00000000000001\n",
|
|
"-8.700000000000001\n",
|
|
"9.5\n",
|
|
"77.80000000000001\n",
|
|
"-8.700000000000001\n",
|
|
"9.600000000000001\n",
|
|
"77.60000000000001\n",
|
|
"-8.700000000000001\n",
|
|
"9.700000000000001\n",
|
|
"77.6\n",
|
|
"-8.700000000000001\n",
|
|
"9.8\n",
|
|
"77.4\n",
|
|
"-8.6\n",
|
|
"9.3\n",
|
|
"77.2\n",
|
|
"-8.6\n",
|
|
"9.4\n",
|
|
"77.0\n",
|
|
"-8.6\n",
|
|
"9.5\n",
|
|
"76.8\n",
|
|
"-8.6\n",
|
|
"9.600000000000001\n",
|
|
"76.79999999999998\n",
|
|
"-8.6\n",
|
|
"16.3\n",
|
|
"76.6\n",
|
|
"-8.5\n",
|
|
"9.200000000000001\n",
|
|
"76.4\n",
|
|
"-8.5\n",
|
|
"9.3\n",
|
|
"76.2\n",
|
|
"-8.5\n",
|
|
"9.4\n",
|
|
"76.0\n",
|
|
"-8.5\n",
|
|
"9.5\n",
|
|
"75.8\n",
|
|
"-8.4\n",
|
|
"9.1\n",
|
|
"75.6\n",
|
|
"-8.4\n",
|
|
"9.200000000000001\n",
|
|
"75.4\n",
|
|
"-8.4\n",
|
|
"9.3\n",
|
|
"75.2\n",
|
|
"-8.4\n",
|
|
"9.4\n",
|
|
"75.19999999999999\n",
|
|
"-8.4\n",
|
|
"9.700000000000001\n",
|
|
"75.0\n",
|
|
"-8.3\n",
|
|
"9.0\n",
|
|
"74.80000000000001\n",
|
|
"-8.3\n",
|
|
"9.1\n",
|
|
"74.6\n",
|
|
"-8.3\n",
|
|
"9.200000000000001\n",
|
|
"74.4\n",
|
|
"-8.3\n",
|
|
"9.3\n",
|
|
"74.20000000000002\n",
|
|
"-8.200000000000001\n",
|
|
"8.9\n",
|
|
"74.00000000000001\n",
|
|
"-8.200000000000001\n",
|
|
"9.0\n",
|
|
"73.80000000000001\n",
|
|
"-8.200000000000001\n",
|
|
"9.1\n",
|
|
"73.60000000000001\n",
|
|
"-8.200000000000001\n",
|
|
"9.200000000000001\n",
|
|
"73.6\n",
|
|
"-8.200000000000001\n",
|
|
"9.3\n",
|
|
"73.4\n",
|
|
"-8.1\n",
|
|
"8.8\n",
|
|
"73.2\n",
|
|
"-8.1\n",
|
|
"8.9\n",
|
|
"73.0\n",
|
|
"-8.1\n",
|
|
"9.0\n",
|
|
"72.8\n",
|
|
"-8.1\n",
|
|
"9.1\n",
|
|
"72.79999999999998\n",
|
|
"-8.1\n",
|
|
"13.8\n",
|
|
"72.6\n",
|
|
"-8.0\n",
|
|
"8.700000000000001\n",
|
|
"72.4\n",
|
|
"-8.0\n",
|
|
"8.8\n",
|
|
"72.2\n",
|
|
"-8.0\n",
|
|
"8.9\n",
|
|
"72.0\n",
|
|
"-8.0\n",
|
|
"9.0\n",
|
|
"71.8\n",
|
|
"-7.9\n",
|
|
"8.6\n",
|
|
"71.6\n",
|
|
"-7.9\n",
|
|
"8.700000000000001\n",
|
|
"71.4\n",
|
|
"-7.9\n",
|
|
"8.8\n",
|
|
"71.2\n",
|
|
"-7.9\n",
|
|
"8.9\n",
|
|
"71.19999999999999\n",
|
|
"-7.9\n",
|
|
"9.200000000000001\n",
|
|
"71.0\n",
|
|
"-7.800000000000001\n",
|
|
"8.5\n",
|
|
"70.80000000000001\n",
|
|
"-7.800000000000001\n",
|
|
"8.6\n",
|
|
"70.6\n",
|
|
"-7.800000000000001\n",
|
|
"8.700000000000001\n",
|
|
"70.4\n",
|
|
"-7.800000000000001\n",
|
|
"8.8\n",
|
|
"70.20000000000002\n",
|
|
"-7.7\n",
|
|
"8.4\n",
|
|
"70.0\n",
|
|
"-7.7\n",
|
|
"8.5\n",
|
|
"69.8\n",
|
|
"-7.7\n",
|
|
"8.6\n",
|
|
"69.6\n",
|
|
"-7.7\n",
|
|
"8.700000000000001\n",
|
|
"69.4\n",
|
|
"-7.6000000000000005\n",
|
|
"8.3\n",
|
|
"69.2\n",
|
|
"-7.6000000000000005\n",
|
|
"8.4\n",
|
|
"69.0\n",
|
|
"-7.6000000000000005\n",
|
|
"8.5\n",
|
|
"68.8\n",
|
|
"-7.6000000000000005\n",
|
|
"8.6\n",
|
|
"68.6\n",
|
|
"-7.5\n",
|
|
"8.200000000000001\n",
|
|
"68.4\n",
|
|
"-7.5\n",
|
|
"8.3\n",
|
|
"68.2\n",
|
|
"-7.5\n",
|
|
"8.4\n",
|
|
"68.0\n",
|
|
"-7.5\n",
|
|
"8.5\n",
|
|
"67.8\n",
|
|
"-7.4\n",
|
|
"8.1\n",
|
|
"67.6\n",
|
|
"-7.4\n",
|
|
"8.200000000000001\n",
|
|
"67.4\n",
|
|
"-7.4\n",
|
|
"8.3\n",
|
|
"67.2\n",
|
|
"-7.4\n",
|
|
"8.4\n",
|
|
"67.19999999999999\n",
|
|
"-7.4\n",
|
|
"8.700000000000001\n",
|
|
"67.0\n",
|
|
"-7.300000000000001\n",
|
|
"8.0\n",
|
|
"66.80000000000001\n",
|
|
"-7.300000000000001\n",
|
|
"8.1\n",
|
|
"66.6\n",
|
|
"-7.300000000000001\n",
|
|
"8.200000000000001\n",
|
|
"66.4\n",
|
|
"-7.300000000000001\n",
|
|
"8.3\n",
|
|
"66.20000000000002\n",
|
|
"-7.2\n",
|
|
"7.9\n",
|
|
"66.0\n",
|
|
"-7.2\n",
|
|
"8.0\n",
|
|
"65.8\n",
|
|
"-7.2\n",
|
|
"8.1\n",
|
|
"65.6\n",
|
|
"-7.2\n",
|
|
"8.200000000000001\n",
|
|
"65.4\n",
|
|
"-7.1000000000000005\n",
|
|
"7.800000000000001\n",
|
|
"65.2\n",
|
|
"-7.1000000000000005\n",
|
|
"7.9\n",
|
|
"65.0\n",
|
|
"-7.1000000000000005\n",
|
|
"8.0\n",
|
|
"64.8\n",
|
|
"-7.1000000000000005\n",
|
|
"8.1\n",
|
|
"64.6\n",
|
|
"-7.0\n",
|
|
"7.7\n",
|
|
"64.4\n",
|
|
"-7.0\n",
|
|
"7.800000000000001\n",
|
|
"64.2\n",
|
|
"-7.0\n",
|
|
"7.9\n",
|
|
"64.0\n",
|
|
"-7.0\n",
|
|
"8.0\n",
|
|
"63.8\n",
|
|
"-6.9\n",
|
|
"7.6000000000000005\n",
|
|
"63.6\n",
|
|
"-6.9\n",
|
|
"7.7\n",
|
|
"63.400000000000006\n",
|
|
"-6.9\n",
|
|
"7.800000000000001\n",
|
|
"63.2\n",
|
|
"-6.9\n",
|
|
"7.9\n",
|
|
"63.0\n",
|
|
"-6.800000000000001\n",
|
|
"7.5\n",
|
|
"62.8\n",
|
|
"-6.800000000000001\n",
|
|
"7.6000000000000005\n",
|
|
"62.60000000000001\n",
|
|
"-6.800000000000001\n",
|
|
"7.7\n",
|
|
"62.4\n",
|
|
"-6.800000000000001\n",
|
|
"7.800000000000001\n",
|
|
"62.2\n",
|
|
"-6.7\n",
|
|
"7.4\n",
|
|
"62.0\n",
|
|
"-6.7\n",
|
|
"7.5\n",
|
|
"61.8\n",
|
|
"-6.7\n",
|
|
"7.6000000000000005\n",
|
|
"61.6\n",
|
|
"-6.7\n",
|
|
"7.7\n",
|
|
"61.599999999999994\n",
|
|
"-6.7\n",
|
|
"8.1\n",
|
|
"61.400000000000006\n",
|
|
"-6.6000000000000005\n",
|
|
"7.300000000000001\n",
|
|
"61.2\n",
|
|
"-6.6000000000000005\n",
|
|
"7.4\n",
|
|
"61.00000000000001\n",
|
|
"-6.6000000000000005\n",
|
|
"7.5\n",
|
|
"60.8\n",
|
|
"-6.6000000000000005\n",
|
|
"7.6000000000000005\n",
|
|
"60.60000000000001\n",
|
|
"-6.5\n",
|
|
"7.2\n",
|
|
"60.39999999999999\n",
|
|
"-6.5\n",
|
|
"7.300000000000001\n",
|
|
"60.199999999999996\n",
|
|
"-6.5\n",
|
|
"7.4\n",
|
|
"60.0\n",
|
|
"-6.5\n",
|
|
"7.5\n",
|
|
"59.8\n",
|
|
"-6.4\n",
|
|
"7.1000000000000005\n",
|
|
"59.6\n",
|
|
"-6.4\n",
|
|
"7.2\n",
|
|
"59.400000000000006\n",
|
|
"-6.4\n",
|
|
"7.300000000000001\n",
|
|
"59.2\n",
|
|
"-6.4\n",
|
|
"7.4\n",
|
|
"59.0\n",
|
|
"-6.300000000000001\n",
|
|
"7.0\n",
|
|
"58.80000000000001\n",
|
|
"-6.300000000000001\n",
|
|
"7.1000000000000005\n",
|
|
"58.60000000000001\n",
|
|
"-6.300000000000001\n",
|
|
"7.2\n",
|
|
"58.400000000000006\n",
|
|
"-6.300000000000001\n",
|
|
"7.300000000000001\n",
|
|
"58.4\n",
|
|
"-6.2\n",
|
|
"6.800000000000001\n",
|
|
"58.2\n",
|
|
"-6.2\n",
|
|
"6.9\n",
|
|
"58.0\n",
|
|
"-6.2\n",
|
|
"7.0\n",
|
|
"57.8\n",
|
|
"-6.2\n",
|
|
"7.1000000000000005\n",
|
|
"57.6\n",
|
|
"-6.2\n",
|
|
"7.2\n",
|
|
"57.599999999999994\n",
|
|
"-6.2\n",
|
|
"7.6000000000000005\n",
|
|
"57.400000000000006\n",
|
|
"-6.1000000000000005\n",
|
|
"6.800000000000001\n",
|
|
"57.2\n",
|
|
"-6.1000000000000005\n",
|
|
"6.9\n",
|
|
"57.00000000000001\n",
|
|
"-6.1000000000000005\n",
|
|
"7.0\n",
|
|
"56.800000000000004\n",
|
|
"-6.1000000000000005\n",
|
|
"7.1000000000000005\n",
|
|
"56.8\n",
|
|
"-6.1000000000000005\n",
|
|
"7.4\n",
|
|
"56.60000000000001\n",
|
|
"-6.0\n",
|
|
"6.7\n",
|
|
"56.39999999999999\n",
|
|
"-6.0\n",
|
|
"6.800000000000001\n",
|
|
"56.199999999999996\n",
|
|
"-6.0\n",
|
|
"6.9\n",
|
|
"56.0\n",
|
|
"-6.0\n",
|
|
"7.0\n",
|
|
"55.8\n",
|
|
"-5.9\n",
|
|
"6.6000000000000005\n",
|
|
"55.6\n",
|
|
"-5.9\n",
|
|
"6.7\n",
|
|
"55.400000000000006\n",
|
|
"-5.9\n",
|
|
"6.800000000000001\n",
|
|
"55.2\n",
|
|
"-5.9\n",
|
|
"6.9\n",
|
|
"55.0\n",
|
|
"-5.800000000000001\n",
|
|
"6.5\n",
|
|
"54.80000000000001\n",
|
|
"-5.800000000000001\n",
|
|
"6.6000000000000005\n",
|
|
"54.60000000000001\n",
|
|
"-5.800000000000001\n",
|
|
"6.7\n",
|
|
"54.400000000000006\n",
|
|
"-5.800000000000001\n",
|
|
"6.800000000000001\n",
|
|
"54.4\n",
|
|
"-5.7\n",
|
|
"6.300000000000001\n",
|
|
"54.2\n",
|
|
"-5.7\n",
|
|
"6.4\n",
|
|
"54.0\n",
|
|
"-5.7\n",
|
|
"6.5\n",
|
|
"53.8\n",
|
|
"-5.7\n",
|
|
"6.6000000000000005\n",
|
|
"53.6\n",
|
|
"-5.7\n",
|
|
"6.7\n",
|
|
"53.599999999999994\n",
|
|
"-5.7\n",
|
|
"7.1000000000000005\n",
|
|
"53.400000000000006\n",
|
|
"-5.6000000000000005\n",
|
|
"6.300000000000001\n"
|
|
]
|
|
},
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"53.2\n",
|
|
"-5.6000000000000005\n",
|
|
"6.4\n",
|
|
"53.00000000000001\n",
|
|
"-5.6000000000000005\n",
|
|
"6.5\n",
|
|
"52.800000000000004\n",
|
|
"-5.6000000000000005\n",
|
|
"6.6000000000000005\n",
|
|
"52.8\n",
|
|
"-5.6000000000000005\n",
|
|
"6.9\n",
|
|
"52.60000000000001\n",
|
|
"-5.5\n",
|
|
"6.2\n",
|
|
"52.39999999999999\n",
|
|
"-5.5\n",
|
|
"6.300000000000001\n",
|
|
"52.199999999999996\n",
|
|
"-5.5\n",
|
|
"6.4\n",
|
|
"52.0\n",
|
|
"-5.5\n",
|
|
"6.5\n",
|
|
"51.8\n",
|
|
"-5.4\n",
|
|
"6.1000000000000005\n",
|
|
"51.6\n",
|
|
"-5.4\n",
|
|
"6.2\n",
|
|
"51.400000000000006\n",
|
|
"-5.4\n",
|
|
"6.300000000000001\n",
|
|
"51.2\n",
|
|
"-5.4\n",
|
|
"6.4\n",
|
|
"51.0\n",
|
|
"-5.300000000000001\n",
|
|
"6.0\n",
|
|
"50.80000000000001\n",
|
|
"-5.300000000000001\n",
|
|
"6.1000000000000005\n",
|
|
"50.60000000000001\n",
|
|
"-5.300000000000001\n",
|
|
"6.2\n",
|
|
"50.400000000000006\n",
|
|
"-5.300000000000001\n",
|
|
"6.300000000000001\n",
|
|
"50.4\n",
|
|
"-5.2\n",
|
|
"5.800000000000001\n",
|
|
"50.2\n",
|
|
"-5.2\n",
|
|
"5.9\n",
|
|
"50.0\n",
|
|
"-5.2\n",
|
|
"6.0\n",
|
|
"49.8\n",
|
|
"-5.2\n",
|
|
"6.1000000000000005\n",
|
|
"49.6\n",
|
|
"-5.2\n",
|
|
"6.2\n",
|
|
"49.599999999999994\n",
|
|
"-5.2\n",
|
|
"6.6000000000000005\n",
|
|
"49.400000000000006\n",
|
|
"-5.1000000000000005\n",
|
|
"5.800000000000001\n",
|
|
"49.2\n",
|
|
"-5.1000000000000005\n",
|
|
"5.9\n",
|
|
"49.00000000000001\n",
|
|
"-5.1000000000000005\n",
|
|
"6.0\n",
|
|
"48.800000000000004\n",
|
|
"-5.1000000000000005\n",
|
|
"6.1000000000000005\n",
|
|
"48.8\n",
|
|
"-5.1000000000000005\n",
|
|
"6.4\n",
|
|
"48.60000000000001\n",
|
|
"-5.0\n",
|
|
"5.7\n",
|
|
"48.39999999999999\n",
|
|
"-5.0\n",
|
|
"5.800000000000001\n",
|
|
"48.199999999999996\n",
|
|
"-5.0\n",
|
|
"5.9\n",
|
|
"48.0\n",
|
|
"-5.0\n",
|
|
"6.0\n",
|
|
"47.8\n",
|
|
"-4.9\n",
|
|
"5.6000000000000005\n",
|
|
"47.6\n",
|
|
"-4.9\n",
|
|
"5.7\n",
|
|
"47.400000000000006\n",
|
|
"-4.9\n",
|
|
"5.800000000000001\n",
|
|
"47.2\n",
|
|
"-4.9\n",
|
|
"5.9\n",
|
|
"47.199999999999996\n",
|
|
"-4.9\n",
|
|
"6.0\n",
|
|
"47.0\n",
|
|
"-4.800000000000001\n",
|
|
"5.5\n",
|
|
"46.80000000000001\n",
|
|
"-4.800000000000001\n",
|
|
"5.6000000000000005\n",
|
|
"46.60000000000001\n",
|
|
"-4.800000000000001\n",
|
|
"5.7\n",
|
|
"46.400000000000006\n",
|
|
"-4.800000000000001\n",
|
|
"5.800000000000001\n",
|
|
"46.4\n",
|
|
"-4.7\n",
|
|
"5.300000000000001\n",
|
|
"46.2\n",
|
|
"-4.7\n",
|
|
"5.4\n",
|
|
"46.0\n",
|
|
"-4.7\n",
|
|
"5.5\n",
|
|
"45.8\n",
|
|
"-4.7\n",
|
|
"5.6000000000000005\n",
|
|
"45.6\n",
|
|
"-4.7\n",
|
|
"5.7\n",
|
|
"45.599999999999994\n",
|
|
"-4.7\n",
|
|
"6.1000000000000005\n",
|
|
"45.400000000000006\n",
|
|
"-4.6000000000000005\n",
|
|
"5.300000000000001\n",
|
|
"45.2\n",
|
|
"-4.6000000000000005\n",
|
|
"5.4\n",
|
|
"45.00000000000001\n",
|
|
"-4.6000000000000005\n",
|
|
"5.5\n",
|
|
"44.800000000000004\n",
|
|
"-4.6000000000000005\n",
|
|
"5.6000000000000005\n",
|
|
"44.8\n",
|
|
"-4.6000000000000005\n",
|
|
"5.9\n",
|
|
"44.60000000000001\n",
|
|
"-4.5\n",
|
|
"5.2\n",
|
|
"44.39999999999999\n",
|
|
"-4.5\n",
|
|
"5.300000000000001\n",
|
|
"44.199999999999996\n",
|
|
"-4.5\n",
|
|
"5.4\n",
|
|
"44.0\n",
|
|
"-4.5\n",
|
|
"5.5\n",
|
|
"43.8\n",
|
|
"-4.4\n",
|
|
"5.1000000000000005\n",
|
|
"43.6\n",
|
|
"-4.4\n",
|
|
"5.2\n",
|
|
"43.400000000000006\n",
|
|
"-4.4\n",
|
|
"5.300000000000001\n",
|
|
"43.2\n",
|
|
"-4.4\n",
|
|
"5.4\n",
|
|
"43.199999999999996\n",
|
|
"-4.4\n",
|
|
"5.5\n",
|
|
"43.0\n",
|
|
"-4.3\n",
|
|
"5.0\n",
|
|
"42.79999999999999\n",
|
|
"-4.3\n",
|
|
"5.1000000000000005\n",
|
|
"42.6\n",
|
|
"-4.3\n",
|
|
"5.2\n",
|
|
"42.4\n",
|
|
"-4.3\n",
|
|
"5.300000000000001\n",
|
|
"42.39999999999999\n",
|
|
"-4.3\n",
|
|
"8.1\n",
|
|
"42.2\n",
|
|
"-4.2\n",
|
|
"4.9\n",
|
|
"42.0\n",
|
|
"-4.2\n",
|
|
"5.0\n",
|
|
"41.8\n",
|
|
"-4.2\n",
|
|
"5.1000000000000005\n",
|
|
"41.6\n",
|
|
"-4.2\n",
|
|
"5.2\n",
|
|
"41.599999999999994\n",
|
|
"-4.2\n",
|
|
"5.6000000000000005\n",
|
|
"41.400000000000006\n",
|
|
"-4.1000000000000005\n",
|
|
"4.800000000000001\n",
|
|
"41.2\n",
|
|
"-4.1000000000000005\n",
|
|
"4.9\n",
|
|
"41.00000000000001\n",
|
|
"-4.1000000000000005\n",
|
|
"5.0\n",
|
|
"40.800000000000004\n",
|
|
"-4.1000000000000005\n",
|
|
"5.1000000000000005\n",
|
|
"40.8\n",
|
|
"-4.1000000000000005\n",
|
|
"5.4\n",
|
|
"40.6\n",
|
|
"-4.0\n",
|
|
"4.7\n",
|
|
"40.4\n",
|
|
"-4.0\n",
|
|
"4.800000000000001\n",
|
|
"40.2\n",
|
|
"-4.0\n",
|
|
"4.9\n",
|
|
"40.0\n",
|
|
"-4.0\n",
|
|
"5.0\n",
|
|
"39.8\n",
|
|
"-3.9000000000000004\n",
|
|
"4.6000000000000005\n",
|
|
"39.6\n",
|
|
"-3.9000000000000004\n",
|
|
"4.7\n",
|
|
"39.4\n",
|
|
"-3.9000000000000004\n",
|
|
"4.800000000000001\n",
|
|
"39.2\n",
|
|
"-3.9000000000000004\n",
|
|
"4.9\n",
|
|
"39.0\n",
|
|
"-3.8000000000000003\n",
|
|
"4.5\n",
|
|
"38.8\n",
|
|
"-3.8000000000000003\n",
|
|
"4.6000000000000005\n",
|
|
"38.6\n",
|
|
"-3.8000000000000003\n",
|
|
"4.7\n",
|
|
"38.4\n",
|
|
"-3.8000000000000003\n",
|
|
"4.800000000000001\n",
|
|
"38.2\n",
|
|
"-3.7\n",
|
|
"4.4\n",
|
|
"38.0\n",
|
|
"-3.7\n",
|
|
"4.5\n",
|
|
"37.8\n",
|
|
"-3.7\n",
|
|
"4.6000000000000005\n",
|
|
"37.6\n",
|
|
"-3.7\n",
|
|
"4.7\n",
|
|
"37.599999999999994\n",
|
|
"-3.7\n",
|
|
"5.1000000000000005\n",
|
|
"37.4\n",
|
|
"-3.6\n",
|
|
"4.3\n",
|
|
"37.2\n",
|
|
"-3.6\n",
|
|
"4.4\n",
|
|
"37.0\n",
|
|
"-3.6\n",
|
|
"4.5\n",
|
|
"36.8\n",
|
|
"-3.6\n",
|
|
"4.6000000000000005\n",
|
|
"36.6\n",
|
|
"-3.5\n",
|
|
"4.2\n",
|
|
"36.4\n",
|
|
"-3.5\n",
|
|
"4.3\n",
|
|
"36.2\n",
|
|
"-3.5\n",
|
|
"4.4\n",
|
|
"36.0\n",
|
|
"-3.5\n",
|
|
"4.5\n",
|
|
"35.8\n",
|
|
"-3.4000000000000004\n",
|
|
"4.1000000000000005\n",
|
|
"35.6\n",
|
|
"-3.4000000000000004\n",
|
|
"4.2\n",
|
|
"35.400000000000006\n",
|
|
"-3.4000000000000004\n",
|
|
"4.3\n",
|
|
"35.2\n",
|
|
"-3.4000000000000004\n",
|
|
"4.4\n",
|
|
"35.0\n",
|
|
"-3.3000000000000003\n",
|
|
"4.0\n",
|
|
"34.8\n",
|
|
"-3.3000000000000003\n",
|
|
"4.1000000000000005\n",
|
|
"34.6\n",
|
|
"-3.3000000000000003\n",
|
|
"4.2\n",
|
|
"34.4\n",
|
|
"-3.3000000000000003\n",
|
|
"4.3\n",
|
|
"34.2\n",
|
|
"-3.2\n",
|
|
"3.9000000000000004\n",
|
|
"34.0\n",
|
|
"-3.2\n",
|
|
"4.0\n",
|
|
"33.8\n",
|
|
"-3.2\n",
|
|
"4.1000000000000005\n",
|
|
"33.6\n",
|
|
"-3.2\n",
|
|
"4.2\n",
|
|
"33.599999999999994\n",
|
|
"-3.2\n",
|
|
"4.6000000000000005\n",
|
|
"33.4\n",
|
|
"-3.1\n",
|
|
"3.8000000000000003\n",
|
|
"33.2\n",
|
|
"-3.1\n",
|
|
"3.9000000000000004\n",
|
|
"33.0\n",
|
|
"-3.1\n",
|
|
"4.0\n",
|
|
"32.8\n",
|
|
"-3.1\n",
|
|
"4.1000000000000005\n",
|
|
"32.6\n",
|
|
"-3.0\n",
|
|
"3.7\n",
|
|
"32.4\n",
|
|
"-3.0\n",
|
|
"3.8000000000000003\n",
|
|
"32.2\n",
|
|
"-3.0\n",
|
|
"3.9000000000000004\n",
|
|
"32.0\n",
|
|
"-3.0\n",
|
|
"4.0\n",
|
|
"31.800000000000004\n",
|
|
"-2.9000000000000004\n",
|
|
"3.6\n",
|
|
"31.6\n",
|
|
"-2.9000000000000004\n",
|
|
"3.7\n",
|
|
"31.400000000000006\n",
|
|
"-2.9000000000000004\n",
|
|
"3.8000000000000003\n",
|
|
"31.200000000000003\n",
|
|
"-2.9000000000000004\n",
|
|
"3.9000000000000004\n",
|
|
"31.000000000000004\n",
|
|
"-2.8000000000000003\n",
|
|
"3.5\n",
|
|
"30.800000000000004\n",
|
|
"-2.8000000000000003\n",
|
|
"3.6\n",
|
|
"30.6\n",
|
|
"-2.8000000000000003\n",
|
|
"3.7\n",
|
|
"30.400000000000002\n",
|
|
"-2.8000000000000003\n",
|
|
"3.8000000000000003\n",
|
|
"30.4\n",
|
|
"-2.8000000000000003\n",
|
|
"4.1000000000000005\n",
|
|
"30.200000000000003\n",
|
|
"-2.7\n",
|
|
"3.4000000000000004\n",
|
|
"30.0\n",
|
|
"-2.7\n",
|
|
"3.5\n",
|
|
"29.8\n",
|
|
"-2.7\n",
|
|
"3.6\n",
|
|
"29.6\n",
|
|
"-2.7\n",
|
|
"3.7\n",
|
|
"29.4\n",
|
|
"-2.6\n",
|
|
"3.3000000000000003\n",
|
|
"29.2\n",
|
|
"-2.6\n",
|
|
"3.4000000000000004\n",
|
|
"29.0\n",
|
|
"-2.6\n",
|
|
"3.5\n",
|
|
"28.8\n",
|
|
"-2.6\n",
|
|
"3.6\n",
|
|
"28.799999999999997\n",
|
|
"-2.6\n",
|
|
"3.8000000000000003\n",
|
|
"28.599999999999998\n",
|
|
"-2.5\n",
|
|
"3.2\n",
|
|
"28.4\n",
|
|
"-2.5\n",
|
|
"3.3000000000000003\n",
|
|
"28.199999999999996\n",
|
|
"-2.5\n",
|
|
"3.4000000000000004\n",
|
|
"28.0\n",
|
|
"-2.5\n",
|
|
"3.5\n",
|
|
"27.800000000000004\n",
|
|
"-2.4000000000000004\n",
|
|
"3.1\n",
|
|
"27.6\n",
|
|
"-2.4000000000000004\n",
|
|
"3.2\n",
|
|
"27.400000000000006\n",
|
|
"-2.4000000000000004\n",
|
|
"3.3000000000000003\n",
|
|
"27.200000000000003\n",
|
|
"-2.4000000000000004\n",
|
|
"3.4000000000000004\n",
|
|
"27.000000000000004\n",
|
|
"-2.3000000000000003\n",
|
|
"3.0\n",
|
|
"26.800000000000004\n",
|
|
"-2.3000000000000003\n",
|
|
"3.1\n",
|
|
"26.6\n",
|
|
"-2.3000000000000003\n",
|
|
"3.2\n",
|
|
"26.400000000000002\n",
|
|
"-2.3000000000000003\n",
|
|
"3.3000000000000003\n",
|
|
"26.4\n",
|
|
"-2.3000000000000003\n",
|
|
"3.7\n",
|
|
"26.200000000000003\n",
|
|
"-2.2\n",
|
|
"2.9000000000000004\n",
|
|
"26.0\n",
|
|
"-2.2\n",
|
|
"3.0\n",
|
|
"25.8\n",
|
|
"-2.2\n",
|
|
"3.1\n",
|
|
"25.6\n",
|
|
"-2.2\n",
|
|
"3.2\n",
|
|
"25.599999999999998\n",
|
|
"-2.2\n",
|
|
"3.5\n",
|
|
"25.4\n",
|
|
"-2.1\n",
|
|
"2.8000000000000003\n",
|
|
"25.2\n",
|
|
"-2.1\n",
|
|
"2.9000000000000004\n",
|
|
"25.0\n",
|
|
"-2.1\n",
|
|
"3.0\n",
|
|
"24.8\n",
|
|
"-2.1\n",
|
|
"3.1\n",
|
|
"24.799999999999997\n",
|
|
"-2.1\n",
|
|
"3.3000000000000003\n",
|
|
"24.599999999999998\n",
|
|
"-2.0\n",
|
|
"2.7\n",
|
|
"24.4\n",
|
|
"-2.0\n",
|
|
"2.8000000000000003\n",
|
|
"24.199999999999996\n",
|
|
"-2.0\n",
|
|
"2.9000000000000004\n",
|
|
"24.0\n",
|
|
"-2.0\n",
|
|
"3.0\n",
|
|
"23.8\n",
|
|
"-1.9000000000000001\n",
|
|
"2.6\n",
|
|
"23.6\n",
|
|
"-1.9000000000000001\n",
|
|
"2.7\n",
|
|
"23.4\n",
|
|
"-1.9000000000000001\n",
|
|
"2.8000000000000003\n",
|
|
"23.2\n",
|
|
"-1.9000000000000001\n",
|
|
"2.9000000000000004\n",
|
|
"23.0\n",
|
|
"-1.8\n",
|
|
"2.5\n",
|
|
"22.800000000000004\n",
|
|
"-1.8\n",
|
|
"2.6\n",
|
|
"22.6\n",
|
|
"-1.8\n",
|
|
"2.7\n",
|
|
"22.4\n",
|
|
"-1.8\n",
|
|
"2.8000000000000003\n",
|
|
"22.200000000000003\n",
|
|
"-1.7000000000000002\n",
|
|
"2.4000000000000004\n",
|
|
"22.0\n",
|
|
"-1.7000000000000002\n",
|
|
"2.5\n",
|
|
"21.8\n",
|
|
"-1.7000000000000002\n",
|
|
"2.6\n",
|
|
"21.6\n",
|
|
"-1.7000000000000002\n",
|
|
"2.7\n",
|
|
"21.4\n",
|
|
"-1.6\n",
|
|
"2.3000000000000003\n",
|
|
"21.2\n",
|
|
"-1.6\n",
|
|
"2.4000000000000004\n",
|
|
"21.0\n",
|
|
"-1.6\n",
|
|
"2.5\n",
|
|
"20.8\n",
|
|
"-1.6\n",
|
|
"2.6\n",
|
|
"20.799999999999997\n",
|
|
"-1.6\n",
|
|
"2.8000000000000003\n",
|
|
"20.6\n",
|
|
"-1.5\n",
|
|
"2.2\n",
|
|
"20.4\n",
|
|
"-1.5\n",
|
|
"2.3000000000000003\n",
|
|
"20.2\n",
|
|
"-1.5\n",
|
|
"2.4000000000000004\n",
|
|
"20.0\n",
|
|
"-1.5\n",
|
|
"2.5\n",
|
|
"19.8\n",
|
|
"-1.4000000000000001\n",
|
|
"2.1\n",
|
|
"19.6\n",
|
|
"-1.4000000000000001\n",
|
|
"2.2\n",
|
|
"19.400000000000002\n",
|
|
"-1.4000000000000001\n",
|
|
"2.3000000000000003\n",
|
|
"19.200000000000003\n",
|
|
"-1.4000000000000001\n",
|
|
"2.4000000000000004\n",
|
|
"19.2\n",
|
|
"-1.4000000000000001\n",
|
|
"2.6\n",
|
|
"19.0\n",
|
|
"-1.3\n",
|
|
"2.0\n",
|
|
"18.800000000000004\n",
|
|
"-1.3\n",
|
|
"2.1\n",
|
|
"18.6\n",
|
|
"-1.3\n",
|
|
"2.2\n",
|
|
"18.4\n",
|
|
"-1.3\n",
|
|
"2.3000000000000003\n",
|
|
"18.200000000000003\n",
|
|
"-1.2000000000000002\n",
|
|
"1.9000000000000001\n",
|
|
"18.0\n",
|
|
"-1.2000000000000002\n",
|
|
"2.0\n",
|
|
"17.8\n",
|
|
"-1.2000000000000002\n",
|
|
"2.1\n",
|
|
"17.6\n",
|
|
"-1.2000000000000002\n",
|
|
"2.2\n",
|
|
"17.4\n",
|
|
"-1.1\n",
|
|
"1.8\n",
|
|
"17.2\n",
|
|
"-1.1\n",
|
|
"1.9000000000000001\n",
|
|
"17.0\n",
|
|
"-1.1\n",
|
|
"2.0\n",
|
|
"16.8\n",
|
|
"-1.1\n",
|
|
"2.1\n",
|
|
"16.799999999999997\n",
|
|
"-1.1\n",
|
|
"2.3000000000000003\n",
|
|
"16.6\n",
|
|
"-1.0\n",
|
|
"1.7000000000000002\n",
|
|
"16.4\n",
|
|
"-1.0\n",
|
|
"1.8\n",
|
|
"16.2\n",
|
|
"-1.0\n",
|
|
"1.9000000000000001\n",
|
|
"16.0\n",
|
|
"-1.0\n",
|
|
"2.0\n",
|
|
"15.8\n",
|
|
"-0.9\n",
|
|
"1.6\n",
|
|
"15.6\n",
|
|
"-0.9\n",
|
|
"1.7000000000000002\n",
|
|
"15.399999999999999\n",
|
|
"-0.9\n",
|
|
"1.8\n",
|
|
"15.2\n",
|
|
"-0.9\n",
|
|
"1.9000000000000001\n",
|
|
"15.0\n",
|
|
"-0.8\n",
|
|
"1.5\n",
|
|
"14.8\n",
|
|
"-0.8\n",
|
|
"1.6\n",
|
|
"14.6\n",
|
|
"-0.8\n",
|
|
"1.7000000000000002\n",
|
|
"14.4\n",
|
|
"-0.8\n",
|
|
"1.8\n",
|
|
"14.399999999999999\n",
|
|
"-0.8\n",
|
|
"1.9000000000000001\n",
|
|
"14.200000000000001\n",
|
|
"-0.7000000000000001\n",
|
|
"1.4000000000000001\n",
|
|
"14.0\n",
|
|
"-0.7000000000000001\n",
|
|
"1.5\n",
|
|
"13.8\n",
|
|
"-0.7000000000000001\n",
|
|
"1.6\n",
|
|
"13.600000000000001\n",
|
|
"-0.7000000000000001\n",
|
|
"1.7000000000000002\n",
|
|
"13.6\n",
|
|
"-0.7000000000000001\n",
|
|
"1.8\n",
|
|
"13.4\n",
|
|
"-0.6000000000000001\n",
|
|
"1.3\n",
|
|
"13.200000000000001\n",
|
|
"-0.6000000000000001\n",
|
|
"1.4000000000000001\n",
|
|
"13.0\n",
|
|
"-0.6000000000000001\n",
|
|
"1.5\n",
|
|
"12.8\n",
|
|
"-0.6000000000000001\n",
|
|
"1.6\n",
|
|
"12.799999999999999\n",
|
|
"-0.6000000000000001\n",
|
|
"2.0\n",
|
|
"12.599999999999998\n",
|
|
"-0.5\n",
|
|
"1.2000000000000002\n",
|
|
"12.400000000000002\n",
|
|
"-0.5\n",
|
|
"1.3\n",
|
|
"12.2\n",
|
|
"-0.5\n",
|
|
"1.4000000000000001\n",
|
|
"12.0\n",
|
|
"-0.5\n",
|
|
"1.5\n",
|
|
"11.8\n",
|
|
"-0.4\n",
|
|
"1.1\n",
|
|
"11.6\n",
|
|
"-0.4\n",
|
|
"1.2000000000000002\n",
|
|
"11.400000000000002\n",
|
|
"-0.4\n",
|
|
"1.3\n",
|
|
"11.2\n",
|
|
"-0.4\n",
|
|
"1.4000000000000001\n",
|
|
"11.0\n",
|
|
"-0.30000000000000004\n",
|
|
"1.0\n",
|
|
"10.8\n",
|
|
"-0.30000000000000004\n",
|
|
"1.1\n",
|
|
"10.6\n",
|
|
"-0.30000000000000004\n",
|
|
"1.2000000000000002\n",
|
|
"10.4\n",
|
|
"-0.30000000000000004\n",
|
|
"1.3\n",
|
|
"10.399999999999999\n",
|
|
"-0.30000000000000004\n",
|
|
"1.4000000000000001\n",
|
|
"10.2\n",
|
|
"-0.2\n",
|
|
"0.9\n",
|
|
"10.0\n",
|
|
"-0.2\n",
|
|
"1.0\n",
|
|
"9.8\n",
|
|
"-0.2\n",
|
|
"1.1\n",
|
|
"9.600000000000001\n",
|
|
"-0.2\n",
|
|
"1.2000000000000002\n",
|
|
"9.6\n",
|
|
"-0.2\n",
|
|
"1.3\n",
|
|
"9.4\n",
|
|
"-0.1\n",
|
|
"0.8\n",
|
|
"9.2\n",
|
|
"-0.1\n",
|
|
"0.9\n",
|
|
"9.0\n",
|
|
"-0.1\n",
|
|
"1.0\n",
|
|
"8.8\n",
|
|
"-0.1\n",
|
|
"1.1\n",
|
|
"8.799999999999999\n",
|
|
"-0.1\n",
|
|
"2.4000000000000004\n",
|
|
"8.6\n",
|
|
"0.0\n",
|
|
"0.7000000000000001\n",
|
|
"8.4\n",
|
|
"0.0\n",
|
|
"0.8\n",
|
|
"8.2\n",
|
|
"0.0\n",
|
|
"0.9\n",
|
|
"8.0\n",
|
|
"0.0\n",
|
|
"1.0\n",
|
|
"7.799999999999999\n",
|
|
"0.1\n",
|
|
"0.6000000000000001\n",
|
|
"7.6\n",
|
|
"0.1\n",
|
|
"0.7000000000000001\n",
|
|
"7.4\n",
|
|
"0.1\n",
|
|
"0.8\n",
|
|
"7.2\n",
|
|
"0.1\n",
|
|
"0.9\n",
|
|
"7.199999999999999\n",
|
|
"0.1\n",
|
|
"1.0\n",
|
|
"7.0\n",
|
|
"0.2\n",
|
|
"0.5\n",
|
|
"6.8\n",
|
|
"0.2\n",
|
|
"0.6000000000000001\n",
|
|
"6.6\n",
|
|
"0.2\n",
|
|
"0.7000000000000001\n",
|
|
"6.4\n",
|
|
"0.2\n",
|
|
"0.8\n",
|
|
"6.3999999999999995\n",
|
|
"0.2\n",
|
|
"1.0\n",
|
|
"6.199999999999999\n",
|
|
"0.30000000000000004\n",
|
|
"0.4\n",
|
|
"6.0\n",
|
|
"0.30000000000000004\n",
|
|
"0.5\n",
|
|
"5.799999999999999\n",
|
|
"0.30000000000000004\n",
|
|
"0.6000000000000001\n",
|
|
"5.6\n",
|
|
"0.30000000000000004\n",
|
|
"0.7000000000000001\n",
|
|
"5.4\n",
|
|
"0.4\n",
|
|
"0.30000000000000004\n",
|
|
"5.2\n",
|
|
"0.4\n",
|
|
"0.4\n",
|
|
"5.0\n",
|
|
"0.4\n",
|
|
"0.5\n",
|
|
"4.8\n",
|
|
"0.4\n",
|
|
"0.6000000000000001\n",
|
|
"4.799999999999999\n",
|
|
"0.4\n",
|
|
"1.4000000000000001\n",
|
|
"4.6\n",
|
|
"0.5\n",
|
|
"0.2\n",
|
|
"4.4\n",
|
|
"0.5\n",
|
|
"0.30000000000000004\n",
|
|
"4.2\n",
|
|
"0.5\n",
|
|
"0.4\n",
|
|
"4.0\n",
|
|
"0.5\n",
|
|
"0.5\n",
|
|
"3.999999999999999\n",
|
|
"0.6000000000000001\n",
|
|
"0.0\n",
|
|
"3.799999999999999\n",
|
|
"0.6000000000000001\n",
|
|
"0.1\n",
|
|
"3.5999999999999988\n",
|
|
"0.6000000000000001\n",
|
|
"0.2\n",
|
|
"3.3999999999999986\n",
|
|
"0.6000000000000001\n",
|
|
"0.30000000000000004\n",
|
|
"3.1999999999999993\n",
|
|
"0.6000000000000001\n",
|
|
"0.4\n",
|
|
"3.199999999999999\n",
|
|
"0.6000000000000001\n",
|
|
"0.8\n",
|
|
"2.999999999999999\n",
|
|
"0.7000000000000001\n",
|
|
"0.0\n",
|
|
"2.7999999999999994\n",
|
|
"0.7000000000000001\n",
|
|
"0.1\n",
|
|
"2.5999999999999988\n",
|
|
"0.7000000000000001\n",
|
|
"0.2\n",
|
|
"2.399999999999999\n",
|
|
"0.7000000000000001\n",
|
|
"0.30000000000000004\n",
|
|
"2.1999999999999997\n",
|
|
"0.8\n",
|
|
"-0.1\n",
|
|
"1.9999999999999996\n",
|
|
"0.8\n",
|
|
"0.0\n",
|
|
"1.7999999999999998\n",
|
|
"0.8\n",
|
|
"0.1\n",
|
|
"1.5999999999999992\n",
|
|
"0.8\n",
|
|
"0.2\n",
|
|
"1.1999999999999995\n",
|
|
"0.9\n",
|
|
"-0.1\n",
|
|
"0.9999999999999998\n",
|
|
"0.9\n",
|
|
"0.0\n",
|
|
"0.8\n",
|
|
"0.9\n",
|
|
"0.1\n",
|
|
"0.7999999999999996\n",
|
|
"0.9\n",
|
|
"0.2\n",
|
|
"0.3999999999999998\n",
|
|
"1.0\n",
|
|
"-0.1\n",
|
|
"0.0\n",
|
|
"1.0\n",
|
|
"0.0\n"
|
|
]
|
|
},
|
|
{
|
|
"name": "stdout",
|
|
"output_type": "stream",
|
|
"text": [
|
|
"1.0\n",
|
|
"0.0\n",
|
|
"0.0\n"
|
|
]
|
|
}
|
|
],
|
|
"source": [
|
|
"smallest_error = float(\"inf\")\n",
|
|
"best_m = 0\n",
|
|
"best_b = 0\n",
|
|
"\n",
|
|
"for m in possible_ms:\n",
|
|
" for b in possible_bs:\n",
|
|
" err = calculate_all_error(m, b, datapoints)\n",
|
|
" if smallest_error > err:\n",
|
|
" smallest_error = err\n",
|
|
" print(smallest_error)\n",
|
|
" best_m = m\n",
|
|
" print(best_m)\n",
|
|
" best_b = b\n",
|
|
" print(best_b)\n",
|
|
" \n",
|
|
"print(best_m)\n",
|
|
"print(best_b)\n",
|
|
"print(smallest_error)\n",
|
|
" "
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"## Part 3: What does our model predict?\n",
|
|
"\n",
|
|
"Now we have seen that for this set of observations on the bouncy balls, the line that fits the data best has an `m` of 0.3 and a `b` of 1.7:\n",
|
|
"\n",
|
|
"```\n",
|
|
"y = 0.3x + 1.7\n",
|
|
"```\n",
|
|
"\n",
|
|
"This line produced a total error of 5.\n",
|
|
"\n",
|
|
"Using this `m` and this `b`, what does your line predict the bounce height of a ball with a width of 6 to be?\n",
|
|
"In other words, what is the output of `get_y()` when we call it with:\n",
|
|
"* m = 0.3\n",
|
|
"* b = 1.7\n",
|
|
"* x = 6"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 24,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"data": {
|
|
"text/plain": [
|
|
"3.5"
|
|
]
|
|
},
|
|
"execution_count": 24,
|
|
"metadata": {},
|
|
"output_type": "execute_result"
|
|
}
|
|
],
|
|
"source": [
|
|
"get_y(0.3, 1.7, 6)"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "markdown",
|
|
"metadata": {},
|
|
"source": [
|
|
"Our model predicts that the 6cm ball will bounce 3.5m.\n",
|
|
"\n",
|
|
"Now, Reggie can use this model to predict the bounce of all kinds of sizes of balls he may choose to include in the ball pit!"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 25,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"data": {
|
|
"text/plain": [
|
|
"4.1"
|
|
]
|
|
},
|
|
"execution_count": 25,
|
|
"metadata": {},
|
|
"output_type": "execute_result"
|
|
}
|
|
],
|
|
"source": [
|
|
"get_y(0.3, 1.7, 8)"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": 26,
|
|
"metadata": {},
|
|
"outputs": [
|
|
{
|
|
"data": {
|
|
"text/plain": [
|
|
"4.3999999999999995"
|
|
]
|
|
},
|
|
"execution_count": 26,
|
|
"metadata": {},
|
|
"output_type": "execute_result"
|
|
}
|
|
],
|
|
"source": [
|
|
"get_y(0.3, 1.7, 9)"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": []
|
|
}
|
|
],
|
|
"metadata": {
|
|
"kernelspec": {
|
|
"display_name": "Python 3",
|
|
"language": "python",
|
|
"name": "python3"
|
|
},
|
|
"language_info": {
|
|
"codemirror_mode": {
|
|
"name": "ipython",
|
|
"version": 3
|
|
},
|
|
"file_extension": ".py",
|
|
"mimetype": "text/x-python",
|
|
"name": "python",
|
|
"nbconvert_exporter": "python",
|
|
"pygments_lexer": "ipython3",
|
|
"version": "3.7.1"
|
|
}
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat_minor": 2
|
|
}
|