print("This program takes three numbers and returns the sum.") total = 0 for i in range(3): x = input("Enter a number: ") total = total + i print("The total is:", x) |
In: Computer Science
You need to send expatriate managers to two countries in Asia - Thailand and Japan. You choose two candidates who work at the same level and get similar compensation package in the U.S. How would you design the expatriate compensation packages for the managers in each country so that they find it fair and acceptable offer? What kind of issues can come up when cosnidering this issue?
In: Operations Management
In: Finance
You are considering a stock A that pays a dividend of $1. The beta coefficient of A is 1.3. The risk free return is 6%, while the market average return is 13%.
a.What is the required return for Stock A?
b. If A is selling for $10 a share, is it a good buy if you expect earnings and dividends to grow at 6%?
In: Finance
Conduct an ethical culture analysis on the Uber establishment/corporation. Please make sure you answer/address the following sections/points based on the Uber corporation.
Provide information on when the unethical behavior has occurred.
1a. Ethical Decision Making and Ethical Influence
1b. Ethical Conflict Management
(Please do this for every ethical situation and detail how this occurred. You will likely have at least a page or two for this section. A table would be appropriate here)
1c. Ethical Organization and Performance
(Note- I would utilize the implementation guidelines heavily on how to make the organization better in the next section)
1d. Ethical Areas
1e. Ethical Performance
In: Operations Management
Running on a particular treadmill you burn a specific number of calories per minute. Write a python program that uses a loop (you must use a loop) to display the number of minutes (as an integer) it will take to burn greater than or equal to 100 calories. For example (user input indicated in bold):
SAMPLE 1:
How many calcories burned per minute?
54.3
2 minutes
SAMPLE 2:
How many calcories burned per minute? 4.3
24 minutes
SAMPLE 3:
How many calcories burned per minute? 25
4 minutes
HINT:
Keep a counter of the number of minutes elapsed as well as the amount of calories burned. When the calories burned exceed 100, report the number of minutes :)
In: Computer Science
Describe a non-Western cultural practice
An argument for why this cultural practice should or should not be universally accepted.
In: Psychology
JAVA CODE, USE FOR LOOP PLEASE
Using the PurchaseDemo program and output as your guide, write a
program that uses the Purchase class to set the following prices,
and buy the number of items as indicated. Calculate the subtotals
and total bill called total. Using the writeOutput() method display
the subtotals as they are generated as in the PurchaseDemo program.
Then print the total bill at the end
Use the readInput() method for the following input data
Oranges: 10 for 2.99 buy 2 dozen oranges
Eggs: 12 for 1.69 buy 3 dozen eggs
Apples: 3 for 1.00 buy 20 apples
Watermelons: 4.39 each buy 2 watermelons
Bagels: 6 for 3.50 buy 1 dozen bagels
Here is the Purchase Class:
import java.util.Scanner;
/**
Class for the purchase of one kind of item, such as 3
oranges.
Prices are set supermarket style, such as 5 for $1.25.
*/
public class Purchase
{
private String name;
private int groupCount; //Part of price, like the 2 in 2 for
$1.99.
private double groupPrice;//Part of price, like the $1.99
// in 2 for $1.99.
private int numberBought; //Number of items bought.
public void setName(String newName)
{
name = newName;
}
/**
Sets price to count pieces for $costForCount.
For example, 2 for $1.99.
*/
public void setPrice(int count, double costForCount)
{
if ((count <= 0) || (costForCount <= 0))
{
System.out.println("Error: Bad parameter in setPrice.");
System.exit(0);
}
else
{
groupCount = count;
groupPrice = costForCount;
}
}
public void setNumberBought(int number)
{
if (number <= 0)
{
System.out.println("Error: Bad parameter in
setNumberBought.");
System.exit(0);
}
else
numberBought = number;
}
/**
Reads from keyboard the price and number of a purchase.
*/
public void readInput( )
{
Scanner keyboard = new Scanner(System.in);
System.out.println("Enter name of item you are purchasing:");
name = keyboard.nextLine( );
System.out.println("Enter price of item as two numbers.");
System.out.println("For example, 3 for $2.99 is entered as");
System.out.println("3 2.99");
System.out.println("Enter price of item as two numbers,
now:");
groupCount = keyboard.nextInt( );
groupPrice = keyboard.nextDouble( );
while ((groupCount <= 0) || (groupPrice <= 0))
{ //Try again:
System.out.println("Both numbers must be positive. Try
again.");
System.out.println("Enter price of item as two numbers.");
System.out.println("For example, 3 for $2.99 is entered as");
System.out.println("3 2.99");
System.out.println("Enter price of item as two numbers,
now:");
groupCount = keyboard.nextInt( );
groupPrice = keyboard.nextDouble( );
}
System.out.println("Enter number of items purchased:");
numberBought = keyboard.nextInt( );
while (numberBought <= 0)
{ //Try again:
System.out.println("Number must be positive. Try again.");
System.out.println("Enter number of items purchased:");
numberBought = keyboard.nextInt( );
}
}
/**
Displays price and number being purchased.
*/
public void writeOutput( )
{
System.out.println(numberBought + " " + name);
System.out.println("at " + groupCount +
" for $" + groupPrice);
}
public String getName( )
{
return name;
}
public double getTotalCost( )
{
return (groupPrice / groupCount) * numberBought;
}
public double getUnitCost( )
{
return groupPrice / groupCount;
}
public int getNumberBought( )
{
return numberBought;
}
}
PurchaseDemo:
public class PurchaseDemo
{
public static void main(String[] args)
{
Purchase oneSale = new
Purchase( );
oneSale.readInput(
);
oneSale.writeOutput(
);
System.out.println("Cost
each $" + oneSale.getUnitCost( ));
System.out.println("Total cost $" + oneSale.getTotalCost( ));
}
}
In: Computer Science
what is the missing part of problems resulting from excessive consumption of protein
In: Biology
An international mobile manufacturing brand “M” is planning to enter the Malaysian Market. The management has decided to hire a potential advertising agency to design their promotional messages and develop their online marketing strategies.
As the campaign manager of the selected advertising agency answer the below question:
Write a short report elaborating on any TWO (2) appropriate message design strategies that can be utilized by the organization towards their marketing communication. Substantiate your choice of strategy with relevant background.
In: Operations Management
NEW PROJECT ANALYSIS
You must evaluate a proposal to buy a new milling machine. The base price is $104,000, and shipping and installation costs would add another $20,000. The machine falls into the MACRS 3-year class, and it would be sold after 3 years for $57,200. The applicable depreciation rates are 33%, 45%, 15%, and 7%. The machine would require a $4,500 increase in net operating working capital (increased inventory less increased accounts payable). There would be no effect on revenues, but pretax labor costs would decline by $54,000 per year. The marginal tax rate is 35%, and the WACC is 13%. Also, the firm spent $5,000 last year investigating the feasibility of using the machine.
What is the initial investment outlay for the machine for
capital budgeting purposes, that is, what is the Year 0 project
cash flow? Round your answer to the nearest cent.
$_____?
What are the project's annual cash flows during Years 1, 2, and 3? Round your answer to the nearest cent. Do not round your intermediate calculations.
Year 1 $____?
Year 2 $____?
Year 3 $____?
In: Finance
7) Write a program to open an input dialog box and read a string
value. Write the string back to
the user using a message box.
USING MIPS ASSEMBLY LANGUAGE
In: Computer Science
University Printers has two service departments (Maintenance and Personnel) and two operating departments (Printing and Developing). Management has decided to allocate maintenance costs on the basis of machine-hours in each department and personnel costs on the basis of labor-hours worked by the employees in each.
The following data appear in the company records for the current period:
Maintenance | Personnel | Printing | Developing | |||||||||
Machine-hours | — | 1,400 | 1,400 | 4,200 | ||||||||
Labor-hours | 900 | — | 900 | 3,100 | ||||||||
Department direct costs | $ | 2,800 | $ | 12,800 | $ | 14,500 | $ | 11,700 | ||||
Required:
Allocate the service department costs using the step method, starting with the Maintenance Department. (Negative amounts should be indicated by a minus sign. Do not round intermediate calculations.)
Maintenance | Personnel | Printing | Developing | |||
Service department costs | $2,800 | $12,800 | $0 | $0 | ||
Maintenance | -2,800 | 560 | $560 | $1,680 | ||
Personnel | -13,360 | 2,672 | 10,688 | |||
Total costs allocated | 0 | 0 | 3232 | 12368 |
In: Accounting
Please fix this python code for me
DOWN_PAYMENT_RATE = 0.10
ANNUAL_INTEREST_RATE = 0.12
MONTHLY_PAYMENTS_RATE = 0.05
purchasePrice = float(input("Enter the purchase price: "))
month = 1
payment = purchasePrice * MONTHLY_PAYMENTS_RATE
startingBalance = purchasePrice
print("\n%s%19s%18s%19s%10s%17s" % ("Month", "Starting Balance",
"Interest to Pay", "Principal to Pay", "Payment", "Ending
Balance"))
while startingBalance > 0:
interestToPay = startingBalance *
ANNUAL_INTEREST_RATE / 12
principalToPay = payment - interestToPay
endingBalance = startingBalance - payment
print("%2d%16.2f%16.2f%18.2f%18.2f%15.2f" %
(month, startingBalance, interestToPay, principalToPay, payment,
endingBalance))
startingBalance = endingBalance
month = month + 1
#############################################################################################################
It's only going to 18 months and needs to hit 23 months
Enter the puchase price: 200 Month Starting Balance Interest to Pay Principal to Pay Payment Ending Balance 1 180.00 1.80 7.20 9.00 172.80 2 172.80 1.73 7.27 9.00 165.53 3 165.53 1.66 7.34 9.00 158.18 4 158.18 1.58 7.42 9.00 150.77 5 150.77 1.51 7.49 9.00 143.27 6 143.27 1.43 7.57 9.00 135.71 7 135.71 1.36 7.64 9.00 128.06 8 128.06 1.28 7.72 9.00 120.34 9 120.34 1.20 7.80 9.00 112.55 10 112.55 1.13 7.87 9.00 104.67 11 104.67 1.05 7.95 9.00 96.72 12 96.72 0.97 8.03 9.00 88.69 13 88.69 0.89 8.11 9.00 80.57 14 80.57 0.81 8.19 9.00 72.38 15 72.38 0.72 8.28 9.00 64.10 16 64.10 0.64 8.36 9.00 55.74 17 55.74 0.56 8.44 9.00 47.30 18 47.30 0.47 8.53 9.00 38.77 19 38.77 0.39 8.61 9.00 30.16 20 30.16 0.30 8.70 9.00 21.46 21 21.46 0.21 8.79 9.00 12.68 22 12.68 0.13 8.87 9.00 3.80 23 3.80 0.00 3.80 3.80 0.00
##############################################################################################################
"
The credit plan at TidBit Computer Store specifies a 10% down payment and an annual interest rate of 12%. Monthly payments are 5% of the listed purchase price, minus the down payment.
Write a program that takes the purchase price as input. The program should display a table, with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items:
The amount of interest for a month is equal to balance × rate / 12.
The amount of principal for a month is equal to the monthly payment minus the interest owed.
An example of the program input and output is shown below:
"
In: Computer Science
Short term decision making
Shot plc manufactures three types of furniture products - chairs, stools and tables. The budgeted unit cost and resource requirements of each of these items are detailed below:
|
Chair |
Stools |
Table |
||
|
($) |
($) |
($) |
||
Timber cost |
5.00 |
15.00 |
10.00 |
||
Direct labour cost |
4.00 |
10.00 |
8.00 |
||
Variable overhead cost |
3.00 |
7.50 |
6.00 |
||
Fixed overhead cost |
4.50 |
11.25 |
9.00 |
||
|
16.50 |
43.75 |
33.00 |
||
Budgeted volumes |
4,000 |
2,000 |
1,500 |
per annum
These volumes are believed to equal the market demand for these products. The fixed overhead costs are attributed to the three products on the basis of direct labour hours. The labour rate is $4.00 per hour. The cost of timber is $2.00 per square metre. The products are made from a specialist timber. A memo from the purchasing manager advises you that because of a problem with the supplier it is to be assumed that this specialist timber is limited in supply to 20,000 square metres per annum.
The sales director has already accepted an order for 500 chairs, 100 stools and 150 tables, which if not supplied would incur a financial penalty of $2,000. These quantities are included in the market demand estimates above. The selling prices per unit of the three products are:
-
Chair $20.00
Stool $50.00 Table $40.00
Required:
In: Accounting