Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write in C-programming x[100]={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ,21, 22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39

Write in C-programming

x[100]={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ,21, 22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39 ,40, 41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58 ,59, 60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77 ,78, 79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96 , 97, 98, 99, 100};

y[100]={-92.3973,14.0677,98.9626,49.6151,111.88,-38.7967,52.1535,- 101.325,65.6111,125.129,151.762,-123.132,-41.8744,-39.3356,-99.7856,- 128.881,58.5477,-111.692,-75.3057,4.4723,-100.051,169.051,- 15.6953,58.3125,147.346,10.9835,42.3421,166.697,-105.534,- 90.2199,151.189,130.022,-8.1448,-51.3493,164.427,119.154,- 99.2704,155.986,133.212,118.035,13.1819,139.678,81.5178,-12.4377,- 11.7671,146.627,-25.787,107.25,19.8867,15.6437,112.871,122.552,8.42037,- 10.1364,146.682,178.531,203.565,-70.7871,171.256,-50.6232,193.836,-34.7733,- 68.9564,25.3423,75.6537,21.5484,46.5259,-64.22,-13.5792,74.9213,- 26.6872,30.5302,169.534,36.7224,65.4419,113.978,68.1137,181.414,127.76,145.44 7,75.5486,164.201,169.504,110.07,96.713,114.974,155.46,2.72803,- 59.9407,13.426,29.9344,-11.052,176.639, 162.505,-18.3784,184.418,234.104,127.227,145.18,0.440172};

image text in transcribed

Obtain the regression line in the form of y = ax + b. 200 40 T 60 80 W 100 -501 -100 Make sure that you attach example runs showing the results from the computer. Skeleton Program #include #define N 10 int main() { float x[N]={1,2,3,4,... ,10}, y[N]={-3, 2.9, 0.5, ...., 2.4}; float xysum=0.0, xsum=0.0, ysum=0.0, x2 sum=0.0; float a, b; int i; for (i=0; i

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

4. Balancing Risks and Rewards with Expatriates

Answered: 1 week ago

Question

d. Who are important leaders and heroes of the group?

Answered: 1 week ago