subject
Engineering, 26.12.2019 23:31 Vampfox

Public static void computesd (int [ ] numbers) {     int length = numbers. length;     double var, sd, mean, sum, varsum;     sum = 0;     for (int i = 0; i < length; i++)     {           sum += numbers [ i ];     }      mean = sum / (double) length;     varsum = 0;     for (int i = 0; i < length; i++)     {           varsum = varsum  + ((numbers [ i ] - mean) * (numbers [ i ] - mean));     }     var = varsum / ( length - 1.0 );     sd  = math. sqrt ( var );     system. out. println ("standard deviation: " + sd); }

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
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
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:10
Ifa component is made of two or more materials with different modulus of elasticity (e), it is called a composite member and we calculate the factor·n". mention the formula for calculating n". also, ifn> 1, explain what will happen to the 1. transformed.gi) ifn 1, what will happen to the material when transformed material when
Answers: 1
You know the right answer?
Public static void computesd (int [ ] numbers) {     int length = numbers. length; &nbs...
Questions
question
Biology, 23.09.2021 02:50
Questions on the website: 13722362