Question

In: Math

Solve the following using a generating function: Elizabeth is hosting a party inviting 7 friends. She...

Solve the following using a generating function:

Elizabeth is hosting a party inviting 7 friends. She bought gifts as the following: 8 teddy bears, 8 books, 5 watches. If she wants to give 16 gifts in total, where each person gets two gifts, with at least 2 teddy bears and 1 book. How many possible ways are there to choose from what she bought? Note: Don't distinguish between who gets what, just consider the 16 gifts.

Please only use a generating function, will upvote for that.

Solutions

Expert Solution


Related Solutions

1. Stephanie is planning an office party. She has the following utility function for fruit and...
1. Stephanie is planning an office party. She has the following utility function for fruit and cheese: U ( F , C ) = min { 6 F , 2 C } She has an income equal to $ 50 to spend on cheese and fruit. She prices the fruit and cheese during the first week of October. At this time the price of fruit per pound $ 1 and the price of cheese per pound equals $ 3 ....
Suppose Anna hosts a cookout with 7 of her friends. She has purchased 8 burgers, 8...
Suppose Anna hosts a cookout with 7 of her friends. She has purchased 8 burgers, 8 steaks, and 5 pieces of chicken. If she wants to cook 16 food items in total (each person gets two items), including at least 2 burgers and 1 steak, how many possibilities are there to choose from what she purchased? Do not distinguish between who gets what, only consider the 16 food items. (a) Solve using inclusion-exclusion. (b) Solve using a generating function. (C)...
Use generating functions to solve the following recurrence relation: an = 2an−1 + 3n , n...
Use generating functions to solve the following recurrence relation: an = 2an−1 + 3n , n ≥ 1 a0 = 2
(a) . Use generating function to solve hn= 8hn-1 -16hn-2 , h0=-2 , h1=1 (b). Find...
(a) . Use generating function to solve hn= 8hn-1 -16hn-2 , h0=-2 , h1=1 (b). Find orthogonal basis for null space of , [ 2 1 2 3 : 3 2 3 6 ] Solve both of them or do not solve
Find the objective function and the constraints, and then solve the problem by using the simplex...
Find the objective function and the constraints, and then solve the problem by using the simplex method. A confectioner has 600 pounds of chocolate, 100 pounds of nuts, and 50 pounds of fruits in inventory with which to make three types of candy: Sweet Tooth, Sugar Dandy, and Dandy Delite. A box of Sweet Tooth uses 3 pounds of chocolate, 1 pound of nuts, and 1 pound of fruit and sells for $8. A box of Sugar Dandy requires 4...
write a Matlab function file to solve system Ax=b by using the output of the function...
write a Matlab function file to solve system Ax=b by using the output of the function lufac2a your function should have inputs f=matrix return from lufac2a, piv=array return by lufac2a and b=right hand side of your system.the only output for your system should be x guideline 1.use the column access for the matrix entries 2. do not create any other matrix in your function-get your data directly from the matrix passed into your function 3.do not use Matlab command designed...
Write a MATLAB function function = pivGauss(.....) to solve linear equations using Gaussian Elimination with Partial...
Write a MATLAB function function = pivGauss(.....) to solve linear equations using Gaussian Elimination with Partial Pivoting. You'll need to employ Nested Loops. Thank you !
using excel function Solve the following situations (markups based on selling price). Irene Westing bought a...
using excel function Solve the following situations (markups based on selling price). Irene Westing bought a desk for $800 from an office supply house. She plans to sell the desk for $1,200. What is Irene’s dollar markup? What is her percent markup on selling price (rounded to the nearest tenth percent)? Check your answer. Selling price will be slightly off due to rounding. Suki Komar bought dolls for her toy store that cost $14 each. To make her desired profit,...
A researcher is studying reentry following imprisonment. She thinks that hanging out with friends with criminal...
A researcher is studying reentry following imprisonment. She thinks that hanging out with friends with criminal records will increase the chances of getting rearrested for DUIs among formerly incarcerated individuals. To test her hypothesis, she first collected data from a random sample of formerly incarcerated adults. Then, she summarized the relationship between the number of criminal peers and the number of DUI arrests by calculating the following bivariate regression equation: y^=1.0+0.50(x). 1. What does  y^ refer to in the regression equation?...
Using Matlab's FUNCTION FILE Solve this system of equations using Gauss Elimination in MATLAB by writing...
Using Matlab's FUNCTION FILE Solve this system of equations using Gauss Elimination in MATLAB by writing a Function file. 10y + z = 2 x + 3y – z = 6 2x + 4y + z = 5 Could you also provide me with a copiable function file of Matlab and the associated screenshot. Thank you!
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT