Problem 3: With the same parameters as in Problem 2, price the Asian call option: The payoff $C_T$ at atime $T$ is based on the average value of the stock over the $T$ time units: $$ C_T = \left( \frac{1}{T} \sum_{i=1}^{T} S_i-K \right)^+ $$ Use $n=100, n=1000, n=10,000$ iid copies of $C_T$ (for averaging). # write your code here # you may add more cells as needed
Q: 4. An electronics company is engaged in the production of two components C1 and C2, used in radio…
A: Solution: Let x1 be the number of units of C1 produced. Let x2 be the number of units of C2…
Q: Volume of shale can be calculated if gamma ray index data is available using the following equation;…
A: In order to solve this problem, we define a variable "$V" where we calculate the volume using the…
Q: Workers at a particular company are paid at a rate of 150.00 per hour for up to 40 hours of work at…
A: #include<stdio.h> int main(){ int hours,dependent; float…
Q: LP29. Suppose five daily newspapers are published in a certain country, each paper covering some of…
A: Decision variables: x1,x2,x3,x4,x5 representing choice of newspapers 1,2,3,4,5 respectively. These…
Q: QUESTION The shelf life of the following vegetables and fruits can be extended using the packing…
A: clear all close all %function for amount of bacteria for given G f=@(t,G) 1000.*10.^(t./(3.3.*G));…
Q: A ______ is a delay that occurs between the time a person writes a check and the time the check…
A: A ______ is a delay that occurs between the time a person writes a check and the time the check…
Q: 2- Suppose the fallowing information about some product in a cloths markets , where there are two…
A: The question is on finding the excel formula for the given questions. As it is a multipart question,…
Q: You have two columns, say Age group in column A and purchase in column B. If either Age group is kid…
A: Option D i.e. None of the above is correct for the given statement. If either kid or senior citizen…
Q: Assume that the total cost of the function is 4n?+5n-2. As per Big Oh analysis, identify the order…
A: Here we are given a function and we are going to find out the order of the function using Big-oh…
Q: t for registration is group of four divisions has to be created from Accept total number of…
A: Note: Answering the question in python as no language is mentioned. Input : Input size of the…
Q: The Livewright Medical Supplies Company has a total of 12 salespeople it wants to assign to three…
A: Given: The Livewright Medical Supplies Company has a total of 12 salespeople it wants to assign…
Q: A certain store has the following scheme Commodity code: X - commodities are discounted by 8%
A: A commodity code is a sequence of numbers made up of six, eight, or ten digits. the restrictions and…
Q: Excercise 3.1 A book salesperson living in New York needs to visit clients in Utah, Jersey, LA, and…
A: Problem Analysis : Given Data : The distance of each city from the other cities. To find : The…
Q: A Company supplies a range of cosmetics products and gives discounts on orders as follows: For order…
A: For this statement, we have to make some changes in the pseudocode so that the given criteria is…
Q: A restaurant currently uses 62,500 boxes of napkins each year at a constant daily rate over the 365…
A: In this question we need solve one statement for the restaurant where we need to find the time…
Q: Q3) Study the following problem specification then answer the questions: Pensio Funds is a company…
A: While testing large applications, it is may not be possible to test for all possible values.…
Q: nction in VBA of the equation of exponential curve fitting of The Annual Revenues of Singapore Post…
A: the solution is an given below :
Q: Q3: Suppose you have the fallowing information for weekly product in a Local factory then: افرض أن…
A: The question has three supports. Find the product quantity and product sales when entered a name in…
Q: - `bsal` = beginning salary (annual salary at time of hire) - `sal77` = annual salary in 1977 -…
A: Logging helps in debugging the complete issue in case of wrong analysis result.
Q: Question 7 A. An Electrical Company has three workshops in Koforidua, Accra and Kumasi. These…
A: Solution: Given,
Q: Computer Science Question The first line consist a number X i.e., the number of test cases. The…
A: def Find_Set(u): for o in f: if u in o: return o t=int(input()) for i in…
Q: Workers at a particular company are paid at a rate of 150.00 per hour for up to 40 hours of work at…
A: Include necessary Header files Declare the float variable GrossPay,Pay, IT, SSST, SIT, HI and…
Q: A boiler operator would like optimise the boiler operating condition. Table 3.1 shows the recommend…
A: Formulas used to calculate maximum and minimum flow rates using the below formulas:…
Q: a. Mr. Faiz went to the bank to exchange paper money with coins; he went with a 6kg capacity bag.…
A: 0/1 knapsack problem to the maximum profile,the value and table
Q: Consider the following cryptarithmetic problem where TWO and FOUR are three and four digit numbers…
A: Cryptarithmetic Problem: A cryptarithmetic puzzle is a mathematical exercise in which some numbers'…
Q: y in both the shops. She needs to buy N items in all. And each she ny one of the shops. All the…
A: Given: Below is the python code and the output for the question:
Q: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 B D Question 3-Categorize the…
A: The question has been answered in step2
Q: : If g(t) = 7e12t-3, g(jt) is equals to %3D إختر أحد الخيارات: .a 7e5 .b None of the given options…
A: Given that, g(t) = 7e-j2t-3
Q: Variable cells Cell Name Final Value Reduced Cost Objective Coefficient Allowable Increase…
A: Given: Variable cells Cell Name Final Value Reduced Cost Objective Coefficient Allowable…
Q: An Electricity board charges the following rates mentioned in the table for the use of electricity.…
A: ANSWER :: #include <stdio.h> #include <stdlib.h> //first funxtion int billmenu(){…
Q: GENERATE THE DECISION VARIABLE SOLUTION AND GENERATE AN ANSWER REPORT 3. The Wisham family lives on…
A: Formulate a linear programming model a) variable cell Constraint
Q: A company maintains the stock of six produ Initial stock was as follows: a = 8, b = 32, c = 15, d =…
A: Given values are a=8, b=32, c=15, d=23, e=8, f=6 and the given schedule contains two transactions T1…
Q: Q\Find the maximum and minimum values of . f (x, y.z) = xyz subject to the constraint x + 9y? + 22 =…
A: The clarity of the question is not at equation I assume it is f(x,y,z) The solution of the question…
Q: Gotham City National Bank is open Monday through Friday from 9 a.m. to 5 p.m. From past experience,…
A:
Q: Switch statement Problem 6. A manufacturing company has classified its executives into four levels…
A: Please note, you have not mentioned any language so I'm providing you this answer in C++ Coding(…
Q: The seller has a whole new store for sale "buy 2, get 1 for free". For legal reasons, they are…
A: SUMMARY: - Hence, we discussed all the points.
Q: payments be paid given Ienba (a) $11,000 in 10 years at 8% compounded semiannually when payments are…
A: solution:
Q: 1) Holiday Inn hires you to examine three hotel locations that can each use some updating. They have…
A: We are a total of $4 million for renovation of three hotels. We have to distribute/allocate these $4…
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: Determine the amount of slack or surplus for each constraint. If required, round your answers to one…
A: The answers for the following question is as follows
Q: Question 7 • Given pda for {d'b'c* | i = j+ k} (a, ɛ/X) (b, X/e) (c, X/ɛ) (E, ɛ/ Draw a PDA for…
A:
Q: Consider a problem: some workers need to take tables across a road. The road only allóws two people…
A: According to our guidelines we solve first one:…
Q: Above ERD will be modified according to following information. In order to correctly analyze the…
A: Given: THE above ERD will be modified according to the following information. In order to correctly…
Python
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
- You have two columns, say Age group in column A and purchase in column B. If either Age group is kid or senior citizen and purchase is more that INR 15000 the purchaser gets 10% discount otherwise only 2% discount shall be given. Which of the following formula is correct? a. if(AND((A1="Kid" OR A1="Senior Citizen"),B1>15000), "12%", "2%") b. if((A1="Kid" AND A1="Senior Citizen") OR B1>15000, 12%, 2%) c. if(AND(OR(A1="Kid",A1="Senior Citizen"),B1>15000), "12%", "2%") d. None of theseHOMEPRO is a furniture manufacturer which produces two sizes of wood blocks (type A and B) thatare used to make either a table or a chair. A table is made of a type A and a type B wood blocks,while a chair is made of a type A and two type B wood blocks (See Figure 1) A table makes RM 3 profit, and a chair makes RM 5 profit. If M number of type A and Nnumber of type B wood blocks are produced, how many tables and chairs should themanufacturer make to obtain the greatest profit?For example, let M = 12 and N = 12.By making 4 tables (4 type A and 4 type B) and 4 chairs (4 type A and 8 type B), themanufacturer gain profit as follows,Profit = (RM 3) × 4 + (RM 5) × 4 = RM 32.If the manufacturer makes 2 more tables and 1 less chair, the profit will be increased as follows,Profit = (RM 3) × 6 + (RM 5) × 3 = RM 33.Is this the greatest profit? Write a complete C++ program to help the manufacturer determine the greatest profit obtainfrom making tables and chairs with a given number of M type A and…Volume of shale can be calculated if gamma ray index data is available using the following equation; Vsh=0.083(23.71GR -1) where; IGR=gamma ray index Vsh=Volume of shale on the basis of the following Vsh cut-offs,formations are regarded as clean, Shaly,or shale zone. For Vsh <10 %, implies a clean shale For Vsh 10-35% implies a shaly sand For Vsh> 35% implies a shale zone Write a PHP program to determine the type of formation.(Test the program for IGR=1.8308,2.1513,and 2.3756)
- Q2. Consider the following options for characters in setting a password: Digits = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 } Letters = { a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z } Special characters = { *, &, $, # } Compute the number of passwords possible that satisfy these conditions: Password must be of length 8. Characters can be special characters, digits, or letters. The first character must be a letter. Characters may be repeated.IKEO is a furniture manufacturer which produces two sizes of wood blocks (type A and B) thatare used to make either a table or a chair. A table is made of a type A and a type B wood blocks,while a chair is made of a type A and two type B wood blocks (See Figure 1) A table makes RM 3 profit, and a chair makes RM 5 profit. If M number of type A and Nnumber of type B wood blocks are produced, how many tables and chairs should themanufacturer make to obtain the greatest profit?For example, let M = 12 and N = 12.By making 4 tables (4 type A and 4 type B) and 4 chairs (4 type A and 8 type B), themanufacturer gain profit as follows,Profit = (RM 3) × 4 + (RM 5) × 4 = RM 32.If the manufacturer makes 2 more tables and 1 less chair, the profit will be increased as follows,Profit = (RM 3) × 6 + (RM 5) × 3 = RM 33.Is this the greatest profit? Write a complete C++ program to help the manufacturer determine the greatest profit obtainfrom making tables and chairs with a given number of M type A and N…IKEO is a furniture manufacturer which produces two sizes of wood blocks (type A and B) thatare used to make either a table or a chair. A table is made of a type A and a type B wood blocks,while a chair is made of a type A and two type B wood blocks.A table makes RM 3 profit, and a chair makes RM 5 profit. If M number of type A and Nnumber of type B wood blocks are produced, how many tables and chairs should themanufacturer make to obtain the greatest profit?For example, let M = 12 and N = 12.By making 4 tables (4 type A and 4 type B) and 4 chairs (4 type A and 8 type B), themanufacturer gain profit as follows,Profit = (RM 3) × 4 + (RM 5) × 4 = RM 32.If the manufacturer makes 2 more tables and 1 less chair, the profit will be increased as follows,Profit = (RM 3) × 6 + (RM 5) × 3 = RM 33.Is this the greatest profit?Write a complete C++ program to help the manufacturer determine the greatest profit obtainfrom making tables and chairs with a given number of M type A and N type B wood…
- Joe Forrester, an operations analyst for a manufacturing company, developed the following LP formulation and wants to create an initial simplex tableau. ? Max 40xl + 30x2 + 50x3s.t. 2xl + 3x2 + 4x3 < 200 x1 + 2x2 + 2x3 < 300 3xl + x2 + 5x3 < 500The Iowa Energy are scheduled to play against the Maine Red Claws in an upcoming game in the National Basketball Association Developmental League (NBA-DL). Because a player in the NBA-DL is still developing their skills, the number of points he scores in a game can vary. Assume that each player's point production can be represented as an integer uniform variable with the ranges provided in the table below. Player Iowa Energy Maine Red Claws 1 [5, 20] [7, 12] 2 [7, 20] [15, 20] 3 [5, 10] [10, 20] 4 [10, 40] [15, 30] 5 [6, 20] [5, 10] 6 [3, 10] [1, 20] 7 [2, 5] [1, 4] 8 [2, 4] [2, 4] Develop a spreadsheet model that simulates the points scored by each team. Use at least 1,000 trials. What is the average and standard deviation of points scored by the Iowa Energy? If required, round your answer to one decimal place.Average = fill in the blank 1Standard Deviation = fill in the blank 2What is the shape of the distribution of points scored by the Iowa Energy?…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…A person is looking to invest $100,000 in hopes of getting the highest return possible. There are 4 investment options available: bonds, mutual funds, stocks, or a saving account yielding interest. The bonds give a 3% annual return, mutual funds give an 8% return, stocks give a 10% return, and the savings account gives a 2% return (all investments subject to risk). To control for risk, several constraints are put into place: 1. No more than 15% of the total investment can be put into stocks. 2. At least 40% must be invested in mutual funds and/or the savings account. 3. The amount put in the savings account must be no more than the amount put into the other investments combined. 4. The ratio of money invested in bonds and mutual fund to the amount in stocks and the savings account should be at least 1.2 to 1. 5. All $100,000 must be invested and no shorting is allowed (It means there will be no “borrowed” money”) Formulate a linear programming model for this problem to get the highest…TID items_bought 100 {M, O, N, K, E, Y} 200 {D, O, N, K, E, Y} 300 {M, A, K, E} 400 {M, U, C, K, Y} 500 {C, O, K, I, E} Which of the following are maximal itemset in the table above, when minsup is 40%? a. {K, C} b. {M, K} c. {O, N, K, Y}