Concept explainers
Explanation of Solution
Formulation of Linear
The given table shows the company’s hourly salary paid to the employee, price charged for each capacitor made, and the number of defects in each capacitor produced during each shift.
Let “x1” be the number of workers assigned to shift 8AM to 4PM, “x2” be the number of workers assigned to shift 4PM to midnight, and “x3” be the number of workers assigned to shift midnight to 8AM.
The total number of capacitors produced each day is given by,
The revenue generated from these capacitors is,
The hourly labor cost is given by,
Since, each worker works for 8 hours, so per day labor cost is,
The profit is given by,
The constraints of the problem are as follows:
At most 10 workers can be assigned to any shift. Therefore,
At most 250 capacitors can be sold daily. Therefore,
The average number of defects per capacitor cannot exceed 3
Want to see the full answer?
Check out a sample textbook solutionChapter 3 Solutions
Introduction to mathematical programming
- Table (A) shows the individual income tax rates for assessment year 2020. Table (A): Income tax rates assessment year 2020 Chargeable Income (RM) 0- 5,000 Calculation (RM) On the First 5,000 On the First 5,000 Next 15,000 On the First 20,000 Rate % Таx (RM) 5,001 – 20,000 1 150 150 20,001 – 35,000 3 Next 15,000 450 On the First 35,000 Next 15,000 600 35,001 – 50,000 8 1,200 Write a complete C program to prompt the user to enter the total chargeable income (RM), and then calculate the tax based on the calculation given in Table (A). For example: Prem's chargeable income = RM30,000 (RM20,000 + RM10,000) Total tax = RM150 (for first RM20,000) + RM300 (3% x RM10,000) = RM450 The program will then display the result which is the total amount tax needed to be paid in Ringgit Malaysia (RM), up to three significant digits after the decimal point. Requirements: Apply one return value function, include parameter list if necessary - Apply one non-return value function, include parameter list if…arrow_forwardTable (A): Income tax rates assessment year 2020 Chargeable Income (101) Calculation (RM) Rate % 'lax (101) 0 — 5,000 On the First 5,000 0 0 5,001 — 20,000 On the First 5,000Next 15,000 0150 20,001 — 35,000 On the First 20,000Next 15,000 150450 35,001 — 50,000 On the First 35,000Next 15,000 8 6001,200 Write a complete C program to prompt the user to enter the total chargeable income (RM), and then calculate the tax based on the calculation given in Table (A). Requirements: - Apply one return value function, include parameter list if necessary - Apply one non-return value function, include parameter list if necessary - If user enter chargeable income that is out of range (refer to Table (A)), display an error message and ask user to re-enter the chargeable income. - Repeat the program for 3 times.arrow_forwardA coal mine purchased 3 years ago for $7 million was estimated to contain 4,000,000 tons of coal. During the past 3 years the amount of coal removed was 21,000, 18,000, and 20,000 tons, respectively. The gross income obtained in these 3 years was $257,000 for the first year, $320,000 for the second year, and $340,000 for the third year. What is the cost depletion allowance for year 1.arrow_forward
- Need correct Solution only wrong answer will be down voted. Thank youarrow_forwardQUESTION TWO: The following marks were obtained by candidates in an examination (no fractions of a mark were awarded): Number of candidates Marks 0-5 2 6-10 8 11-15 20 16-20 30 21-25 50 26-30 80 31-35 120 36-40 150 41-45 200 46-50 220 51-55 280 56-60 320 .61-65 260 66-70 160 71-75 120 76-80 100 81-85 60 86-90 40 91-95 17 96-100 3 Total 2240 2. If the examining body wished to pass only one-third of the candidates, what should the pass mark be? 3. Compute the measures of central tendency and comment on each of them. 4. By computing the appropriate measures comment on the normality of the distribution. 888arrow_forwardAl Watan supermarket has hire-purchases scheme for locals and expats. The customers will get the credit facility if they satisfy any of the following conditions: 1- The customer must hold the present job for more than 5 years and reside in the same place at least for 3 years. In this case, the customer will get credit upto rupees 300 omr. 2- The monthly salary of the customer must exceed 1000 omr and must hold the present job for more than 5 years. In this case credit will be given upto rupees 500 omr. 3- The monthly salary must exceed 1000 omr and reside at the same place at least for 3 years. In this case credit will be given upto 500 omr. 4- In the case, the customer?s monthly salary exceeds 1000 omr, holds the present job for more than 5 years and also reside in the same place at least for the 3 years, the credit facility will be upto 1000 omr 5- The credit facility is rejected for all other customers. Prepare a Decision Table for this hire- purchase scheme.arrow_forward
- Amarillo Video Store is planning a promotional give-away for its long-standing customers. If the customer has been a member for 18 months or more he/she will receive a coupon booklet allowing him/her to hire 4 movies for free. If during that same 18 months he/she has hired at least 12 videos, he/she will receive an additional 3 free movie hire vouchers. If the customer’s membership is less than 18 months and he/she has hired at least 12 videos then he/she will receive 2 free movie hire vouchers. All members will receive a Thank You letter and “Yentia Obiaa” music video. Construct a Decision Tree for the above scenario.arrow_forwardQuestion: If the worker has an absence in the fourth week, he deducts from 5000, except that 5000 is added to him?arrow_forwardNeed correct solution else downvotearrow_forward
- Assignment 2. ELECTRICITY BILL CALCULATOR FOR DOMESTIC DWELLING Electrical Unit Tariff blocks Unit RM Fixed Charge First Unit Slab Next Unit 200 0.218 200 RM Slab 100 0.334 Surcharge 0.00 RM/Unit Next Unit Slab 300 0.516 Tax.Charge 6 % Next Unit Slab 300 0.546 Meter Charge 200 RM Last Unit Slab 100 0.571 ITEM RATINGS NUMBER no. hours/day unit consumed in kwh LED 8 16 CFL 20W 5 16 REF 200W 1 24 FAN 80W 6 24 total meter reading for a month 190 Monthly Bill 540 final bill 1 Calculate the electricity bill as per the table given 2 nested if formula has to be used to apply various conditions for all tariff blocks 3 for two tariff blocks formula is already applied so you have to do for the remaining tariff block IF(F18<=100,F18*2.7,(100*2.7)+(F18-100)*3)arrow_forward1. The wage received by the worker in the second weekarrow_forwardCalculate the total working wage during the first week?arrow_forward
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks ColeC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrA Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology Ptr
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage