CS123 Quiz 3.

Slides:



Advertisements
Similar presentations
At what Q is TR maximized? How do you know this is a maximum
Advertisements

Functions Solving Equations Simplifying & Solving Variables.
1 Applications of Extrema OBJECTIVE  Solve maximum and minimum problems using calculus. 6.2.
B-1 Operations Management Linear Programming Module B.
Chapter 2 Functions and Graphs
9.1 – Students will be able to evaluate square roots.Students will be able to solve a quadratic equation by finding the square root. 1. 3x +(– 6x) Warm-Up.
Chapter 2 Functions and Graphs Section 1 Functions.
Section 3.7 – Optimization Problems. Optimization Procedure 1.Draw a figure (if appropriate) and label all quantities relevant to the problem. 2.Focus.
MATH103 Mathematics for Business and Economics - I Chapter 1 Applications of Equation and inequality.
2.5 Copyright © 2014 Pearson Education, Inc. Maximum-Minimum Problems; Business and Economics Applications OBJECTIVE Solve maximum and minimum problems.
QUADRATIC MODELS: BUILDING QUADRATIC FUNCTIONS
McGraw-Hill Ryerson © Algebra R & A Algebra R & A 2-1 Algebr a Chapter 2.
JEOPARDY! Graphing Quadratics Graphing Solving using Square Roots Discriminants GO TO FINAL.
AAR YA PAAR. Marginal Costing & Break Even Point Analysis RAHUL JAIN (Striving for excellence) BCOM (H), MBA, FCS.
SECTION 1.6 MATHEMATICAL MODELS: CONSTRUCTING FUNCTIONS MATHEMATICAL MODELS: CONSTRUCTING FUNCTIONS.
1 SM1.21 Managerial Economics Welcome to session 2 Optimization Techniques and New Management Tools.
Chapter 5 Graphing and Optimization Section 6 Optimization.
Financial Algebra © 2011 Cengage Learning. All Rights Reserved. Slide SUPPLY AND DEMAND Understand the slopes of the supply and demand curves. Find.
Activity Set 3.8 PREP PPTX Visual Algebra for Teachers.
Warm-Up Exercises 1. Use the quadratic formula to solve 2x 2 – 3x – 1 = 0. Round the nearest hundredth. 2. Use synthetic substitution to evaluate f (x)
Section 4.6/4.7: Optimization Problems Practice HW from Stewart Textbook (not to hand in) p. 311 # 1-13 odd, 19, 21, 24, 33, p. 321 # 9,
General Form of a Quadratic Equation y = ax 2 + bx + c.
2.7 Mathematical Models Some will win, some will lose, some are born to sing the blues. Oh the movie never ends, it goes on and on and on and on. -Journey.
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
WARM UP ROUNDING Round to the nearest whole dollar. (Skills Review) 1.$ $ $4, $14, $ $ $ $12,
7.4 Subtracting Linear Expressions. Distributing the Negative If there is a negative sign on the out side of the parenthesis add a 1 to it and distribute.
240,000 20p + a SATMathVideos.Net A) 550 books B) 600 books C) 650 books D) 700 books 1,000 books sold in a month when the price was $10 per book. An equation.
Economic Definitions Profit = Revenue – Cost P(x) = R(x) – C(x) Assume the cost of producing x radios is C(x) =.4x 2 +7x + 95 dollars. A. Find the cost.
1 Copyright © 2015, 2011, and 2008 Pearson Education, Inc. Chapter 1 Functions and Graphs Section 1 Functions.
Alex’s Furniture Warehouse Linear Programming for a Furniture Company.
Chapter 12 Graphing and Optimization
Buyer’s Purchasing Power
Linear Functions, Simple Interest, Cost – Revenue – Profit Functions
Chapter 2 Functions and Graphs
Chapter 2 Functions and Graphs
Expand Brackets Low C C B
Bellwork #32 April 20th, 2017 Grab a BW sheet from the Algebra I bin.
Quadratic Functions and Their Graphs
Name:__________ warm-up 5-1
Maximum-Minimum Problems; Business and Economics Applications
3-6 Solving Equations Containing Integers Warm Up Problem of the Day
Warm-Up: Expand ..
Economic Definitions Profit = Revenue – Cost P(x) = R(x) – C(x)
Quiz Sections 9.1 to 9.4 REVIEW GAME.
Factors Affecting Profit
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
السيولة والربحية أدوات الرقابة المالية الوظيفة المالية
4.4 – Applications; Exponential Models
Unit 5 Quadratic Functions.
L17 Cost Functions.
For the cost function (given in dollars), find the average cost of 1,422 units. {image} $69,978 $1,170 $2,516,940 $1,
Buyer’s Purchasing Power
L17 Cost Functions.
Unit 4 Problem Set Rubric
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Unit 5 Quadratic Functions.
Pairs of sunglasses sold, x thousands
Functions Solving Equations Simplifying & Solving Variables on Both
Lesson 9–1 Objectives Be able to translate between various representations of functions Be able to solve problems using various representations of functions.
1. The price of the hat should be $6 if they want to make maximum profit. The profit would be $15,400.
Linear Programming Mr. Carpenter Alg. 2.
Kankolenski Part C: On the back of this paper, write a word problem that could be illustrated with the equation.
Expand Brackets Low C C B
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Quadratic Activities Michael Luo.
IGCSE Business Studies
Tables and Functions #31.
Using Variables ALGEBRA 1 LESSON 1-1
Presentation transcript:

CS123 Quiz 3

Question 5 a) How many units of ammonia must be manufactured and sold daily to maximize the profit? How much money will be made each day for that amount of production? So we need a function to represent daily profit. Assume the daily production is x units The daily production cost is C:=x->1000+20*x+1/10*x^2

Given the selling price is 590 dollars per unit We have the daily income is 590*x dollars So the daily profit is the income minus the cost profit := x -> 590 * x - C(x); Considering that the daily capacity is at most 14000 units, we can plot this function as plot(profit(x), x=0..14000);

Then, get the maximum profit maxProfit := Optimization[Maximize](profit(x),x=0..14000); The output should be like [8.02250*10^5, [x = 2850.]]

Get the daily units that maximize the daily profit Take the 2nd element of the list maxProfit[2]; we will get [x=2850.] Remove the square bracket op(maxProfit[2]); we will get x=2850. Take the right hand side of the equation rhs(op(maxProfit[2])); we will get 2850 Round it to the nearest integer round(rhs(op(maxProfit[2]))); we will get the final result 2850 Get the aassociated daily profit (use “round” function to get the nearest integer) round(maxProfit[1])

b) prices := [600, 610, 620, 630, 640, 650, 660, 670, 680, 690, 700, 710, 720, 730, 740, 750, 760, 770, 780, 790, 800, 810, 820, 830, 840, 850, 860, 870, 880, 890]: Use the same C function for the cost C:=x->10000+20*x+(1/10)*x^2: Create a table for new profits based on new prices profitTab := table();

Create a list of daily profits for i from 1 to nops(prices) do profitTab[i]:=prices[i]*x-C(x); end do; Conver the table to a list profitList:=convert(profitTab,list): Use the same technique in a) to define a function to for the unit that make maximize the profit and also output the nearest integer maxProf:=x->round(rhs(op(Optimization[Maximize](x)[2])));

Use “map” function to apply this function to the list of daily profits expressions map(maxProf,profitList); Then you will get a list of units that maximize the daily profits based on different daily prices. [2900, 2950, 3000, 3050, 3100, 3150, 3200, 3250, 3300, 3350, 3400, 3450, 3500, 3550, 3600, 3650, 3700, 3750, 3800, 3850, 3900, 3950, 4000, 4050, 4100, 4150, 4200, 4250, 4300, 4350];