document.write( "Question 806795: So I have this question with the following table about the living space recommended for pigs of certain weights:
\n" ); document.write( "Weight:40,60,80,100,120,230
\n" ); document.write( "Area:2.5,3,3.5,4,5,6,8
\n" ); document.write( "How do I write an equation that models the recommended living space as a function of a pig's weight using the information above
\n" ); document.write( "

Algebra.Com's Answer #486742 by TimothyLamb(4379)\"\" \"About 
You can put this solution on YOUR website!
Your data is not linear, but it is close to being linear.
\n" ); document.write( "You need to do a linear regression on your data.
\n" ); document.write( "Also, you have one extra area sample without a matching weight sample.
\n" ); document.write( "So, for this data:
\n" ); document.write( "Weight: 40, 60, 80, 100, 120, 230
\n" ); document.write( "Area: 2.5, 3, 3.5, 4, 5, 6\r
\n" ); document.write( "\n" ); document.write( "Answer:
\n" ); document.write( "Linear regression slope: 0.0185
\n" ); document.write( "Linear regression y-intercept: 2.0615
\n" ); document.write( "y = 0.0185x + 2.0615\r
\n" ); document.write( "\n" ); document.write( "\"+graph%28+300%2C+300%2C+-10%2C+250%2C+-2%2C+10%2C+0.0185x+%2B+2.0615%29+\"
\n" ); document.write( "---
\n" ); document.write( "Solve and graph linear equations:
\n" ); document.write( "https://sooeet.com/math/linear-equation-solver.php
\n" ); document.write( "---
\n" ); document.write( "Solve quadratic equations, quadratic formula:
\n" ); document.write( "https://sooeet.com/math/quadratic-formula-solver.php
\n" ); document.write( "---
\n" ); document.write( "Convert fractions, decimals, and percents:
\n" ); document.write( "https://sooeet.com/math/fraction-decimal-percent.php
\n" ); document.write( "---
\n" ); document.write( "Calculate and graph the linear regression of any data set:
\n" ); document.write( "https://sooeet.com/math/linear-regression.php
\n" ); document.write( "
\n" );