In the refrigerator example, suppose the warranty worksas follows. If a refrigerator fails at any time within 5 yearsof purchase, we give the consumer a prorated refund on the$500 purchase price. For example, if the refrigerator failsafter 4 years, we pay the customer $100. If the refrigeratorfails after 3 years, we pay the customer $200. Estimate ourexpected warranty expense per refrigerator sold.
Q: Max and Min are the only two delivery men of Domino's Pizza. Assume the particular store received N…
A: Process: Initially take the input form the user the total possible delivery N Then Asked about the…
Q: Max and Min are the only two delivery men of Domino's Pizza. Assume the particular store received N…
A: According to the above listed problem statement we have to develop a python program that find out…
Q: When a car arrives at the toll gate, the gate is closed. the gate opens as soon as the driver has…
A: In order to decide this, the machine is in one of the following six state at any moment during the…
Q: Problem: • A chocolate bar at a local vending machine costs $1 Each chocolate bar has 1 coupon in…
A: Definition of java Sun Microsystems first introduced Java, a programming language and computing…
Q: A thief is robbing a jewelry store showcasing various gems. Having an empty knapsack which can fill…
A:
Q: Suppose, you are working in a company 'X' where your job is to calculate the profit based on their…
A: Program code: class FinalQ: def print(self,array,idx): if(idx<len(array)):…
Q: In the following question, we assume that the wind comes from the east . The cost of one step is…
A: Answer: Our instruction is answer the first three part from the first part and . I have given…
Q: 2. A safe has 5 locks v, w, y and z; all of which must be unlocked for the safe to open. The keys to…
A: The number of locks given in the question is 5: v, w, x, y, and z. For unlocking these locks there…
Q: 1- Suppose you have the information of sales (la) of poultry factory (elga J),contain several…
A: Answer is given below .
Q: Suppose, you are working in a company 'X' where your job is to calculate the profit based on their…
A: Note:- I am taking the Python part. Program: class FinalQ: def print(self,array,idx):…
Q: A seller has an indivisible asset to sell. Her reservation value for the asset is s, which she knows…
A: Answer: I have given answered in the handwritten format
Q: Suppose, you are working in a company ‘X’ where your job is to calculate the profit based on their…
A: Answer : GIVEN THAT:-- Step 1 Note:- I am taking the Python part. Program Plan:- In First TODO part…
Q: If the time taken by the worker is input through the keyboard, find the efficiency of the worker.
A: # include <iostream.h> void main() { str[] efficiency ; int hours; cout>>"Enter number…
Q: A construction company has four large bulldozers located at four different garages. The bulldozers…
A:
Q: Problem 2 Suppose we have height and weight and its corresponding Tshirt size of several customers.…
A: Actually, K-Nearest Neighbor is one of the simplest Machine Learning algorithms based on Supervised…
Q: Let C (x, y) =" x likes y "and domain of x and y are all people. Then the statement "There are…
A:
Q: An electricity distribution company wants to calculate the electricity fee to be paid by the…
A: As no programming language is mentioned it is solved using basic C++
Q: 2- Suppose the fallowing information about some product in a cloths markets , where there are two…
A: Given : product type and price is given there are two discount -15% and -20% we have to calculate…
Q: [Very Hard] Suppose, you are working in a company ‘X’ where your job is to calculate the profit…
A: Note:- I am taking the Python part. Program Plan:- In First TODO part just print the investment…
Q: It has been observed by management that some faculty member at the university demonstrates a…
A: Code: import java.util.*; public class Faculty { //below are the functions with…
Q: Suppose, you are working in a company ‘X’ where your job is to calculate the profit based on their…
A: If the company invests 100,000 USD or less, their profit will be based on 75,000 USD as first…
Q: It has been observed by management that some faculty member at the university demonstratesa…
A: CODE:- #include<iostream>using namespace std;class Teacher_salary{ public:…
Q: Suppose that the number of years that a used car will run before a major breakdown is exponentially…
A: Exponential distribution describes wait time between any two Poisson occurrences. If T is the time…
Q: C={c1,c2,… ,cm} (c1<c2<… <cm) be the arrangement of individuals who hold cardboards of 'C'. Let…
A: Here have to determine about the who hold cardboards programming problem statement.
Q: Max and Min are the only two delivery men of Domino's Pizza. Assume the particular store received N…
A: According to the above listed problem statement we have to develop a NODE JS program that find out…
Q: Define Existential and Universal Quanti fier. Let K(x): "xisa two-wheeler." L(x): "x is a scooter",…
A: The given statements are expressed as Universal and Existential quantifiers.They are as follows.
Q: Question 1. Suppose that the grading of x University courses is as follows: • Each student can get…
A: Java Source Code: import java.util.*; public class Question1 { int[] input=new int[5]; public…
Q: Algorithm. Consider the following partial implementation of a dynamic programming solution to the…
A: The question is to write the complete code by filling the numbers fro 1 to 5.
Q: Tom and Ron are the only two delivery men of Domino's Pizza. Assume the particular store received N…
A: Algortithm: Firstly take the input form the user the total possible delivery N Then Asked about the…
Q: It has been observed by management that some faculty member at the university demonstrates a…
A: The program is implemented in C++ with structured approach. The function absent() is overloaded four…
Q: 2- Suppose the fallowing information about some product in a cloths markets, where there are two…
A: GIven : discount 1=-15%discount2 =-20%product type 1 and product type 2
Q: It has been observed by management that some faculty member at the university demonstrates a…
A: Coded using Java.
Q: For tax purpose an item may be depreciated over a period of several years. With the straight-line…
A: item = input("Enter name of the item purchased: ")year = int(input("Enter year purchased: "))cost =…
Q: You found an exciting summer job for five weeks. It pays, say, $15.50 per hour. Suppose thatthe…
A: The given problem is related to the calculation of various amounts based on the earning where the…
Q: For tax purpose an item may be depreciated over a period of several years. With the straight-line…
A: Actually, program is a executable software that runs on a computer.
Q: Max and Min are the only two delivery men of Domino's Pizza. Assume the particular store received N…
A:
Q: Draw a DFA that describes the behavior of vending machine which accepts Indian rupees and quarters…
A: At the stage $1.00, there should not be a self-loop for input $1.00,$0.25. I have corrected it. I…
Q: Bruno gives his son P100 on one day, P50 on the second day, P25 on third day and so on. What will be…
A:
Q: o GPL: 1. If Alice is tall, Bob is taller than her, and Carol is taller than both of them,…
A: Translate the following into GPL: 1. If Alice is tall, Bob is taller than her, and Carol is taller…
Q: 1- Suppose you have the information of sales (Cla) of poultry factory (elall Jen),contain several…
A: Answer is given below .
Q: When a car arrives at the toll gate, the gate is closed. the gate opens as soon as the driver has…
A: From the given data: The objective is to Construct the state transition table for the above…
Q: Problem 3. Assume / is an instance of STABLEMARRIAGE and that you have run the PROPOSEDISPOSE…
A: It is always possible to form stable marriages from lists of preferences (See references for proof).…
Q: In a company, worker efficiency is determined on the basis of the time required for a worker to…
A: 1) Below is C Program to find worker efficiency on basis of time required for worker to complete a…
In the refrigerator example, suppose the warranty worksas follows. If a refrigerator fails at any time within 5 yearsof purchase, we give the consumer a prorated refund on the$500 purchase price. For example, if the refrigerator failsafter 4 years, we pay the customer $100. If the refrigeratorfails after 3 years, we pay the customer $200. Estimate ourexpected warranty expense per refrigerator sold.
Step by step
Solved in 2 steps with 11 images
- Suppose, you are working in a company ‘X’ where your job is to calculate the profit based on their investment.If the company invests 100,000 USD or less, their profit will be based on 75,000 USD as first 25,000 USD goes to set up the business in the first place. For the first 100,000 USD, the profit margin is low: 4.5%. Therefore, for every 100 dollar they spend, they get a profitof 4.5 dollar.For an investment greater than 100,000 USD, for the first 100,000 USD (actually on 75,000 USD as 25,000 is the setup cost), the profit margin is 4.5% where for the rest, it goes up to 8%. For example, if they invest 250,000 USD, they will get an 8% profit for the 150,000 USD. In addition, from the rest 100,000 USD, 25,000 is the setup cost and there will be a 4.5% profit on the rest 75,000. Investment will always be greater or equal to 25,000 and multiple of 100.Complete the RECURSIVE methods below that take an array of integers (investments)and an iterator (always sets to ZERO(‘0’) when the…[Very Hard] Suppose, you are working in a company ‘X’ where your job is to calculate the profit based on their investment. If the company invests 100,000 USD or less, their profit will be based on 75,000 USD as first 25,000 USD goes to set up the business in the first place. For the first 100,000 USD, the profit margin is low: 4.5%. Therefore, for every 100 dollar they spend, they get a profit of 4.5 dollar. For an investment greater than 100,000 USD, for the first 100,000 USD (actually on 75,000 USD as 25,000 is the setup cost), the profit margin is 4.5% where for the rest, it goes up to 8%. For example, if they invest 250,000 USD, they will get an 8% profit for the 150,000 USD. In addition, from the rest 100,000 USD, 25,000 is the setup cost and there will be a 4.5% profit on the rest 75,000. Investment will always be greater or equal to 25,000 and multiple of 100. Complete the RECURSIVE methods below that take an array of integers (investments) and an iterator (always…Suppose, you are working in a company ‘X’ where your job is to calculate the profit based on their investment. If the company invests 100,000 USD or less, their profit will be based on 75,000 USD as first 25,000 USD goes to set up the business in the first place. For the first 100,000 USD, the profit margin is low: 4.5%. Therefore, for every 100 dollar they spend, they get a profit of 4.5 dollar. For an investment greater than 100,000 USD, for the first 100,000 USD (actually on 75,000 USD as 25,000 is the setup cost), the profit margin is 4.5% where for the rest, it goes up to 8%. For example, if they invest 250,000 USD, they will get an 8% profit for the 150,000 USD. In addition, from the rest 100,000 USD, 25,000 is the setup cost and there will be a 4.5% profit on the rest 75,000. Investment will always be greater or equal to 25,000 and multiple of 100. Complete the RECURSIVE methods below that take an array of integers (investments) and an iterator (always sets to…
- Suppose, you are working in a company ‘X’ where your job is to calculate the profit based on their investment. If the company invests 100,000 USD or less, their profit will be based on 75,000 USD as first 25,000 USD goes to set up the business in the first place. For the first 100,000 USD, the profit margin is low: 4.5%. Therefore, for every 100 dollar they spend, they get a profit of 4.5 dollar. For an investment greater than 100,000 USD, for the first 100,000 USD (actually on 75,000 USD as 25,000 is the setup cost), the profit margin is 4.5% whereas for the rest, it goes up to 8%. For example, if they invest 250,000 USD, they will get an 8% profit for the 150,000 USD. In addition, from the rest 100,000 USD, 25,000 is the setup cost and there will be a 4.5% profit on the rest 75,000. The investment will always be greater or equal to 25,000 and multiple of 100. Complete the RECURSIVE methods below that take an array of integers (investments) and an iterator (always sets to…2. A safe has 5 locks v, w, y and z; all of which must be unlocked for the safe to open. The keys to the locks are distributed among five executives in the following manner.Mr. A has keys for locks v and x. Mr. B has keys for locks v and y. Mr. C has keys for locks w and y. Mr. D has keys for locks x and z. Mr. E has keys for locks v and z.a) Determine the minimal number of executives required to open the safe.b) Find all the combinations of executives that can open the safe; write and expression f(A, B, C, D, E) which specifies when the safe can be opened as a function of what executives are present.c) Who is the essential executive?This problem exercises the basic concepts of game playing, using tic-tac-toe (noughtsand crosses) as an example. We define Xn as the number of rows, columns, or diagonals with exactly n X’s and no O’s. Similarly, On is the number of rows, columns, or diagonals with just n O’s. The utility function assigns +1 to any position with X3 = 1 and −1 to any position with O3 = 1. All other terminal positions have utility 0. For nonterminal positions, we use a linear evaluation function defined as Eval (s) = 3X2(s)+X1(s)−(3O2(s)+O1(s))."Mark on your tree the evaluations of all the positions at depth 2."
- Suppose we have a nice young couple who borrow $700000 from the bank, at an annual interest rate of3.124%. The mortgage is a 30 year loan, so they need to pay it off within 360 months total. Our happycouple decide to set their monthly mortgage payment at $2000 per month. Will they pay off the loan intime or not?Note that the monthly balance will be calculated asbalance = (im × previous balance) - monthly paymentwhere the convert annual interest to a monthly multiplier im is calculated as im = (1 +i)1/12 and i = annualinterest rate.Write a loop for track the total payment in 360 months so that we can evaluate if the couple can pay off theloan. Write in R Please and thank you.It has been observed by management that some faculty member at the university demonstrates a lackadaisical attitude toward work. They seldom go to class yet at the end of each month they receive full salary. Management has decided that GHs 200, 300, 400, and 500 will be deducted from a faculty’s salary if he/she offends once, twice, third time and forth time respectively in a month. This means that if a faculty member offends once in a month GHs 200 will be deducted, if a faculty member offends twice in a month, GHs 500 (i.e. 200+300) will be deducted, if a faculty member offends three times in a month GHs 900 (i.e. 200+300+400), will be deducted and if a faculty member offends four times in a month GHs 1,400 (i.e. 200+300+400+500). Assuming all faculty members are on a flat salary rate of GHs 2500.a. Write a program to request for the names of four faculty members and number times he/she has absented him/herself from class. One of them should have absented him/herself once, another…It has been observed by management that some faculty member at the university demonstrates a lackadaisical attitude toward work. They seldom go to class yet at the end of each month they receive full salary. Management has decided that GHs 200, 300, 400, and 500 will be deducted from a faculty’s salary if he/she offends once, twice, third time and forth time respectively in a month. This means that if a faculty member offends once in a month GHs 200 will be deducted, if a faculty member offends twice in a month, GHs 500 (i.e. 200+300) will be deducted, if a faculty member offends three times in a month GHs 900 (i.e. 200+300+400), will be deducted and if a faculty member offends four times in a month GHs 1,400 (i.e. 200+300+400+500). Assuming all faculty members are on a flat salary rate of GHs 2500.a. Write a program to request for the names of four faculty members and number times he/she has absented him/herself from class. One of them should have absented him/herself once, another…
- ProblemGiven a value `value`, if we want to make change for `value` cents, and we have infinitesupply of each of coins = {S1, S2, .. , Sm} valued `coins`, how many ways can we make the change?The order of `coins` doesn't matter.For example, for `value` = 4 and `coins` = [1, 2, 3], there are four solutions:[1, 1, 1, 1], [1, 1, 2], [2, 2], [1, 3].So output should be 4. For `value` = 10 and `coins` = [2, 5, 3, 6], there are five solutions: [2, 2, 2, 2, 2], [2, 2, 3, 3], [2, 2, 6], [2, 3, 5] and [5, 5].So the output should be 5. Time complexity: O(n * m) where n is the `value` and m is the number of `coins`Space complexity: O(n)""" def count(coins, value): """ Find number of combination of `coins` that adds upp to `value` Keyword arguments: coins -- int[] value -- int """ # initialize dp array and set base case as 1 dp_array = [1] + [0] * value) ++.There are three financial aid counselors. If a student’s last initial is from A – H, let them know that their counselor is Jon Stewart. If a student’s last initial is from I – Q, let them know that their counselor is Chelsea Handler. If a student’s last initial is from R – Z, let them know that their counselor is Brian Williams.Ask student for the FICO score, if it’s less than 660 tell that this student cannot have a loan. c++Consider the following propositions:Today is not sunny and cooler than last week. We will go shopping only if today is sunny. If wechoose not to go shopping, then we will go to school. If we decide to go to school, then we willarrive at school by 5 pm. Please use these letters as abbreviations:P : It’s sunny today.Q: Today is cooler than last week.R: We will go shopping.S: We will go to school.T : We will arrive at school by 5 pm. Try to figure out what conclusion you can get from the above propositions