subject
Engineering, 11.10.2020 23:01 kaylaschauman8660

Suppose that we are putting animals in a barn. There are three types of animals: horses, cows, and goats. The barn has a fixed number of stalls (partitions). These stalls are arranged in a single row, and are consecutive. Horses and cows are big, and each need 2 stalls. A goat is small, and only needs 1 stall. Stalls are not allowed to be empty. Assume that all horses are equivalent, all cows are equivalent, and all goats are equivalent. For example, in a barn with only 1 stall, you can only place 1 goat (G). In a barn with 2 stalls, you could have one horse (H), or one cow (C), or two goats (GG). In a barn with 3 stalls, there are 5 possible sequences: GGG, GH, GC, HG, CG. Find a recurrence relation that describes how many ways are there to arrange the animals into a barn with n stalls. Hint: think about the last animal in the row of stalls.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 15:10
Heat is added to a piston-cylinder device filled with 2 kg of air to raise its temperature 400 c from an initial temperature of t1 27 cand pressure of pi 1 mpa. the process is isobaric process. find a)-the final pressure p2 b)-the heat transfer to the air.
Answers: 1
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, 06.07.2019 02:30
Around steel bar, made from material with a yield stress of 750mpa, is loaded so that it has stresses co locations of maximum normal stress and maximum shear stress. use maximum shear stress and maximum distortion energy theories to calculate the safety factors for initial yielding failures.
Answers: 3
question
Engineering, 06.07.2019 04:20
Consider a spherical container of inner radius , outer radius r2, and thermal conductivity k. express the boundary condition on the inner surface of the container for steady one-dimensional conduction for the following cases: (a) specified temperature of 50°c, (b) specified heat flux of 30 w/m2 toward the center, (c) convection to a medium at t with a heat transfer coefficient of h
Answers: 2
You know the right answer?
Suppose that we are putting animals in a barn. There are three types of animals: horses, cows, and g...
Questions
question
Mathematics, 24.09.2021 14:00
question
History, 24.09.2021 14:00
question
Mathematics, 24.09.2021 14:00
Questions on the website: 13722360