subject
Engineering, 26.02.2020 01:44 iiheartshay

#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, x2sum=0.0; float a, b; int i; for (i=0; i< N; i++) { xsum = xsum + x[i]; ysum = ysum + y[i]; xysum = xysum + x[i]*y[i]; x2sum = x2sum + x[i]*x[i]; } a = ; b = ; printf("The regression line is %f x + %f.\n", a, b); return 0; }

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
question
Engineering, 04.07.2019 18:10
For the closed feedwater heater below, feedwater enters state 3 at a pressure of 2000 psia and temperature of 420 °f at a rate of ix10 ibhr. the feedwat extracted steam enters state 1 at a pressure of 1000 psia and enthalpy of 1500 btu/lbm. the extracted er leaves at an enthalpy of 528.7 btu/lbm steam leaves as a saturated liquid. (16) a) determine the mass flow rate of the extraction steam used to heat the feedwater (10) b) determine the terminal temperature difference of the closed feedwater heater
Answers: 3
question
Engineering, 04.07.2019 18:10
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
question
Engineering, 04.07.2019 18:20
Apiston-cylinder device contains 0.1 m3 of liquid water and 0.9 m3 of water vapor in equilibrium at 800 kpa. heat is transferred at constant pressure until the temperature of water reaches 350 °c. determine (a) the quality of water at the initial state (b) the work associated with this process, (c) the heat associated with this process.
Answers: 2
You know the right answer?
#include #define N 10 int main(){ float x[N]={1,2,3,4,... ,10}, y[N]={-3, 2.9, 0.5, , 2.4}; float xy...
Questions
question
Mathematics, 09.06.2021 02:00
question
Mathematics, 09.06.2021 02:00
Questions on the website: 13722363