How to convert a line object to a linear function object?

jospercomp shared this question 1 month ago
Answered

I need to convert the line object of a linear regression FitLine( <List of Points> ) because I need the linear model in the form of a function to model such behavior with sliders to create motion and colors effects.

Comments (3)

photo
1

really there is not difference

if the line is f type f(x) and you will see it

photo
1

Thank you!. It is correct

I used Slope(<Line>) and Intersect( <Object>, <Object>) command to create the convertion.

But, It is not necesarry. Ups.

photo
1

let be f a line. try x(f) y(f) z(f) for coefficients

photo
© 2019 International GeoGebra Institute