Engineering
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

answer
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, winterblanco
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
image
Engineering, 04.07.2019 18:10, katelynn73
Atmospheric air has a temperature (dry bulb) of 80° f and a wet bulb temperature of 60° f when the barometric pressure is 14.696 psia. determine the specific humidity, grains/lb dry air. a. 11.4 c. 55.8 d. 22.5 b. 44.1
Answers: 1
image
Engineering, 06.07.2019 02:30, Nonniel0v3
An electric motor is used to drive a power press which makes steel turning moment diagrams 323 pressings from a metal sheet. the motor runs at a mean speed of 50 rev/s. the torque required is 10.0nm for 0.2s, followed by 1.0nm for0.3 s with this sequence then being repeated. what is the minimum power required of the motor and the moment of incrtia required for the t1ywhcel if the speed fluctuations are to be restricted to 1.5%?
Answers: 3
image
Engineering, 06.07.2019 02:30, cofran
A75mm diameter shaft is supported in a journal bearing 75mm long with a diametral clearance of 0. 1mm. it supports a radial load of 1000 n and is lubricated with sae 50 oil at 70°c. find the friction torque and the power loss when the crankshaft rotates at 2900 rev/min.
Answers: 1
Do you know the correct answer?
Write a JavaScript function named averageBig with this header function averageBig(list) { The parame...

Questions in other subjects:

Konu
English, 22.05.2020 00:15