subject
Engineering, 16.04.2020 03:19 jusicca1109

Write a JavaScript function named averageBig with this header function averageBig(list) { The parameter list is an array that contains numbers. The length of the list array will vary. Your function must compute the average of all the numbers stored in the array that are larger than 1000. For example, if your function were called like this: var list = [70, 1010, 950, 2014, 6); var score = averageBig (list); your function would return the number 1512. If none of the numbers in the array are larger than 1000, your function must return 0 (zero). Test Cases Parameter Return list [ 70, 1010, 950, 2014,6 ] 1512 |-72.3, 3000, 873, 2312, 68, 7501.3 ] 4271.1 [ 70, 950, 671,61

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Give heat transfer applications for the following, (i) gas turbines (propulsion) ) gas turbines (power generation). (iii) steam turbines. (iv) combined heat and power (chp). (v) automotive engines
Answers: 1
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:20
An open feedwater heater operates at steady state with liquid entering at inlet 1 with t? = 40°c and pl = 1 .2 mpa. water vapor att2-200°c and p2 = 1.2 mpa enters at inlet 2. saturated liquid water exits with a pressure of pa 1.2 mpa. neglect heat transfer with the surroundings and all kinetic and potential energy effects, determine the mass flow rate of steam at inlet 2 if the mass flow rate of liquid water at inlet 1 is given as 2 kg/s.
Answers: 3
question
Engineering, 04.07.2019 18:20
A2-m rigid tank initially contains saturated water vapor at 100 kpa. the tank is connected to a supply line through a valve. steam is flowing in the supply line at 600 kpa and 300 c. the valve is opened, and steam is allowed to enter the tank until the pressure in the tank reaches the line pressure, at which point the valve is closed. a thermometer placed in the tank indicates that the temperature at the final state is 200°c. determine (a) the mass of steam that has entered the tank (b) the amount of heat transfer.
Answers: 3
You know the right answer?
Write a JavaScript function named averageBig with this header function averageBig(list) { The parame...
Questions
question
Mathematics, 09.09.2020 18:01
Questions on the website: 13722367