Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I found the slope (77.39) but I am unsure what the question wants me to do and what y would be. Workspace 2: Linear model

image text in transcribed

I found the slope (77.39) but I am unsure what the question wants me to do and what y would be.

Workspace 2: Linear model Create a function that calculates the linear equation: y=kx+m where k is the slope and m is the y-intercept. The function should take variables x,k, and m as input arguments and return variable y. OBS, do not forget to run this cell to load it into memory (no output will be printed to the screen) H \#\# Function: Linear model def linear_model (x,k=0,m=0): y=77.39x+0 return y

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions