Hi, can you answer this question in more detail?
Subject: Insurance Practices
Q4:
There are two major types of risk management tools, namely, risk control and risk financing. Discuss the details of these tools with examples.
In: Finance
Java 2D Drawing Application.
The application will contain the following elements:
a) an Undo button to undo the last shape drawn.
b) a Clear button to clear all shapes from the drawing.
c) a combo box for selecting the shape to draw, a line, oval, or
rectangle.
d) a checkbox which specifies if the shape should be filled or
unfilled.
e) a checkbox to specify whether to paint using a gradient.
f) two JButtons that each show a JColorChooser dialog to allow the
user to choose the first and second color in the gradient.
g) a text field for entering the Stroke width.
h) a text field for entering the Stroke dash length.
I) a checkbox for specifying whether to draw a dashed or solid
line.
j) a JPanel on which the shapes are drawn.
k) a status bar JLabel at the bottom of the frame that displays the
current location of the mouse on the draw panel.
If the user selects to draw with a gradient, set the Paint on the
shape to be a gradient of the two colors chosen by the user. If the
user does not chose to draw with a gradient, then Paint with a
solid color of the 1st Color. The following code can create a
gradient paint object:
Paint paint = new GradientPaint(0, 0, color1, 50, 50, color2,
true);
To set the stroke for a line to be drawn, you can use the following code:
if (dashCheckBox.isSelected())
{
stroke = new BasicStroke(lineWidth, BasicStroke.CAP_ROUND,
BasicStroke.JOIN_ROUND, 10, dashLength, 0);
} else
{
stroke = new BasicStroke(lineWidth, BasicStroke.CAP_ROUND,
BasicStroke.JOIN_ROUND);
}
Where the first stroke line creates a dashed line and dashLength is a one element float array with the dash length in the first element. The second stroke line creates an undashed line with the line width specified from the GUI.
Note: When dragging the mouse to create a new shape, the shape should be drawn as the mouse is dragged.
A template project has been provided for you in Canvas in Java2DDrawingApplicationTemplate.zip. This project contains a MyShapes hierarchy that is a complete shape hierarchy for drawing a line, rectangle or oval. You must use this MyShapes hierarchy. A template for the Drawing Application Frame is also provided along with a template for the DrawPanel inner class. You do not need to use these templates if you so choose.
In the paintComponent(Graphics g) method of the DrawPanel, to loop through and draw each shape created by the user, you will loop through an ArrayList of MyShapes, that you built, and call the draw(Graphics2D g2d) method for each shape. The draw method is already implemented in the MyShapes hierarchy.
Note: You do not need to create an event handler for each component in the top two lines of the frame. You only need to create event handlers for the buttons. You can get the values out of all the other components in the top two lines, when the user presses the mouse button on the DrawPanel. At that time, you have all the information you need to create a new Myshapes object.
Note: Do not use the NetBeans GUI generator for this assignment.
-------------------------------------------------------------------- PLEASE USE THE FOLLOWING FILES!!! -----------------------------------------------------------------------
https://drive.google.com/file/d/1wiRjRNrunGPYMeWD2qM7Zgj6H0jg_SAa/view?usp=sharing
Thank you!
In: Computer Science
Course: Mechanical Vibration
Report Paper ( 1000 words)
Topic is Shakers for Aircraft Suspension Durability Testing
All material must be referenced correctly. Reference could be from Journals, Articles, Books.
Please include at least 2 or 3 reference.
In: Mechanical Engineering
Compare a value firm with a growth firm? What are some metrics that one can normally use to characterize firms in the value or growth category? How does valuation of a growth company compare to that of a value company? Can a growth company become a value company? How? Provide the name of a company that you think used to be a growth company that is now a value firm. Compare how your valuation of a growing company would differ from that of a declining company. How does the macro economy affect your valuation of each (inflation, economic growth, value of the dollar)?
In: Finance
In the college population, the mean reading comprehension test score is μ = 75 and σ = 25. A researcher wanted to investigate the effect of listening to hip-hop music on reading comprehension. She randomly selected a sample of n = 100 college students. The sample of students completed a reading comprehension test while hip-hop music was played in the background the sample mean reading comprehension score was M = 68. Do the data indicate a significant effect of hip-hop music on reading comprehension? Use a two-tailed z - test with p < .05 to answer this research question.
- Null and alternative hypotheses - All computational steps of the z-test - Critical z-value used for decision about H0
- Decision about H0 (i.e., reject or fail to reject) - If the effect is significant, compute the Cohen's d to establish the size of the effect
- is the effect small, medium or large?
- Conclusion in APA style: interpretation of the z-test outcome to answer the research question. Is there a significant effect of hip-hop music on reading comprehension or not? If there is a significant effect, address in your conclusion the direction of the effect (i.e., is the effect positive or negative/is there an improvement or decline of reading comprehension?) and report the Cohen's effect size.
In: Math
A $16,000 bond redeemable at par on July 27, 2012 is purchased on October 19, 2002. Interest is 6.9% payable semi-annually and the yield is 7.3% compounded semi-annually.
a. What is the cash price?
b. What is the accrued interest?
c. What is the quoted price?
In: Finance
The verticies of ABC are A(2,4), B (7,6) and C(5,2) give the correct composition of the matricies for the image of ABC after the given composition of the transformations in the order listed(show what it would be for each vertex)
First Translation: (x, y) -> (x-2,y-3)
Second Rotation: 75 degrees about the pivot popoint (1,3)
In: Computer Science
A pharmaceutical firm faces the following monthly demands in the U.S. and Mexican markets for its only patented drug:
Q(U.S.) = 300,000 - 5,000 P(U.S.)
Q(Mex) = 240,000 - 8,000 P(fMex)
where quantities Q represent the number of prescriptions per month and the prices P are denominated in U.S. dollars (i.e., the Mexican demand has already been adjusted for the dollar/peso exchange rate). The marginal cost of the drug is constant at $2 per prescription in both markets. The firms monthly overhead costs for this drug are $1 million in the U.S. and $500,000 in Mexico.
a) Suppose that arbitrage between the markets is impossible, so the firm is able to charge different prices in each market. If the firm practices third degree (i.e., verifiable characteristics) price discrimination, what price will it charge in the U.S.? What price will it charge in Mexico? How much will it produce and sell in the U.S.? How much will it produce and sell in Mexico? What are the firm's total profits from the sale of the drug in this case?
b) Now suppose the firm cannot prevent arbitrage between the countries, so it is forced to charge the same price in the U.S. and Mexico. What price will it charge for the drug? How much will it produce and sell overall? What are the firm's total profits from the sale of the drug in this case?
c) Now suppose Congress is considering a law that would make arbitrage legal between the U.S. and Mexico (i.e., the law would allow for the importation and sale of drugs from Mexico to the U.S.). How much would the pharmaceutical firm spend per month on lobbying efforts to defeat this law, given your answers to parts (a) and (b).
In: Economics
What is EBITDA? How does it compare to operating income? Which is likely to be the largest? Identify and discuss several liquidity ratios? Current ratio, quick ratio? Can the quick ratio ever be greater than the current ratio? Profitability ratios? Gross margin?
In: Finance
Rantzow-Lear Company buys and sells debt securities expecting to earn profits on short-term differences in price, and holds these investments in its trading portfolio. The company’s fiscal year ends on December 31. The following selected transactions relating to Rantzow-Lear’s trading account occurred during December 2021 and the first week of 2022. 2021 Dec. 17 Purchased 145 Grocers’ Supply Corporation bonds at par for $652,500. 28 Received interest of $3,800 from the Grocers’ Supply Corporation bonds. 31 Recorded any necessary adjusting entry relating to the Grocers’ Supply Corporation bonds. The market price of the bond was $5,000 per bond. 2022 Jan. 5 Sold the Grocers' Supply Corporation bonds for $688,750.
Required:
1. Prepare the appropriate journal entry or
entries for each transaction.
2. Indicate any amounts that Rantzow-Lear Company
would report in its 2021 balance sheet and income statement as a
result of this investment.
In: Accounting
Three quantities are given: A = 5.0 m3/kg·s 2 , B = 2.0 m/s, and C = 8.0 kg·m2/s. Using dimensional analysis determine the simplest algebraic combination of these three quantities that has the dimensions of length and compute its value in meters (Answer: 2.2 m
In: Physics
How can work packages be used to control long duration projects since we don't have details of the work that will need to be performed in the future?
In: Operations Management
Can somebody explain/prove why Kinetic Energy is not conserved in an inelastic collsion?
In: Physics
In: Operations Management
In: Computer Science