1. Two particles having charges of 0.570 nC and 20.5 nC are separated by a distance of 1.20 m .
a) At what point along the line connecting the two charges is the net electric field due to the two charges equal to zero?(Express your answer in meters.)
b)Where would the net electric field be zero if one of the charges were negative?(Enter your answer as a distance in meters from the charge initially equal to 0.570 nC .)
c)Is this point between the charges? Yes or No
2. A charged paint is spread in a very thin uniform layer over the surface of a plastic sphere of diameter 19.0 cm , giving it a charge of -13.0 μC .
a) Find the electric field just inside the paint layer. (Express your answer in newtons per coulomb.)
b) Find the electric field just outside the paint layer. (Express your answer in newtons per coulomb.
c) Find the electric field 6.50 cm outside the surface of the paint layer. (Express your answer in newtons per coulomb.)
In: Physics
In: Accounting
SWOT Analysis: Balance the company's strengths, weaknesses, opportunities, and threats to create a competitive position for the company.
In: Operations Management
Pranks, Inc. is a manufacturer of joke and novelty products for perpetrators of practical jokes. The corporation has paid several cash dividends throughout Year 6, the current year. It is also declaring a stock dividend to its stockholders as the calendar year-end approaches. You’ve been brought in as a consultant to assist with this process, and also to help determine whether some missing information can be determined before the distribution of the stock dividend is made. The company has two classes of stock: common stock and cumulative preferred stock.
You’ve been able to retrieve the following information so far:
Number of common shares authorized | 900,000 |
Number of common shares issued | 750,000 |
Par value of common shares | $20 |
Par value of cumulative preferred shares | $30 |
Paid-in capital in excess of par-common stock | $7,000,000 |
Paid-in capital in excess of par-preferred stock | $0 |
Total retained earnings before the stock dividend is declared | $33,500,000 |
Total Cash |
Preferred Dividends |
Common Dividends |
|||
Year |
Dividends |
Total |
Per Share |
Total |
Per Share |
Year 1 | 20,000 | 20,000 | 0.20 | 0 | 0.00 |
Year 2 | 36,000 | 36,000 | 0.36 | 0 | 0.00 |
Year 3 | 79,000 | 34,000 | 0.34 | 45,000 | 0.09 |
Year 4 | 105,000 | 30,000 | 0.30 | 75,000 | 0.15 |
Year 5 | 120,000 | 30,000 | 0.30 | 90,000 | 0.18 |
Year 6 | 180,000 | 30,000 | 0.30 | 150,000 | 0.30 |
1.The accounting manager for the company prepared the schedule of cash dividends paid from Year 1 to Year 6 on the Pranks, Inc. panel. However, one of the reasons for Pranks, Inc.’s missing information is that the manager is away on vacation and is unreachable by phone, because he is backpacking on a remote island that does not have cell phone reception. Management would like you to determine some information from the data you’ve collected regarding its outstanding stock.
Fill in the following answers.
How many shares of common stock are outstanding? | |
How many shares of preferred stock are outstanding? | |
What is the preferred dividend as a percent of par? |
2.The company declared a 4% common stock dividend on December 1, and would like you to compute the following pieces of missing information. The market value of the common shares is $25.00 on December 1, and is $32.00 on the actual distribution date of the stock, December 31.
Fill in the missing information in the following table, using the information given and your work on the other panels. All “before” items are before the stock dividend was declared. All “after” items are after the stock dividend was declared and closing entries were recorded at the end of the year.
Total paid-in capital before the stock dividend | |
Total retained earnings before the stock dividend | |
Total stockholders’ equity before the stock dividend | |
Total paid-in capital after the stock dividend | |
Total retained earnings after the stock dividend | |
Total stockholders’ equity after the stock dividend |
In: Accounting
B. Write a program Median.java to read each file whose name is specified in the command-line arguments. That is, for each command-line argument, open it as a file and read it.
The file contents are zero or more lines each containing a list of comma-separated integers, such as 1,2,3,4 or 99,120,33. You should parse each of these integers and save them in an ArrayList (if you prefer you may use an array, but an ArrayList is likely to be easier for this assignment).
Once you have filled your array list with all the integers in the line, you must compute the median value, that is, the integer for which half the integers in the line are above it, and half are below it. There are two subtleties that you should handle correctly:
- each integer may appear more than once: in 1,1,2,2,3, the median is 2
- with an even number of integers, the median may be the average of two of the integers: in 1,2,3,4, the median is 2.5
You must implement and use a method whose header is one of
private static double
computeMedian(java.util.ArrayList<Integer> numbers)
or
private static double computeMedian(Integer[] numbers)
or
private static double computeMedian(int[] numbers)
to compute and return the median of all the numbers.
An algorithm to compute the median is as follows:
- for each number in the ArrayList (or array), compare it to all the numbers in the array, computing how many are above it, how many are below it, and how many are the same -- at least one (itself) should be the same.
- then if (the number below plus the number equal are greater than the number above) AND (the number below is less than the number equal plus the number above) then this number is the median.
For example, in 1,1,2,2,3:
- for the number 1, there are 0 numbers below, 2 numbers that are equal, and 3 numbers above, so 1 is not the median.
- for the number 2, there are 2 numbers below, 2 numbers that are equal, and 1 numbers above, so 2 is the median.
- for the number 3, there are 4 numbers below, 1 number that is equal, and 0 numbers above, so 3 is not the median.
On the other hand, if (the number below plus the number equal is the same as the number above) OR (the number below is the same as the number equal plus the number above) then this is one of two numbers, the average of which is the median.
For example, in 1,2,3,4,5,2, for the number 2, there is one number below and two numbers equal, which is the same as the three number above. For the number 3, there is one number equal and two numbers above, which is the same as the three numbers below. So in this case the median is the average of 2 and 3: mathematically, (2 + 3) / 2 = 2.5 (remember the division must be done using doubles, otherwise the result will be truncated).
To correctly implement this part of the computation, you need to have one or more variables declared outside the main loop, to keep track of whether you have already seen one of the two numbers whose average is the mean. In the example above, once you see 3 (after seeing 2), you should be able to immediately return the median 2.5. Be careful -- if you see another 2 (before seeing the 3), as in processing 2,2,1,3,5,4, you must continue your search past the second 2.
In: Computer Science
Please fulfill the requirements. Thank you
Objectives:
Description:
Write a menu-driven program that provides the following options:
It allows the user to select a menu option to display all expenses, add new entry, search for a substring and find the list of entries greater a given amount.
Requirements:
Required error handling:
The program MUST perform the following checks:
Sample run:
D:\>TrackExpensesUsingArray.exe
Welcome to my expense tracker.
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 1
There is no expense entry available.
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 2
Please enter the description for the expense: Monthly telephone and Internet services
Please enter the amount: 45.25
AMOUNT(45.25) DESC(Monthly telephone and Internet services)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 2
Please enter the description for the expense: Monthly electric, water and gas
Please enter the amount: 200.20
AMOUNT(200.2) DESC(Monthly electric, water and gas)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 2
Please enter the description for the expense: Rent
Please enter the amount: 1200
AMOUNT(1200) DESC(Rent)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 2
Please enter the description for the expense: Netflix membership
Please enter the amount: 12.90
AMOUNT(12.9) DESC(Netflix membership)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 2
Please enter the description for the expense: Amazon membership
Please enter the amount: 99
AMOUNT(99) DESC(Amazon membership)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 2
Please enter the description for the expense: Monthly gym membership
Please enter the amount: 50
AMOUNT(50) DESC(Monthly gym membership)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 1
Expenses:
AMOUNT(45.25) DESC(Monthly telephone and Internet services)
AMOUNT(200.2) DESC(Monthly electric, water and gas)
AMOUNT(1200) DESC(Rent)
AMOUNT(12.9) DESC(Netflix membership)
AMOUNT(99) DESC(Amazon membership)
AMOUNT(50) DESC(Monthly gym membership)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 3
Please enter the search string: membership
AMOUNT(12.9) DESC(Netflix membership)
AMOUNT(99) DESC(Amazon membership)
AMOUNT(50) DESC(Monthly gym membership)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 3
Please enter the search string: MEMBERSHIP
AMOUNT(12.9) DESC(Netflix membership)
AMOUNT(99) DESC(Amazon membership)
AMOUNT(50) DESC(Monthly gym membership)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 4
Please enter the amount: 50
AMOUNT(200.2) DESC(Monthly electric, water and gas)
AMOUNT(1200) DESC(Rent)
AMOUNT(99) DESC(Amazon membership)
AMOUNT(50) DESC(Monthly gym membership)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 4
Please enter the amount: 200
AMOUNT(200.2) DESC(Monthly electric, water and gas)
AMOUNT(1200) DESC(Rent)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 4
Please enter the amount: 1000
AMOUNT(1200) DESC(Rent)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 2
Please enter the description for the expense: Home repair and improvement
Please enter the amount: -1
Invalid amount. Amount cannot be negative or string. Please try it again.
Please enter the amount: -100
Invalid amount. Amount cannot be negative or string. Please try it again.
Please enter the amount: -1000
Invalid amount. Amount cannot be negative or string. Please try it again.
Please enter the amount: 175.75
AMOUNT(175.75) DESC(Home repair and improvement)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 1
Expenses:
AMOUNT(45.25) DESC(Monthly telephone and Internet services)
AMOUNT(200.2) DESC(Monthly electric, water and gas)
AMOUNT(1200) DESC(Rent)
AMOUNT(12.9) DESC(Netflix membership)
AMOUNT(99) DESC(Amazon membership)
AMOUNT(50) DESC(Monthly gym membership)
AMOUNT(175.75) DESC(Home repair and improvement)
Expense Tracking Menu:
1. show all
2. spend
3. search expenses containing this string
4. search expenses with greater than or equal to this amount
5. exit
Enter your option: 5
D:\>
In: Computer Science
In: Physics
Why is pricing an extremely important component of marketing? List 3 aspects of pricing that make it important to marketing, to the organization, and to its customers. Think of things that are unique to the pricing variable compared to the other three marketing variables of product, promotion, and distribution.
In: Economics
Describe a current problem facing your department, organization, or industry that would indicate the need for a simulation model. How best would this problem be solved by simulation versus the other modeling techniques covered in the course? Support your response with rationale from the readings.
In: Operations Management
Get information from the user Calculate Phone Line Charge Military Discount Display Phone Line Charge and Military Discount !!!!!
The user will need to input • Number of phone lines • Data plan chosen (U, M or L) U for Unlimited Data M for Moderate Data L for Limited Data • Military discount (Y or N) You can see examples of how to prompt the user for this information in the sample output windows below. Please note the number of phone lines can be an int, but the data plan and military discount need to use the char data type in order to store a U, M, L, Y or N. 2. Calculations (all these calculated variables should be double data type) • Phone Line Charge Unlimited data - $45 per phone line Moderate data - $25 per phone line Limited data - $15 per phone line • Discount (10% off phone line charge): if customer is an active or retired member of the military • Subtotal: Phone Line Charge - Discount • Surcharge and Taxes: 15% of Subtotal • Total: Subtotal + Surcharge and Taxes
In: Computer Science
Explain how you would use your understanding of ONE of the major developmental theories to deal with eachof the difficulties listed below:
a. Your infant daughter puts everything in her mouth, including the dog's food. b. Youreight-year-old son is failing math; all he cares about is baseball.
c. Your two-year-old daughter refuses to wear the clothes you pick for her every morning, which makesgetting dressed a twenty-minute battle.
d. Your sixty-eight-year-old neighbor is chronically depressed and feels she has wasted her life.
e. Your 18-year-old daughter has decided not to go to college. Instead she’s moving to Colorado to becomea ski instructor.
f. Your 11-year-old son is the class bully.
In: Psychology
Human Resource Planning (HRP) represents a significant improvement on traditional Manpower Planning exercise. Discuss
In: Operations Management
Item |
Price |
Cost |
Annual Forecasted Sales (Units) |
Seasoned Oak (per cord) |
$120.00 |
$16.00 |
340 |
Seasoned Maple (per cord) |
$125.00 |
$18.00 |
180 |
Mixed Softwoods (per cord) |
$80.00 |
$12.00 |
420 |
Coal (per ton) |
$120.00 |
$80.00 |
504 |
In: Operations Management
Servant Leadership - List one organizational situation when this style will be Inappropriate/destructive?
In: Operations Management
Imagine a worker for a large grocery in the meat department. An incident with the meat grinder has left the worker with significant lacerations on his hands and he is unable to return to work. What type of assistance might he expect from WSIB? What could his manager do to expedite his return to work?Imagine a worker for a large grocery in the meat department. An incident with the meat grinder has left the worker with significant lacerations on his hands and he is unable to return to work. What type of assistance might he expect from WSIB? What could his manager do to expedite his return to work?Imagine a worker for a large grocery in the meat department. An incident with the meat grinder has left the worker with significant lacerations on his hands and he is unable to return to work. What type of assistance might he expect from WSIB? What could his manager do to expedite his return to work?Imagine a worker for a large grocery in the meat department. An incident with the meat grinder has left the worker with significant lacerations on his hands and he is unable to return to work. What type of assistance might he expect from WSIB? What could his manager do to expedite his return to work?
400 words for the answer.
In: Operations Management