On which day of the week were you born

Assignment Help Engineering Mathematics
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.

938_Untitled.png

Reference no: EM13887476

Questions Cloud

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. ..

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Find the area bounded by the curves

Session :Area bounded by curves Question: Find the area bounded by the curves

  Compute b1 and b0

Compute B1 and B0 (for this I am having trouble finding the covariance and Sx if you could please write that out in detail)

  What have you learned about statistics

The question to address is: "What have you learned about statistics?" In developing your responses, consider - at a minimum - and discuss the application of each of the course elements in analyzing and making decisions about data (counts and/or me..

  A regression equation to explain outcomes

What variables might explain or predict an outcome in your department or life? If you generated a regression equation, how would you interpret it and the residuals from it?

  Find stress,strain and modulus of elasticity

A metallic rectangular rod 1.5m long,40mm wide and 25mm thick is subjected to axial tensile load of 120KN.Elongation of rod is 0.9mm.Find stress,strain and modulus of elasticity.

  Compute the volume of the solid

Compute the volume of the solid obtained by rotating the region underneath the graph of y = 1-x2 over the interval [-1, 1] about the line x = 7.

  Find the pmf-mean and variance of the child''s birth rank

A random child is chosen in the town (with equal probabilities). Find the PMF, mean, and variance of the child's birth rank.

  Waiting time t between successive occurrences of an event e

waiting time T between successive occurrences of an event E

  Compute the test statistic for testing the hypotheses

Give the null and alternative hypotheses for testing the consumer advocate group's claim. Compute the test statistic for testing the hypotheses, part c. Find the rejection region of the test at a= .10.

  Neglecting atmospheric pressure

Neglecting atmospheric pressure, find the total force due to water pressure acting on a thin strip of the dam of height dy located at a depth y.

  Determine the smallest vertical force

A uniform square table having a weight W and sides a is supported by three vertical legs. Determine the smallest vertical force P that can be applied to its top that will cause it to tipover.

  Initial level does the mercury rise in left arm

A simple open U-tube contains mercury. When 11.2 cm of water is poured into the right arm of the tube, how high above its initial level does the mercury rise in the left arm?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd