A+ Work




Define a Java Class product which has attributes: String name, type integer number_on_hand, and double price Write all the getters and setters for each of these values. Write a default constructor which has no values and a constructor which takes all values as parameters and initialized the attribute to the values passed
Define a class PerishableProduct which extends product and has additional attributes integer day month and year, which represent a use by date. Write the necessary getters and setters and write a pair of constructors like in 1.
Write a piece of java code that prompts the user the name, type, price, quantity and use by date of a perishable product and creates an object with those values.
Write a piece of java code that prompts the users for a text file name creates a scanner for the file and then reads Perishable product from the file into an array called inventory.
Write a piece of java code that prompts the user for the name of a perishable product and searches the array inventory to find the product and prints out the price.
Write a piece of java code that prompts the user for a file name and opens a text file for output and writes the array inventory to the file and closes the file.

we can learn much about the lives and cultural values of a people through their music



Q We can learn much about the lives and cultural values of a people through their music. What types of music today tell stories about difficult times and colorful characters, like thecorridos did? Why does music make such a wonderful vehicle for telling the stories of a people? Please relate to immigration history not just current events

On the first day of your summer internship



Mini Case On the first day of your…

Mini Case



On the first day of your summer internship, you’ve been assigned to work with the Chief Financial Officer (CFO) of SanBlas Jewels Inc. Not knowing how well trained you are, the CFO has decided to test your understanding of interest rates. Specifically, she asked you to provide areasonable estimate of the nominal interest rate for a new issue of Aaa-rated bonds to be offered by SanBlas Jewels Inc. The final format that the chief financial officer of SanBlas Jewels has requested is that of equation (2-1) in the text. Your assignment also requires that you consult the data in Table 2-2. Some agreed-upon procedures related to generating estimates for key variables in equation (2-1) follow.

a. The current 3-month Treasury bill rate is 2.96 percent, the 30-year Treasury bond rate is 5.43 percent, the 30-year Aaa-rated corporate bond rate is 6.71 percent, and the inflation rate is 2.33 percent.

b. The real risk-free rate of interest is the difference between the calculated average yield on

3-month Treasury bills and the inflation rate.

c. The default-risk premium is estimated by the difference between the average yield on Aaarated bonds and 30-year Treasury bonds.

d. The maturity premium is estimated by the difference between the average yield on 30-year

Treasury bonds and 3-month Treasury bills.

e. SanBlas Jewels’ bonds will be traded on the New York Bond Exchange, so the liquidity premium will be slight. It will be greater than zero, however, because the secondary market for

the firm’s bonds is more uncertain than that of some other jewel sellers. It is estimated at 4

basis points. A basis point is one one-hundredth of 1 percent.

Now place your output into the format of equation (2-1) so that the nominal interest rate can be estimated and the size of each variable can also be inspected for reasonableness and discussion with the CFO.

Calculations Shown



1. A recent article in the Myrtle Beach Sun Times reported that the mean labor cost to repair a color television is $90 with a standard deviation of $22. Monte’s TV Sales and Service completed repairs on two sets this morning. The labor cost for the first was $75 and it was $100 for the second. Compute z values for each and comment on your findings.
2. The mean of a normal distribution is 400 pounds. The standard deviation is 10 pounds.
a. What is the area between 415 pounds and the mean?
b. What is the area between the mean and 395 pounds?
c. What is the probability of selecting a value at random and discovering that it has a value of less than 395 pounds?
3. The monthly sales of mufflers in the Richmond, VA area follow the normal distribution with a mean of 1200 and a standard deviation of 225. The manufacturer would like to establish inventory levels such that there is only a 5% chance of running out of stock. Where should the manufacturer set the inventory levels?
4. Research on new juvenile delinquents revealed that 38% of them committed another crime.
a. What is the probability that of the last 100 new juvenile delinquents put on probation, 30 or more will commit another crime?
b. What is the probability that 40 or fewer of the delinquents will commit another crime?
c. What is the probability that between 30 and 40 of the delinquents will commit another crime?
5. An Air Force study indicates that the probability of a disaster such as the January 28, 1986 explosion of the space shuttle Challenger was 1 in 35. The Challenger flight was the 25th mission.
a. How many disasters would you expect in the first 25 flights?
b. Use the normal approximation to estimate the probability of at least one disaster in 25 missions.