Question: language - Python Bob, Daniela, and Luke are shopping for fruit at a store that only sells fruit bowis. A fruit bowl contains sone fruit
language - Python

Bob, Daniela, and Luke are shopping for fruit at a store that only sells fruit bowis. A fruit bowl contains sone fruit and the price of a fruit bowl is the total price of all of its individual fruit. The store has mangos for $1.00, strawberries ($3.00, and apricots ($5.00. The price of each of these can be written in a vector: $$ \vec(v) - \begin(matrix) 1 3 5W \endbatrix) 35 The store sells the follow follow the fruit bowls #1: 4 of each fruit #2: 1 mangos and 3 apricots #3: 4 strawberries and 2 apricots #4: 12 apricots Question 20 Let's suppose the store changes their fruit prices, but you don't know what they changed their prices fo Bob, Daniela, and Luke buy the same quantity of fruit baskets and the number of fruit in each basket is the same, but now they each spent these amounts: 40 100 120 Use np. linalg, inv and the above final costs to compute the new prices for the individual fruits Complete the followin, block of code: In : def new_price(A, B, x): # Finish this! new VE+ return new_y Bob, Daniela, and Luke are shopping for fruit at a store that only sells fruit bowis. A fruit bowl contains sone fruit and the price of a fruit bowl is the total price of all of its individual fruit. The store has mangos for $1.00, strawberries ($3.00, and apricots ($5.00. The price of each of these can be written in a vector: $$ \vec(v) - \begin(matrix) 1 3 5W \endbatrix) 35 The store sells the follow follow the fruit bowls #1: 4 of each fruit #2: 1 mangos and 3 apricots #3: 4 strawberries and 2 apricots #4: 12 apricots Question 20 Let's suppose the store changes their fruit prices, but you don't know what they changed their prices fo Bob, Daniela, and Luke buy the same quantity of fruit baskets and the number of fruit in each basket is the same, but now they each spent these amounts: 40 100 120 Use np. linalg, inv and the above final costs to compute the new prices for the individual fruits Complete the followin, block of code: In : def new_price(A, B, x): # Finish this! new VE+ return new_y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
