subject
Engineering, 13.09.2019 01:30 nnaomii

Write a function {position xs y} that returns the first position of y in the list xs. the positions in a list start with 1. for example, {position [a b c] c} returns 3 and {position [a b c b] b} returns 2. try two versions: 1) one that assumes that y is an element of xs and 2) one that returns 0, if y does not occur in xs

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
Water at 70°f and streams enter the mixing chamber at the same mass flow rate, determine the temperature and the quality of the exiting stream. 0 psia is heated in a chamber by mixing it with saturated water vapor at 20 psia. if both streams enters the mixing chamber at the same mass flow rate, determine the temperature and the quality of the existing system.
Answers: 2
question
Engineering, 04.07.2019 19:10
What is creep? what is stress relaxation?
Answers: 1
question
Engineering, 04.07.2019 19:10
Ahelical coil spring has a mean diameter of 50 mm, a wire diameter of 5.5 mm and is wound with a pitch of 10 mm. the spring steel has an ultimate strength of 1250 mpa. find the force needed to compress the spring solid and the wire stress in this condition. state whether the spring will return to its initial length.
Answers: 1
You know the right answer?
Write a function {position xs y} that returns the first position of y in the list xs. the positions...
Questions
question
Advanced Placement (AP), 02.06.2021 16:30
question
English, 02.06.2021 16:30
question
Mathematics, 02.06.2021 16:30