subject
Engineering, 14.06.2021 19:30 JDKozlova

Consider an experiment where ants are placed in a large glass tube of length L inches and are allowed to move freely in the tube. The glass tube is segmented into L one inch sections and the numbers of ants in each segment are represented by a vector v. The example below shows an example of a 5-inch glass tube. After one minute, for any given Segment, half the ants move to the segment on the left, and the other half move to the segment on the right. Half the ants in v(1) and v(L) move to the right and left, respectively; e the other half do not move. Write a function diffuseants(v) that takes a vector and returns the number of ants in the segments of the glass tube after one minute. For simplicity, assume that the number of ants in a segment does not have to be a whole integer.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
Air is to be cooled in the evaporator section of a refrigerator by passing it over a bank of 0.8-cm-outer-diameter and 0.4-m-long tubes inside which the refrigerant is evaporating at -20°c. air approaches the tube bank in the normal direction at 0°c and 1 atm with a mean velocity of 4 m/s. the tubes are arranged in-line with longitudinal and transverse pitches of sl- st 1.5 cm. there are 30 rows in the flow direction with 15 tubes in each row. determine (a) the refrigeration capacity of this system and (b) pressure drop across the tube bank. evaluate the air properties at an assumed mean temperature of -5°c and 1 atm. is this a good assumption?
Answers: 1
question
Engineering, 04.07.2019 19:10
The maximum shear stress and maximum flexural stress occur at the same location along a beam subjected to a non-uniform bending load. a)-trune b)- false
Answers: 2
question
Engineering, 04.07.2019 19:10
Agas contained within a piston-cylinder assembly e end nation about same energy states, 1 and 2, where pi 10 bar, v undergoes two processes, a and b, between the sam 0.1 m3, ui-400 kj and p2 1 bar, v2 1.0 m2, u2 200 kj: process a: process from 1 to 2 during which the pressure- volume relation is pv constant process b: constant-volume process from state 1 to a pressure of 2 bar, followed by a linear pressure-volume process to +20 0 state 2 kinetic and potential energy effects can be ignored. for each of the processes a and b, (a) sketch the process on p-v coordinates, (b) evaluate the work, in kj, and (c) evaluate process the heat transfer, in kj
Answers: 2
You know the right answer?
Consider an experiment where ants are placed in a large glass tube of length L inches and are allowe...
Questions
question
Social Studies, 13.12.2020 05:20
question
Mathematics, 13.12.2020 05:20
question
Mathematics, 13.12.2020 05:20
question
Mathematics, 13.12.2020 05:20