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

Answers

Answer 1
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.
Answer 2
Final answer:

To calculate the number of days between two dates, subtract the start date from the end date and add 1.

Explanation:

To find the number of days between two dates, you can use the formula:

Number of days = (End date) - (Start date) + 1

For example, if the start date is July 10, 2022, and the end date is July 15, 2022, the number of days between them would be:

Number of days = (15) - (10) + 1 = 6

Learn more about Number of days between two dates here:

https://brainly.com/question/28325599

#SPJ12


Related Questions

What is BC?

___ units

Answers

Okay. First off, let’s solve for the first two sides, since they are the same length. Set it up like this: 8x - 4 = 5x + 11. Subtract 5x from both sides to get 3x - 4 = 11. Next, add 4 to both sides to get 3x = 15. Now, divide each side by 3 to isolate the x and you get 5. Let’s plug in the values. 8 * 5 = 40 - 4 = 36. 5 * 5 = 25 + 11 = 36. There. x = 5. Now, let’s plug the 5 in to the other formula. 5 * 4 = 20. 20 - 2 = 18. There. BC is 18 units long.

Leo has a total of 45 cents. He has some dimes and pennies. How many combinations of dimes and pennies could leo have?

Answers

The list of possible combination of Leo's 45c is below. He could have 0 dimes and 45 pennies, 4 dimes and 5 pennies, 2 dime and 25 pennies, 1 dimes and 35 pennies, 3 dimes and 15 pennies.Leo would have 5 different combination and if you want to have it in table just put the numbers in the table with dimes on one side and pennies on the other.

What is the volume of a cube that measures 5 cm on each side?

Answers

 V = a ^ 3

V= 5 ^ 3 = 125 cm cube

what is the mean of the numbers 5433221 round to the nearest hundredth if necessary. NEED ANSWER ASAP

Answers

I can't tell the numbers apart as there are no colours so I did one answer a with them all being one digit numbers and another answer as them being 2 digit numbers...

1 digit:
5 + 4 + 3 + 3 + 2 + 2 +1 = 20
20 ÷ 7 = 2.86
2 digit:
54 + 33 + 22 + 1 = 110
110 ÷ 5 = 22

Write the sentence as an equation.
307 less than the product of h and 257 is 89

Answers

257h - 307 = 89.

Hope this is helpful to you, even a day later.

Solve v=1/3bh for b, the base of the cone

Answers

Answer:

The base of cone is [tex]b= \frac{3V}{h} [/tex]

Step-by-step explanation:

Given :-

[tex]V =\frac{1}{3} \times b \times h[/tex] .............(1)

we need to solve for the base of cone

Divide both the side by ' h ' in equation (1)

[tex]\frac{V}{h} =\frac{1}{3} \times b[/tex]

Multiply both the sides by 3, in above expression

[tex]3\times \frac{V}{h} = b[/tex]

[tex]b= \frac{3V}{h} [/tex]

Hence, the base of cone is [tex]b= \frac{3V}{h} [/tex]

The Base of the cone whose volume is  given is b = 3V/h.

Hence option D.

Since we know that,

A cone is a three-dimensional solid geometric shape having a circular base and a pointed edge at the top.

Here  given that,

Base of cone = b

Height of cone = h

Since we also know that,

Volume of Cone = base X height / 3

⇒   V = b X h/3

⇒ 3V = b X h

⇒    b = 3V/h

Thus, the Base of the cone whose volume is  given is b = 3V/h.

Learn more about Cone from:

brainly.com/question/16394302

#SPJ6

The complete question is,

The formula for the volume of a cone is V = 1/3bh

Solve V=1/3bh for b,the base of the cone.

A. b=h/3v

B. b=V/3h

C. b=3h/V

D. b=3V/h

The dance instructor asks his class for three volunteers to show some new moves. There are twenty people in class and everyone is silent. One girl, Janie looks around the room to see if anyone is going to volunteer first. Then maybe she won't have to volunteer if someone else does. Which term describes why Janie didn't want to volunteer? bystander effect diffusion of responsibility social facilitation conformity

Answers

I would say she is displaying social facilitation conformity. She would be very likely to dance to her hearts desire when she is alone, however in a group she is anxious and does not want to volunteer. Janie is experiencing what many go through in a crowd or pressuring situation. She is embarrassed.

The term that describes why Janie didn't want to volunteer is probably the diffusion of responsibility. I think this is the answer ( and this is the answer I put on my quiz ) because the responsibility does not have to belong to Janie since there are nineteen other students that can volunteer.


Answer: Diffusion of responsibility

Note: I don't think the answer above is correct


none; live




Which theorem would you use to prove ABE ~ DCE?

ASA Similarity
SSS Similarity
AA Similarity
SAS Similarity

Answers

Answer: Choice C) AA similarity

------------------------------------------------------------------------------
------------------------------------------------------------------------------

We are given that angle ABE = angle ECD since they are both right angles (square marker)

Angle AEB = angle CED as they are vertical angles

we have two pairs of congruent angles, leading us to be able to use the AA (angle angle) similarity theorem

Answer:

AA Similarity

Step-by-step explanation:

Just is. Hope This Helps!!! ;)

Suppose the population of a certain city is 4252. it is expected to decrease to 3393 thousand in 50 years. find the percent decrease.

Answers

We have to find out by how much the population decreased. 

4252-3393 = 859

Now, we have to find out what percentage of 4252 is 859. To this, we divide 859 by 4252, and we get about 0.20 (rounded to nearest 100th). 

This means that the expected percentage decrease is about 20%

Hope this helps!

Paulo has $145 in his savings account. he earns $36 a week mowing lawns. if paulo saves all of his earnings, after how many weeks will he have $433 saved?

Answers

Answer:

8 week

Step-by-step explanation:

= $ 433 − $ 145 = $ 288

= $ 36  for  1  week

$ 288  for  x  weeks

x = 288  divide 36

x = 8  weeks

How many pairs of parallel faces are shown?


3


5


4


6

Answers

there are 3 parallel faces shown

Answer:

The answer is 3 pairs.

Step-by-step explanation:

The flat surfaces that meet at edges are called faces.

The given figure is a cube.

The cube possess six square faces with three meeting at each vertex. In total it has 6 faces, 12 edges, and 8 vertices. Its six faces are arranged in three sets of two parallel faces.

So, there are 3 pairs of parallel faces in a cube.

A marathon is 26 miles 385 yards long . That is about what 1.4 x10 feet how many feet long is half a marathon

Answers

I believe that the correct measurement in feet is 1.4 x 10^5 feet. You forgot to include the ^5.

So since that is the measurement of 1 marathon, therefore half a marathon would simply be also half of that, that is:

 

0.7 x 10^5 feet

or

7 x 10^4 feet

Final answer:

Half a marathon is 69,168 feet in length. To calculate the runner's time for a full marathon at an average speed of 9.5 mi/h, divide the distance (26.2 miles) by the speed, resulting in approximately 2.76 hours or about 2 hours and 45 minutes.

Explanation:

To find the length of half a marathon in feet, we first need to know the length of a full marathon in feet then divide that by 2. Since one marathon is approximately 26.2 miles, we first need to convert miles to feet. There are 5,280 feet in one mile. So, for a full marathon:

26.2 miles × 5,280 feet/mile = 138,336 feet for a full marathon.

Therefore, half a marathon would be:

138,336 feet ÷ 2 = 69,168 feet for half a marathon.

Next, let's look at the question about the marathon runner's time. If a runner averages 9.5 mi/h over a full marathon of 26.2 miles, we can calculate the time taken to run this distance. Time is distance divided by speed, so:

26.2 miles ÷ 9.5 mi/h = approximately 2.76 hours,

which can be converted to minutes: 2.76 hours × 60 minutes/hour = approximately 165.6 minutes or about 2 hours and 45 minutes.

a^3+b=c^2 Solve for a and show me how you got that answer

Answers

a^3+b = c^2

a^3 = c^2 - b

Take CUBE ROOT on both sides.

cuberoot{a^3} = cuberoot{c^2 - b}

a = cuberoot{c^2 - b}

Done!

suppose f(x)=x-2. describe the transformation from the graph of f(x) to the graph of g(x)=x+3. Use a graphing calculator to check your answer.

Answers

We can convert  f(x) to g(x) by  adding 5
The transformation is a translation of the line 5 units horizontally to the left.

The radius of a circle measures 11 mm. What is the circumference of the circle? Use 3.14 for pie and do not round your answer.

Answers

c=2*pi*r
c=2*pi*11
c=22pi

Help Please!! Flip the inequality sign whenever you _____________ or _____________ the inequality by a _______________!

Answers

MULTIPLY or DIVIDE the inequality by a NEGATIVE NUMBER

Michael breeds chickens and ducks. Last month, he sold 505050 chickens and 303030 ducks for \$550$550dollar sign, 550. This month, he sold 444444 chickens and 363636 ducks for \$532$532dollar sign, 532. How much does a chicken cost, and how much does a duck cost?

Answers

Let the cost of a chicken be x and the cost of a duck, y, then

50x + 30y = 550 . . . (1)
44x + 36y = 532 . . . (2)

(1) x 6 ⇒ 300x + 180y = 3,300 . . . (3)
(2) x 5 ⇒ 220x + 180y = 2,660 . . . (4)

(3) - (4) ⇒ 80x = 640
⇒ x = 640 / 80 = 8

From (1): 50(8) + 30y = 550
⇒ 30y = 550 - 400 = 150
⇒ y = 150 / 30 = 5

Therefore, the price of a chicken is $8 and the price of a duck is $5.

The price of a single chicken is $8 and the price of a single duck is $5 and this can be determine by forming the linear equation in two variables.

Given :

Michael sold last month, 50 chickens and 30 ducks for $550.This month, he sold 44 chickens and 36 ducks for $532.

Let the price of single chicken be 'a' and the price of single duck be 'b'. Then the linear equation will be:

[tex]50a + 30b = 550[/tex]  --- (1)

[tex]44a + 36b = 532[/tex]  --- (2)

Now, solve the equation (1) for 'b'.

[tex]b = \dfrac{550-50a}{30}[/tex]

[tex]b = \dfrac{55}{3}-\dfrac{5a}{3}[/tex]  ---- (3)

Now, put the value of 'b' in equation (2).

[tex]44a+36\left(\dfrac{55}{3}-\dfrac{5a}{3}\right) = 532[/tex]

[tex]44a+660-60a=532[/tex]

128 = 16a

a = 8

Now, put the value of a in equation (3).

[tex]b = \dfrac{55}{3}-\dfrac{5\times 8}{3}[/tex]

b = 5

The price of a single chicken is $8 and the price of a single duck is $5.

For more information, refer the link given below:

https://brainly.com/question/21835898

Read the prompt and use complete sentences to answer parts A and B. Barry wants to surprise his family with a vacation to the Bahamas. Part A. Describe a scenario in which Barry uses responsible financial decisions to afford the vacation for his family. Part B. Describe a scenario in which Barry uses irresponsible financial decisions to afford the vacation for his family.

Answers

Barry wants to surprise his family with a vacation to the Bahamas. So he buys plane tickets with cash in hand and they all go.

Barry wants to surprise his family with a vacation to the Bahamas. So he uses all his cash, then uses his credit card to purchase the plane tickets.

A lighthouse cast a shadow that is 36 meters long at the same time , a person who is 1.5 meter tall casts a shadow that is 4.5 meters long . Write and solve a proportion to find the height of the lighthouse

Answers

check the picture below.
Final answer:

To find the height of the lighthouse, set up a proportion using the lengths of the shadows and solve for h. The height of the lighthouse is 12 meters.

Explanation:

To find the height of the lighthouse, we can set up a proportion based on the lengths of the shadows. Let h be the height of the lighthouse. The proportion is:

(h / 36) = (1.5 / 4.5)

Now, we can cross multiply and solve for h:

h = (1.5 / 4.5) * 36

h = 12 meters

Learn more about Finding the height of the lighthouse here:

https://brainly.com/question/32870075

#SPJ2

plz help cant get no help will mark brainliest . 1. Write an expression that represents the length of the south side of the field. (2 pts) 2. Simplify the polynomial expression that represents the south side of the field. (2 pts) 3. Write a polynomial expression that represents the perimeter of the pumpkin field. (2 pts)4. Simplify the polynomial expression that represents the perimeter of the pumpkin field. 

Answers

Answer and work shown above

4root of 15 plus 3 plus root of 15

Answers

I think this answer is right but not 100% sure, 5 Root of 15 + 3
See attachment for answer.

DUE TOMORROW torri had $20 to buy a birthday present for her Dad she decided to buy a dvd for $18 the sales tax is 7% does she have enough money explain your reasoning

Answers

7% of 18 = (7/100)*18 = 0.07*18 = 1.26

The amount of sales tax to be paid is $1.26

Add this onto the original amount of $18 to get 18+1.26 = 19.26

So she will have enough money (since 19.26 is smaller than 20). The amount of change Torri will get is 74 cents (20-19.26 = 0.74 dollars = 74 cents)

Take 2y 2 - 3y - 5 from y ^3 - 6y ^2 + 5y. Select the correct answer.

y^3 - 2y^2 + 3y + 5
y^3 - 4y^2 + 2y - 5
y^3 - 4y^2 + 2y + 5
y^3 - 8y^2 + 8y + 5

Answers

We will subtract 2y^2-3y-5 from y^3-6y^2+5y

This is written as follows:
y^3-6y^2+5y - (2y^2-3y-5)   
note that the subtraction means that some signs would change as follows:
y^3-6y^2+5y - 2y^2+3y+5
Now we will subtract the coefficients of like terms as follows:
y^3 - y^2(6+2) + y(5+3) + 5
= y^3 - 8y^2 + 8y + 5 

Answer:

y^3-2y^2+3y+5

Step-by-step planation:

Absolute value means the distance from zero.

Distance can be negative or positive.

True
False

Answers

False!! Distance is NEVER negative!!

Hope this helps!!

Solve for r: d = rt *
A. d = rt
B. t = d/r
C. r = d/t
D. r = t/d

Answers

d = rt 
r = d/t

answer
C. r = d/t

d =rt

to solve for r divide both sides by t

so r = d/t

 Answer is C

Uta invests $345 into a simple interest investment account that pays interest at a rate of 9% a year. After several years, she withdraws her balance of $531.30. Using the formula l=Prt, how many years was her money invested? 4 years 5 years 6 years 7 years

Answers

the answer is six years

Answer:

[tex]6\ years[/tex]

Step-by-step explanation:

we know that  

The simple interest formula is equal to  

[tex]I=P(rt)[/tex]  

where  

I is the interest amount  

P is the Principal amount of money to be invested  

r is the rate of interest  

t is Number of Time Periods  

in this problem we have  

[tex]t=?\ years\\ I=\$531.30-\$345=\$186.3\\ P=\$345\\r=0.09[/tex]  

substitute in the formula above  

[tex]\$186.3=\$345(0.09t)[/tex]  

[tex]t=186.3/(345*0.09)=6\ years[/tex]

At a baseball game, a vender sold a combined total of 104 sodas and hot dogs. the number of sodas sold was three times the number of hot dogs sold. find the number of sodas and the number of hot dogs sold.

Answers

You have to set up a system of equations

x+y=104
3x-y=104

Sodas = 78
Hotdogs = 26

What are the coordinates of the endpoints of the midsegment for △DEF that is parallel to EF¯¯¯¯¯?



Enter your answers, as a decimal or whole number, in the boxes.

Answers

Use the midpoint formula [tex] \frac{x+x}{2} , \frac{y+y}{2} [/tex] plug in points DF and ED to get (-3,0) and (0.5, 0)

In January, you deposit $16 in your checking account. Each month, you deposit $15 more than you did the month before. How much money do you deposit in October?

Answers

you would put 151 dollars in your account at October.
16+15+15+15+15+15+15+15+15+15=151

Answer:

$151

Step-by-step explanation:

This problem is about a arithmetic sequence, which is obtained by summing a term which is called "difference". In this case, we need to find the tenth term of the arithmetic sequence, because that's the term assigned for October. The formula of an arithmetic sequence is

[tex]a_{n}=a_{1}+(n-1)d[/tex]

Where:

[tex]n=10\\a_{1}=16\\d=15[/tex]

Replacing values, we have

[tex]a_{10}=16+(10-1)15=151[/tex]

Therefore, on October you will have $151 if you deposit $15 more each month, beginning with $16.

The orange-and-purple-striped sweaters at a store were not selling, so the store put them on sale for half of the original price. The sweaters still did not sell, so the store reduced the price by an additional $10. The sweaters are now priced at $7.50. Write and solve an equation to find the original price of the sweaters. Explain each step of your solution.

Answers

7.50+10=y×2=17.50×2= 35.00
Other Questions
MATH HELP!!!!!!!!!!!!! Mechanical (sound) waves are unable to travel through a vacuum, such as through space, but radio waves are transmitted to earth from satellites. how is this possible?a.radio waves are electromagnetic waves.b.satellites are located within our atmosphere.c.radio waves are very high energy mechanical waves.d.radio waves are changed to gamma rays for transmission. Pablo's gas tank is 3/10 full. after he buys 10 gallons of gas, it is 4/5 full. how many gallons can pablo's tank hold? what 2 compromises were made in writing the constitution What is a pitfall of using a contrivance in your story? A. It gives the ending of the story away B. It feels unnatural and inappropriate C. It doesn't provide background information D. It doesn't help to resolve the conflict Which protocol is used by the client for microsoft networks and file and printer sharing for microsoft networks to communicate with each other and share files? Do chickens have feelings/ a good memory? Why was the Tenth Amendment added to the Bill of Rights? A. to make sure individuals have more rights than governmentsB. to address fears that states could lose rights to the federal governmentC. to list all the rights that belong to the states and to the peopleD. to protect people from state and local governments How many insects help a plant to reproduce? The coureur de bois developed raw maps and documented their travels in the new world. true or false Who was a dutch rationalist whose philosophy was based on determinism? Define a variable. Then write and solve an equation for each situation.The Parker family drove a total of 180 miles on their road trip. This distance is 1.5 times the distance they drove on the first day. How many miles did the Parker family drive on the first day?Jose correctly answered 80% of the questions on a language arts quiz. If he answered 16 questions correctly, how many questions were on the language arts quiz? List 3 similarities between the Mecklenburg Resolves and the Declaration of Independence Which two protocols can be used to gain remote access specifically to a server's command line interface, securely and unsecurely? Of all the species in the world, 4 44 out of every 5 55 are insects. What percentage of species are insects? After water soluble nutrients are absorbed they are carried to the ______ through the _____ the hamilton-jefferson bargain concerned? i'm doing a speech about why people give up and why they shouldnt give up what should my attention getter and my main points be? how do you think the first Puritans who came to America would have defined the term religious freedom? How did their definition of religious freedom exclude other people? What group is targeted bagatively but indirectly by swift a modest proposal? Steam Workshop Downloader