1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
irakobra [83]
4 years ago
15

If you need how many days between two dates what function should be used

Mathematics
1 answer:
Mariana [72]4 years ago
6 0
You have to do this piecemeal so there isn’t a single formula. The best way is to convert each date using a common frame of reference. Dates before October 1582 used a different calendar. Also the distance between leap years varies. It’s normally 4 years but it can be 8 years. For example, 2100 is not a leap year but 2096 and 2104 are both leap years. Similarly 1896 and 1904 but not 1900. Before October 1582 leap years occurred exactly 4 years apart.
Your next problem is to work out the day number from the beginning of the year. On average there are between 30.4 and 30.5 days in a month, but this is only an approximation because the length of each month varies. So to aid in the calculation you need a table which gives you the day number for every date in the year, and the table is different for leap years.
So, you start by subtracting the years and counting how many leap years there are between. You consult the day number table for working out how many days there are from the beginning of the year.
Another way is to have a smaller table with just the months, so in a non-leap year Jan 1 would be 1, Feb 1 would be 32, Mar 1 would be 60, Apr 1 would be 91, and so on. Then we have to add in the day date. Mar 20 would be 19 days after Mar 1 so would have a day number of 79, not 80. Some diaries and calendars include the day number.
You can speed up the calculation by using one day number table or calculation and then adding in a day for each leap year between two dates. I hope this helps.
You might be interested in
Graph a line that contains the point (-5,-3) and has a slope of -2
Tpy6a [65]

Answer:

-->

Step-by-step explanation:

Graph (-5,-3) and use the slope, -2, to find another point. -2 can also be written as -\frac{2}{1}

\frac{rise}{run} =\frac{-2}{1} and  \frac{rise}{run} =\frac{2}{-1} **

Use both. This works because either way, they will lie on the same line with the same slope. So, starting at (-5,-3), go down two points (-)* and to the left 1 (+)*, then, starting at (-5,-3) again, go up two points (+)* then to the right 1 point (-)*.

* If the number is negative, you either go down or to the right. If the number is positive, you go up and to the left.

**Rise over run refers to the change in the y-axis and the change in the x-axis: \frac{rise}{run} =\frac{y-axis}{x-axis}. Only one number is negative because, if both were negative, that would make a positive number, but the slope is -2, not 2.

Another way you could do this is by finding points first. All you need to do is turn the slope into a "point". Remember, 2 is the y and 1 is the x:

-2=-\frac{2}{1} = (1,-2) and (-1,2)

Then, using (-5,-3) and your new points, add them separately:

(-5,-3)+(1,-2)\\(-5+1,-3+(-2))\\(-5+1,-3-2)\\(-4,-5)

(-4,-5) is one point

(-5,-3)+(-1,2)\\(-5+(-1),-3+2)\\(-5-1,-3+2)\\(-6,-1)

(-6,-1) is another point. Connect the three points. You can check your work on the graph:

3 0
3 years ago
The Candy Factory sells candy by the​ pound, charging ​$1.25 per pound for quantities up to and including 25 pounds. Above 25 ​p
pantera1 [17]

Answer:

a) 31.25

b) 30

Step-by-step explanation:

The price function is given as:

\mathbf{P(x) =\left \{ {1.25x \ for \ x \  \leq  \  25} \atop {1.20x \   for \ x \ >  \  25}} \right. }

Find:

\mathbf{ \lim_{x \to 25^-} P_{(x)}}

\mathbf{ \lim_{x \to 25^+} P_{(x)}}

\mathbf{P(x) =\left \{ {1.25x \ for \ x \  \leq  \  25} \atop {1.20x \   for \ x \ >  \  25}} \right. }

\mathbf{ \lim_{x \to 25^-} P_{(x)} =  1.25 * 25} \\ \\ =31.25

\mathbf{ \lim_{x \to 25^+} P_{(x)} =  1.20 * 25}  \\ \\ =30

8 0
4 years ago
Please help!!
polet [3.4K]

Answer:

The absolute value of the quadratic term,  \left | -\dfrac{1}{2}   \right | is less than 1

Step-by-step explanation:

The given function is y = (-1/2)·x² - 7

The parent function is y = x²

The vertical compression or stretching of a quadratic function is given by the value of the coefficient, <em>a</em>, of the quadratic term, x² of a quadratic function, a·x²

A quadratic function is vertically compressed if the coefficient, \left | a  \right | < 1.

In the given function, y = (-1/2)·x² - 7, the absolute value of the coefficient of the quadratic term, \left | -\dfrac{1}{2}   \right | < 1, therefore, the equation, y = (-1/2)·x² - 7, will be vertically compressed compared to the parent function, y = x².

6 0
3 years ago
What is the answer to 3(x+1)=2(x-1)
xxTIMURxx [149]

Answer: x = -5

Step-by-step explanation:

Given the equation: 3(x+1)=2(x-1)

Open the brackets

3x + 3 = 2x -2

Combine like terms

3x - 2x = -2 -3

x = -5

I hope this helps, please mark as brainliest answer.

3 0
3 years ago
To travel the erie canal a boat must go through locks that raise or lower the boat traveling east a boat would have tk be lowere
mina [271]

Answer:

  lowered by 31 feet

Step-by-step explanation:

The problem statement makes us assume the boat is lowered in each case. The boat is apparently not raised anywhere, so is lowered by ...

  (12 + 11 + 8) feet = 31 feet

8 0
3 years ago
Other questions:
  • -(4x+13)&gt;11-2(3x+12)
    8·1 answer
  • Collins Middle School has 204 sixth grade students. If the sixth grade is 30% of the total school, how many students are in the
    9·1 answer
  • Mercedes is going to have her car fixed. Cairo Prince Auto Tech charges $45 for an estimate plus $24 per additional hour of work
    13·1 answer
  • A sack of potato with 14 lbs. 9 oz. After Wendy makes potato salad for a picnic does sac wait 9 lbs. 14 oz. What is the week of
    13·1 answer
  • Using the points (-2,2) and (2,-2), find the the equation that describes it in slope-intercept form.
    12·1 answer
  • A vehicle arriving at an intersection can turn right, turn left, or continue straight ahead. The experiment consists of observin
    5·1 answer
  • 7+2x /3 = 5 <br> Thx.......................
    10·2 answers
  • PLEASE HELP! DUE TOMORROW 1-8-21 !! Look at these equations. Write each equation in slope-intercept form. Are these equations th
    12·1 answer
  • Find the slope of a line that passes
    10·1 answer
  • Identify the polygon
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!