Reference no: EM13887476
In the Gregorian calendar, a year y is a leap year if and only if (mod(y,4) == 0) & (mod(y,100) ~= 0) | (mod(y,400) == 0)
Thus 2000 was a leap year, but 2100 will not be a leap year. This rule implies that the Gregorian calendar repeats itself every 400 years. In that 400-year period, there are 97 leap years, 4800 months, 20871 weeks, and 146097 days.
The Matlab functions datenum, datevec, datestr, and weekday use these facts to facilitate computations involving calendar dates. For example, either of the statements [d,w] = weekday('Aug. 17, 2003') and [d,w] = weekday(datenum([2003 8 17])) tells me that my birthday was on a Sunday in 2003. Use Matlab to answer the following questions.
1. On which day of the week were you born?
2. In a 400-year Gregorian calendar cycle, which weekday is the most likely for your birthday?
3. What is the probability that the 13th of any month falls on a Friday? The answer is close to, but not exactly equal to, 1/7.
Compute the late filing and late payment penalty
: Mr. and Mrs. Pratt failed to apply for an extension of time to file their 2014 Form 1040 and didn't mail the return to the IRS until May 29, 2015. Assuming the Pratt's had no excuse for filing a delinquent return, compute their late filing and late p..
|
Explain why expected return is considered forward-looking
: Explain how differences in allocations between the risk-free security and the market portfolio can determine the level of market risk
|
Stress in the surface layer
: What was the stress in the surface layer before it was removed. For aluminum, E = 10 × 106 psi and υ = 0.30.
|
Create gui application that allows the user to enter the
: A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the movie company. Create a GUI application that allows the user to enter the data into text fields.
|
On which day of the week were you born
: What is the probability that the 13th of any month falls on a Friday? The answer is close to, but not exactly equal to, 1/7.
|
Direction depending on the needs of the animal
: . Action potentials normally travel along an axon in either direction depending on the needs of the animal. True False
|
Problem regarding the martensite and austenite
: Assume that this expansion occurs equally in all directions. For steel, the coef?cient of linear thermal expansion is α = 6 × 10-6/?C, Young's modulus is 30 × 106 psi, and υ = 0.29. Assume these apply to both martensite and austenite. Find the stre..
|
Explain why management might want an independent audit
: Explain why management might want an independent audit of its financial statements. What types of users might be interested in Green Day's financial results?
|
Compute the aftertax cost of interest payment
: Collin Products received notice of a $21,000 income tax deficiency plus $4,300 inter-est. The deficiency related to an incorrect method of accounting for business inventory. Compute the after-tax cost of the $4,300 interest payment assuming that: a. ..
|