A bond with a face value of $1000 and maturity of exactly 20 years pays 10% annual coupon. This bond is currently selling at an annual yield-to-maturity (YTM) of 12%. Answer the following questions for this bond.
a. Calculate the current price of the bond by discounting all the cash flows of the bond using the timeline method. b. Calculate the modified duration of the bond without using any Excel built-in function. (calculate PV of each cash flow, find the weight of each cash flow and then multiply time with the weight) c. Using modified Duration, calculate what would be the new price of the bond when YTM is 11%. d. Using modified Duration, what is the percentage change in price from the original level (found in part a) when YTM is 11%? e. Calculate convexity of the bond without using any Excel built-in function. f. Using the modified duration plus convexity model, what is the new price of the bond when YTM is 13%? g. Using the modified duration plus convexity model, what is the percentage price change from the original level (found in part a) of the bond when YTM is 13%.
Please only answer parts E,F & G
In: Finance
Provide the optimal Solution to the problems below using java code and include Time Complexity Analysis!
In an Array of integers, a “peak” is an element which is greater than or equal to the adjacent integers and a “valley” is an element which is less than or equal to the adjacent integers. For example, the array {5, 8, 6, 2, 3, 4, 6}, {8, 6} are peaks and {5, 2} are valleys. Give an array of integers, sort the array into an alternating sequence of peaks and valleys.
EXAMPLE
INPUT:
{5, 3, 1, 2, 3}
OUTPUT:
{5, 1, 3, 2, 3}
You are given a list of projects and a list of dependencies (Which is a list of pairs of projects, where the second project is dependent on the first project). All of a project’s dependencies must be built before the project is. Find a build order that will allow the projects to be built. If there is no valid build order, return an error.
EXAMPLE
INPUT:
Projects: a, b, c, d, e, f
Dependencies: (a, d), (f ,b), (b, d), (f, a), (d, c)
OUTPUT:
f, e, a, b, d, c
(I need java code with explanation of algorithms and time complexity)
In: Computer Science
A geyser is a hot spring in which water occasionally boils, sending a tall column of water and steam into the air. A temperature sensor is used to monitor the temperature near the geyser. The data from the sensor is sent to a microprocessor
Explain why the data from the sensor has to be changed before it is read by the microprocessor.
Describe three advantages of using sensors and microprocessors to monitor the temperature in geysers rather than using manual methods.
In: Computer Science
12. Elastic and inelastic supply
The following graph shows the supply of a good.

For each of the regions, use the midpoint method to identify whether the supply of this good is elastic or inelastic.

True or False: For high levels of quantity supplied where firms have reached near maximum capacity, supply becomes more elastic because firms may need to invest in additional capital in order to increase production further.
In: Economics
A 129-kg horizontal platform is a uniform disk of radius 1.51 m and can rotate about the vertical axis through its center. A 67.5-kg person stands on the platform at a distance of 1.09 m from the center and a 25.3-kg dog sits on the platform near the person, 1.37 m from the center. Find the moment of inertia of this system, consisting of the platform and its population, with respect to the axis.

In: Physics
A microscope's objective lens produces an image of the target object that forms 165 mm from the eyepiece lens (on the near side of the lens). The eyepiece lens has a focal length of 210 mm. Where does the image appear, relative to the eyepiece lens, from the perspective of someone using the microscope?
In your work, don't just provide the numerical answer that Kudu wants. Interpret what this value actually means.
In: Physics
Which of the following statements is false concerning bonding?
(1) A H-Cl bond is an example of a polar covalent bond.
(2) The bond in HCl is formed by sharing electrons
(3) In general, chemical bonds form to minimize energy.
(4) In a N-O bond, electron density is greater near the N atom
(5) Elements with extremely different electronegativities tend to form ionic bonds with each other.
In: Chemistry
In: Biology
In: Chemistry
You digest a plasmid with a restriction enzyme that recognizes a
single site on the plasmid. When you perform gel electrophoresis on
the digestion product, you quickly realize that there are two
bands; one at the expected size and one near the well. Which of the
following best explains the outcome?
a.DNA was trapped in the agarose gel
b.Some plasmids were not digested
c.The presence of the chromosomal DNA
d.The some plasmids ligated together
In: Biology