Create a Java windows application to manage a list of stocks
1. Add a class Stock with the following fields: companyName,
pricePerShare, numberOfShares (currently owned)
and commission (this is the percent you pay a financial company
when you purchase or sell stocks.
Add constructor, getters
and methods:
***purchaseShares (method that takes the number of shares
purchased, updates the stock and return the cost of purchasing
these shares make sure to include commission.
***sellShares (method that takes the number of shares to sell,
updates the stock and return the $amount earned from the
sell.
***getInvestmentAmount() is a method that returns the current value
of your investments in that stock
Build the Frame layout design to allow a user to enter a stock,
to save the stock to a file and to an arrayList as well.
When the program first start, check if the file exists and if so
read all the stocks from the file and add them to the
arrayList.
add a button to display all the stocks to a JTable
Add a necessary gui to purchase shares of the selected stock
Add necessary gui to sell shares of the selected stock
i use netbeans but i cant get it
In: Computer Science
According to the Institute for Students in Shackles, 70% of all college students in a recent year graduated with student loan debt. The University of Florida reports that only 52% of its graduates from a random sample of 500 students have student loan debt. Use a hypothesis test to determine if there is enough evidence to support UF’s claim that student loan debt is less.
a) State your null and alternative hypothesis.
b) Find p-hat, SD, Z, and the P-value
In: Statistics and Probability
Richard Thaler, (Professor, The University of Chicago Booth School of Business) said: “We failed to learn from the hedge fund failures of the late ’90s.” His message (Links to an external site.)to overconfident risk managers: There’s more risk out there than you think.
a) What do you think of Wall Street (or any financial markets)? Do we need Wall Street? Why or Why not?
b) What is "The Paradox of Thrift"? How does that apply to our current situation?
In: Economics
In 2015, the student body of a Lock Haven University consisted of 30% freshmen, 24% sophomores, 26% juniors, and 20% seniors. A sample of 300 students taken from this year's student body showed the following number of students in each classification.
|
Freshmen |
83 |
|
Sophomores |
68 |
|
Juniors |
85 |
|
Seniors |
64 |
We are interested in determining whether or not there has been a
significant change in the classifications between the last school
year and this school year. At 95% confidence, the null
hypothesis
In: Statistics and Probability
Government of Afghanistan has called on a conference on “Strategies to reduce Trade Deficit via discouraging Imports”. Kardan University got invitation too from the Ministry and the BBA and BSc Economics Departments has selected you to make a presentation suggesting how currency value can be used to reduce imports. Develop a numerical example explaining if the value of local currency going up how it can effect imports of Afghanistan. Also analyze the long term impact of currency appreciation on the Economy.
In: Economics
Richard Thaler, (Professor, The University of Chicago Booth School of Business) said: “We failed to learn from the hedge fund failures of the late ’90s.” His message (Links to an external site.)to overconfident risk managers: There’s more risk out there than you think.
a) What do you think of Wall Street (or any financial markets)? Do we need Wall Street? Why or Why not?
b) What is "The Paradox of Thrift"? How does that apply to our current situation?
In: Economics
Refer to Exhibit 8-1. If the sample mean is 9 hours, then the 95% confidence interval is approximately
Exhibit 8-1: In order to estimate the average time spent on the computer terminals per student at a local university, data were collected from a sample of 81 business students over a one-week period. Assume the population standard deviation is 1.2 hours.
a. 7.04 to 110.96 hours
b. 7.36 to 10.64 hours
c. 7.80 to 10.20 hours
d. 8.74 to 9.26 hours
In: Statistics and Probability
According to a recent report, 47% of college student internships are unpaid. A recent survey of 100 college interns at a local university found that 52 had unpaid internships.
a. Use the five-step p-value approach to hypothesis testing and a 0.10 level of significance to determine whether the proportion of college interns that had unpaid internships is different from 0.47.
b. Assume that the study found that 59 of the 100 college interns had unpaid internships and repeat (a). Are the conclusions the same?
In: Statistics and Probability
9. You are interested in studying the average duration of time (in minutes) it takes Temple University students to drive to campus. The conventional wisdom is that on average it takes students 30 minutes to drive to campus. To examine this, you randomly sample n=15 students and record this information. From the sample, you compute a sample mean of 26 with a sample standard deviation of 6. Conduct a two-tailed hypothesis test with 95% confidence. Then, construct a 95% confidence interval to confirm your answer.
In: Statistics and Probability
In 2015, the student body of Lock Haven University consisted of 30% freshmen, 24% sophomores, 26% juniors, and 20% seniors. A sample of 300 students taken from this year's student body showed the following number of students in each classification.
|
Freshmen |
83 |
|
Sophomores |
68 |
|
Juniors |
85 |
|
Seniors |
64 |
We are interested in determining whether or not there has been a
significant change in the classifications between the last school
year and this school year. The calculated value for the test
statistic equals?
In: Statistics and Probability