(5) Solve the following ancient Indian problem: If eggs are removed from a basket 2, 3, 4, 5, and 6 at a time, there re...
when eggs in a basket are removed 2,3,4,5,6 at a time there remain, respectively, 1,2,3,4,5 eggs. when they are taken out 7 at a time, none are left over. find the smallest # of eggs that could have been contained in the basket.
Fit to page Page view A Re 2. Basket A contains 5 apples and 1 orange. Basket B contains 1 apple and 5 oranges. Basket C contains 3 apples and 3 oranges. Assume throughout that tastes are monotonic. On Monday, Anne is offered a choice between basket A and C, and she chooses A. On Tuesday, she is offered a choice between basket B and C, and she chooses B. a) Graph these baskets on a graph with apples on...
Solve the following Job Sequencing problem. Draw Gantt chart. Find total time elapsed to complete the jobs and idle time for machines. Job/Machine M1 M2 M3 1 5 9 8 2 3 6 7 3 4 7 6 4 2 8 9 5 6 7 5 6 4 6 9
1. Recall problem 1 from Assignment 4: Assume that the number of eggs laid by an insect is a Poisson variable with parameter X. Assume, furthermore, that every egg has a probability p to develop into an insect. What is the probability that eractly k insects will survive? You should have observed the fact that the number of surviving insects is a Poisson random variable with rate Ap. This time, use the law of total expectation and prove directly, without...
(1 point) Solve the following problem, similar to problem 4 from section 2.4 of your text. You select 5 cards randomly from a deck of 52 cards. What is the probability that all of the cards selected are face cards (i.e. jacks, queens, or kings)? - (1 point) Rework problem 19 from section 2.4 of your text, involving the selection of frozen dinners. Assume that there are 14 frozen dinners: 6 pasta, 5 chicken, and 3 seafood dinners. The student...
An urn contains 5 black balls and 2 white balls. Four balls are removed at random from the urn. The random variable X is the number of white balls among the four balls that have been removed. Find P(X = 2), i.e. the probability that X = 2. A. 1/7 B. 2/7 C. 4/21 D. 1/42 E. None of the above answers is correct Having a really hard time remembering how to do these types of problems! Please be detailed...
Solve in MATLAB Problem 3: Given the vector x- [2 1 0 6 2 3 5 3 4 1 3 2 10 12 4 2 7 9 2 4 51 use a for loop to (a) Add up the values of all elements in x (b) Compute the cumulative sum, y, of elements in x You can check your results using the built-in functions sum and cumsum. Q.5 What is the value of the sum of elements in vector x?...
Consider the following virtual page reference sequence: page 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3. This indicates that these particular pages need to be accessed by the computer in the order shown. Consider each of the following 4 algorithm-frame combinations: LRU with 3 frames FIFO with 3 frames LRU with 4 frames FIFO with 4 frames . For each of the 4 combinations, below, move from left to right as the virtual page numbers are...
Problem 15-01 (Algorithmic) Consider the following time series data. Week 1 2 3 4 5 6 Value 18 14 15 11 19 14 Using the naïve method (most recent value) as the forecast for the next week, compute the following measures of forecast accuracy. Mean absolute error. Round your answer to one decimal place. Mean squared error. Round your answer to one decimal place. Mean absolute percentage error. Round your answer to two decimal places. What is the forecast for...
8 7 6 5 4 3 2 1 - -2 3 -4 -5 - -7 Solve the system: y = ax + ba + c y = px + 9 The solution(s) are: Enter your answers as ordered pairs (x,y). If no