(Please include a table with at least 50 data points for the graph. Graph the value of your portfolio as a function of the relevant stock price. Graph for stock prices between 100 and 140.)
In: Finance
In: Finance
This Homework would have two python files for a cheap online ticket seller. (You are free to imagine a new scenario and change any part of the question.)
The main purpose of the homework is to use basic concepts. You should try to use basic python elements like variables, if-else, loops, lists, dictionary, tuple, functions in this homework.
***
Price list to calculate the price for various destinations---
Price For Delta $ 200.00 (Economy), 300.00(Business), 400(First class)
United 220.00 (Economy), 330.00(Business), 410(First class)
Lufthansa 250.00(Economy), 340.00(Business), 410(First class)
American 260.00(Economy), 300.00(Business), 420(First class)
Price for Delta $ 250.00(Economy), 300.00(Business), 400(First class)
United $270.00 (Economy), 300.00(Business), 400(First class)
Lufthansa $ 290.00, (Economy), 300.00(Business), 400(First class)
American $ 280.00(Economy), 300.00(Business), 400(First class)
Price for Delta $ 350.00(Economy), 410.00(Business), 500.00(First class),
United 360.00(Economy), 4200.00(Business), 510(First class),
Lufthansa 370.00(Economy), 440.00(Business), 530(First class),
American 370.00(Economy), 430.00(Business), 510(First class)
Price For Delta $ 370.00(Economy), 410.00(Business), 520(First class),
United 380.00(Economy), 430.00(Business), 550(First class),
Lufthansa 390.00(Economy), 460.00(Business), 600.00(First class),
American 400.00(Economy), 470.00(Business), 590.00(First class)
For 6.00 AM and 11.00 AM flight, nothing to extra charge but 2.00 PM and & 7.00 flight has a $ 50.00 extra charge to book. However, the 11.00 PM flight has an extra charge of $ 70
***
Output: Do you Want to buy a ticket?
Enter Option 1 for buy ticket 2 for no:
How many people are you going to travel with? (Choose option Maximum 5):
Choose your destination from the below options menu:
What airline company do you want to travel with for destination:
Choose an option from the menu:
What class do you want to travel to? :
Choose an option from the menu:
What time would you like to travel to a destination? :
Choose an option from the menu:
The total price for your travel ticket is:
Enter Option 1 for buy ticket 2 for no:
In: Computer Science
Can someone convert this to C++ Please!
import java.util.*; // for Random
import java.util.Scanner; // for Scanner
class game{
public static void main(String args[])
{
// generating a random number
Random rand = new Random();
int code = rand.nextInt(99999) + 1,
chances = 1, help, turn, i,match, sum;
// for input
Scanner sc = new
Scanner(System.in);
// running for 10 times
while(chances < 11)
{
System.out.print("\nYour chance number "+chances+" : ");
// taking user
input
turn =
sc.nextInt();
// if the code
matches, comes out of loop
if(turn ==
code)
break;
// code didn't
match
else
{
help = code;
match = 0;
sum = 0;
// looping 5 times to check each digit
for(i=0;i<5;i++)
{
// Checking from last digit
to first digit. So dividing by 10 each time.
// if digit is matched,
adding it to sum and incrementing match variable by 1
if(help%10 == turn%10)
{
match++;
sum+=help%10;
}
help = help/10;
turn = turn/10;
}
// printing sum and match to guide player
System.out.printf("\nNumber of digits matched:
%d\nSum of them : %d\n", match, sum);
}
chances++;
}
// printing relavant message
if(chances == 11)
{
System.out.println("\nYou lost! Code is "+code);
}
else
System.out.println("\nCongratulations, you won!");
}
}
In: Computer Science
Shrieves Casting Company is considering adding a new line to its product mix, and the capital
budgeting analysis is being conducted by Sidney Johnson, a recent business school graduate.
The production line would be set up in unused space in Shrieves's main plant. The machinery's
invoice price would be approximately $200,000, another $10,000 in shipping charges would be
required, and it would cost an additional $30,000 to install the equipment. The machinery has
an economic life of 4 years and would be in Class 8 with a CCA rate of 20%. The machinery is
expected to have a salvage value of $25,000 after 4 years of use.
The new line would generate incremental sales of 1,250 units per year for 4 years
at an incremental cost of $100 per unit in the first year, excluding depreciation. Each
unit can be sold for $200 in the first year. The sales price and cost are both expected
to increase by 3% per year due to inflation. Furthermore, to handle the new line, the
firm's net operating working capital would have to increase by an amount equal to 12%
of sales revenues. The firm's tax rate is 28%, and its overall weighted average cost of
capital is 10%.
A) Assume that Sidney Johnson is confident of her estimates of all the variables that affect the project’s cash flows except unit sales and sales price. If product acceptance is poor, unit sales will be only 900 units a year and the unit price will be only $160; a strong consumer response will produce sales of 1,600 units and a unit price of $240. Johnson believes that there is a 25% chance of poor acceptance, a 25% chance of excellent acceptance, and a 50% chance of average acceptance (the best case).
1. What is scenario analysis?
2.What is the worst-case NPV? The best case NPV?
3.Use the worse-, base-, and best case NPVs and probabilities of occurrence to find the projects expect NPV, standard deviation, and coefficient of variation.
In: Finance
Sales Budget FlashKick Company manufactures and sells soccer balls for teams of children in elementary and high school. FlashKick’s best-selling lines are the practice ball line (durable soccer balls for training and practice) and the match ball line (high-performance soccer balls used in games). In the first four months of next year, FlashKick expects to sell the following:
__________Practice Balls_______________________Match Balls
_____Units _______Selling Price __________Units ________Selling Price
January ____50,000 _____$8.25__________7,000 ___________$16.00
February ___58,000_____ $8.25_________ 7,500____________ $16.00
March_____ 80,000_____ $8.25________ 13,000____________ $16.00
April_____ 100,000_____ $8.25________ 18,000_____________ $16.00
Required:
1. Construct a sales budget for FlashKick for the first three months of the coming year. Show total sales for each product line by month and in total for the first quarter. If required, round your answers to the nearest cent.
FlashKick Company
Sales Budget For the
First Quarter of Next Year
________January __________February_______ March______ Quarter
Practice ball:
Units _________?___________?______________?____________?
Unit price _________$ _______$ _____________$____________ $
Sales ____________$ _______$ _____________$____________ $
Match ball:
Units________?__________?________?_______?
Unit price____ $ _________$ ________$ ______$
Sales_______ $ _________$ ________$______ $
Total sales __$__________ $________ $______ $
2. What if FlashKick added a third line—tournament quality soccer balls that were expected to take 40 percent of the units sold of the match balls and would have a selling price of $45 each in January and February, and $48 each in March? Prepare a sales budget for FlashKick for the first three months of the coming year. Show total sales for each product line by month and in total for the first quarter. If required, round your answers to the nearest cent.
FlashKick Company
Sales Budget
For the First Quarter
_________January________ February______ March_______ Quarter
Practice ball:
Units______?__________?_________?__________?
Unit price __$__________$_________$ ________$
Sales _____$ _________$________ $__________ $
Match ball:
Units______?_________?_________?__________?
Unit price__ $ ________$ _________$_________ $
Sales _____$________ $_________ $________ $
Tournament ball:
Units______?________?__________?__________?
Unit price __$ _______$__________ $_________ $
Sales_____ $_______ $__________ $_________ $
Total sales___ $_____ $__________ $_________ $
In: Accounting
Decide on a recommended Bull Call Spread or Bear Call Spread based on your 1 year stock price target. Calculate the expected outcome in 1 year assuming the stock attains your 1 year price target. Use 100 contracts for your option quantities.
Required Information:
Intrinsic Value = $323.52
Current Stock Price = $262.33
1 Year Stock Price Target = $327.62
In: Finance
A trader writes seven naked put option contracts, with each contract being on 100 shares. The option price is $5, the time to maturity is eight months, and the strike price is $35. 2 a) What is the margin requirement if the stock price is $41? b) How would the answer to a) change if the stock price were $30? c) How would the answer to a) change if the trader is buying instead of selling the options?
In: Finance
I WOULD HAVE SEPERATED THE QUESTIONS BUT UNFORTUNATELY ALL OF THESE QUESTIONS/PROBLEMS SEEMED TO BE RELATED WITH EACH OTHER.
Problem 1
Ambulance Services of America (ASA) operates a fleet of ambulances that make scheduled pickups and deliveries for its customers (nursing homes, hospitals, etc.) in the Pennsylvania area. The company is implementing an activity-based costing system that has four activity cost pools: Travel, Pickup and Delivery, Customer Service, and Other. The activity measures are miles for the Travel cost pool, number of pickups and deliveries for the Pickup and Delivery cost pool, and number of customers for the Customer Service cost pool. The Other cost pool has no activity measure because it is an organization-sustaining activity. The following costs will be assigned using the activity-based costing system:
|
Driver and first-aid worker wages |
$840,000 |
|
Vehicle operating expense |
270,000 |
|
Vehicle depreciation |
150,000 |
|
Customer representative salaries and expenses |
180,000 |
|
Office expenses |
40,000 |
|
Administrative expenses |
340,000 |
|
Total cost |
$1,820,000 |
The distribution of resource consumption across the activity cost pools is as follows:
|
Travel |
Pickup and Delivery |
Customer Service |
Other |
Total |
|
|
Driver and first-aid worker wages |
40% |
45% |
10% |
5% |
100% |
|
Vehicle operating expense |
75% |
5% |
0% |
20% |
100% |
|
Vehicle depreciation |
70% |
10% |
0% |
20% |
100% |
|
Customer representative salaries and expenses |
0% |
0% |
85% |
15% |
100% |
|
Office expenses |
0% |
25% |
35% |
40% |
100% |
|
Administrative expenses |
0% |
5% |
55% |
40% |
100% |
Required:
Complete the first-stage allocations of cost to activity cost pools as illustrated in Exhibit 6-6. (Hint: Complete the following table):
|
Travel |
Pickup & Delivery |
Customer Service |
Other |
Total |
|
|
Driver and first-aid worker wages |
|||||
|
Vehicle operating expense |
|||||
|
Vehicle depreciation |
|||||
|
Customer representative salaries & expenses |
|||||
|
Office expenses |
|||||
|
Administrative expenses |
|||||
|
Total cost |
Problem 2
Ophthalmic Instruments and Supplies Corporation has supplied the following data for use in its activity-based costing system:
|
Overhead Costs |
|
|
Wages and salaries |
$350,000 |
|
Other overhead costs |
200,000 |
|
Total overhead costs |
$550,000 |
|
Activity Cost Pool |
Activity Measure |
Total Activity |
|
Direct labor support |
Number of direct labor-hours |
10,000 DLHS |
|
Order processing |
Number of orders |
500 orders |
|
Customer support |
Number of customers |
100 customers |
|
Other |
This is an organizational-sustaining activity |
Not applicable |
|
Distribution of Resource Consumption Across Activities |
|||||
|
Direct Labor Support |
Order Processing |
Costumer Support |
Other |
Total |
|
|
Wages and salaries |
30% |
35% |
25% |
10% |
100% |
|
Other overhead costs |
25% |
15% |
20% |
40% |
100% |
During the year, Ophthalmic Instruments and Supplies Corporation completed an order for a special optical medical instrument for a new customer, Valley Grande Hospital. This customer did not order any other products during the year. Data concerning the order follow:
|
Data Concerning the Valley Grande Hospital Order |
|
|
Selling price |
$295 per unit |
|
Units ordered |
100 units |
|
Direct materials |
$264 per unit |
|
Direct labor-hours |
0.5 DLH per unit |
|
Direct labor rate |
$25 per DLH |
Required:
1. Using Exhibit 6-6 as a guide, prepare a report showing the first-stage allocations of overhead cost to the activity pools. (Hint: Complete the following table):
|
Direct Labor Support |
Order Processing |
Costumer Support |
Other |
Total |
|
|
Wages and salaries |
|||||
|
Other overhead costs |
|||||
|
Total cost |
2. Using Exhibit 6-7 as a guide, compute the activity rates for the activity cost pools. (Hint: Complete the following table):
|
Activity Cost Pool |
Total Cost |
Total Activity |
Activity Rate |
|
Direct labor support |
10,000 DLHS |
||
|
Order processing |
500 orders |
||
|
Customer support |
100 customers |
3. Using Exhibit 6-10 as a guide, prepare a report showing the overhead costs for the order from Valley Grande Hospital, including customer support costs. (Hint: Complete the following table):
|
Activity Cost Pool |
(a) Activity Rate |
(b) Activity |
(a) x (b) ABC Cost |
|
Direct labor support |
50 DLHS* |
||
|
Order processing |
1 order |
||
|
Customer support |
1 customer |
||
|
Total |
//////////////////// |
//////////////////// |
$ |
*0.5 DLH per unit x 100 units= 50 DLHs
4. Using Exhibit 6-12 as a guide, prepare a report showing the customer margin for Valley Grande Hospital. (Hint: Complete the following table):
|
Sales ( ) |
$ |
|
Costs: |
|
|
Direct materials ( ) |
|
|
Direct labor ( ) |
|
|
Direct labor support overhead |
|
|
Order processing overhead |
|
|
Customer support overhead |
|
|
TOTAL COSTS |
$ |
|
Customer margin |
$ |
In: Accounting
Consider:
(a) Stock trades for $100;
(b) Calls with exercise prices of $90, $100, and $110 trade at prices of $17.78, $11.06, and $6.74 respectively.
If a person buys a $90 call and writes a $110 call, what is her profit if the stock price is 92.63 at maturity? The answer is 8.41, how do you solve this?
In: Finance