- How to do a scatter plot given an equation.
How do you exactly plot the equation Y = -2.09x + 105.96?
make a table of x values, [you dont need many] x | y = -2.09x + 105.96 ------ -2 | -1 | 0 | 1 | 2 |
use the equation to find y , when x is one of the values x | y = -2.09x + 105.96 ------ -2 | -2.09(-2) + 105.96 = 4.18 +105.96 = 110.14 -1 | -2.09(-1) + 105.96 = 2.09 + 105.96 = 0 | -2.09(0) + 105.96 = 1 | -2.09(1) + 105.96 = 2 | -2.09(2) + 105.96 =
the first point/co-ordinate pair (x, y) we get is (-2, 110.14) plot this and repeat the method to plot the other point
I understand :) Just a question: How do you know to go from -2,-1,0,1,2 ? The range in other words..
I choose the domain of {-2, -1, 0, 1, 2} because they are nice small numbers near the origin, and should plot easily, you really could chose any domain you like , and you will get different points to plot, but all the possible points would be on the same line. [technically you only need two unique x values to plot this line, because its a straight line] but you are asked to make a scatter plot so you probably want a few values if you wanted to choose {0, 1, 2, 3, 4, 5} , or {0, 2, 4, 6, 8, 10} or even {-2, -1, 0, 1, 2, 3, 4, 5, 6, 8, 10} etc. that should all be fine, the method is the same and the line will be the same line
Brilliant. It's a regression line for statistical data. Thank you Unkle! :)
depending on the physics of the variables, i might not make much sense to use negative values for x , , but the line the points fall upon will stay the same
Ok, thank you so much. Are you an engineer or something?
I'm part of the way through a degree in studying nuclear science, and at the moment i'm learning computer science
Wow! Thats really interesting :) I'm 1 month away from being a qualified Biomedical Engineer. I had completely forgotten the basics lol!
Cool, so you'll be designing prosthetic limbs or something like that?
Thats the common route, but for me I'm more interested in tissue growth. Growing organs is an incredible field I'm looking to get into, what about you? Where will your degree take you?
ah right, interesting. I guess i'm aiming at working at the CERN or similar (smashing bit of nothing together real fast to make something new), or maybe just run a nuclear power plant
Thats alot of responsibility! I wish you the best with it man, maybe we'll speak on here another time, one is always learning! Best of luck to you and for your degree :)
cheers, nice to meet you \(\ddot\smile\)
Join our real-time social learning platform and learn together with your friends!