subject
Engineering, 27.11.2019 01:31 dogeking12

Sum of numbers design a function that accepts an integer argument and returns the sum of all the integers from 1 up to the number passed as an argument. for example, if 50 is passed as an argument, the function will return the sum of 1, 2, 3, 4, . . 50. use recursion to calculate the sum. demonstrate the function in a program.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 16:10
The force on a cutting tool are 2600n vertically downward and 2100 horizontal. determine the resultant force acting on the tool and the angle at which it acts.
Answers: 1
question
Engineering, 04.07.2019 18:10
Adouble-strand no. 60 roller chain is used to transmit power between a 13-tooth driving sprocket rotating at 300 rev/min and a 52-tooth driven sprocket. a) what is the allowable horsepower of this drive? b) estimate the center-to-center distance if the chain length is 82 pitches. c) estimate the torque and bending force on the driving shaft by the chain if the actual horsepower transmitted is 30 percent less than the corrected (allowable) power.
Answers: 3
question
Engineering, 04.07.2019 18:10
Which of the following ziegler nichols tuning methods the response of the controller to a step input should exhibit an s-shaped curve? a)-open loop mode b)-closed loop mode c)-both modes (open & closed) d)-none of the modes (open & closed)
Answers: 3
question
Engineering, 04.07.2019 18:20
Athin walled concentric tube exchanger is used to cool engine oil from 160°c to 60°c with water that is available at 25°c acting as a coolant. the oil and water flow rates are each at 2 kg/s, and the diameter of the inner tube is 0.5 m and the corresponding value of the overall heat transfer coefficient is 250 w/m2. oc. how long must the heat exchanger be to accomplish the desired cooling? cpwater=4.187 kj/kg-candcpengine el=2.035 kj/kg·°c, oil . 120]
Answers: 1
You know the right answer?
Sum of numbers design a function that accepts an integer argument and returns the sum of all the int...
Questions
question
Mathematics, 20.09.2020 16:01
question
Mathematics, 20.09.2020 16:01
question
English, 20.09.2020 17:01
question
Mathematics, 20.09.2020 17:01
Questions on the website: 13722362