

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


In order to do this lab, you and your group should have compiled, debugged, and tested the following classes
Find the maximum value of z=x+y if we require that x<=10 and y<=10. You should be able to easily solve this problem in your head! Maximum value: ______________________ Value of x at maximum ____________________ Value of y at maximum_____________________
Find the maximum value of exp(‐(x‐4)^2 ‐ (y‐5)^2 ) Maximum value: ______________________ Value of x at maximum ____________________ Value of y at maximum_____________________
Find the minimum value of 1.0/(1+exp(‐x^2 ‐y 2 )). Minimum value: ______________________ Value of x at minimum____________________ Value of y at minimum_____________________
A company makes two products, say A and B. The profit on each unit of A is $3 and the profit on each unit of B is $5. Each unit of Z must undergo sanding for one hour. Four hours are available per day for sanding. Each unit of B must undergo a separate one‐hour sanding process. There are 6 hours per day for the second process. It takes 3 hours to paint a unit of A and it takes 2 hours to paint a unit of B.
There are 18 hours a day available for painting. How many units of each product should the company make in order to maximize the daily profit? Maximum profit: ______________________ Units of product A ____________________ Units of product A _____________________