Question

Write a function in visual basic which reads an x,y data set of unknown size and...

Write a function in visual basic which reads an x,y data set of unknown size and at any location on the spreadsheet calculates the slope and intercept and outputs a column which contains the y values calculated from the slope and intercept.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The equation is y=mx+c

where m is the slope and c is the y-intercept

let us take an example

here slope is taken as 2

substitute in equation m=2

y=2x+c

So that we can insert the x and y values into the equation.

Add a comment
Know the answer?
Add Answer to:
Write a function in visual basic which reads an x,y data set of unknown size and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT