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

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

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