Week 7 – Bond Portfolios Round your answers to two decimal points, and don’t round intermediate calculations. Problem 1. Suppose that you have decided to fund a three-year liability with a portfolio consisting of positions in a two- interest rate level is 10%. a) Compute the price of both bonds. b) Since our liability is […]
Tag Archives: decimal
Write a program that calculates the total amount of a meal purchased at a restaurant
Write a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, then calculate the amounts of an 18 percent tip and a 7 percent sales tax. Display each of these amounts and the total. After your read the […]
Estimate the number of visitors in the sample who actually are looking for the company’s website by giving the mean of the relevant distribution (that is, the expectation of the relevant random variable).
Not all visitors to a certain company’s website are customers or potential customers. In fact, the company’s executives estimate that about 8% of all visitors to the website are looking for other websites. Assume that this estimate is correct and that a random sample of 40 visitors to the website is taken. Answer the following. […]
Which is basically saying that instead of a 10’s or 100’s place we have an r’s
Number Representation Unsigned Integers If we have an n-digit unsigned numeral dn-1dn-2…d0 in radix (or base) r, then the value of that numeral is , which is basically saying that instead of a 10’s or 100’s place we have an r’s or r 2 ’s place. For binary, decimal, and hex r equals 2, 10, […]