OPEN ENDED NOT MULTIPLE CHOICE

Some recent studies suggest that a teenager sends an average of 60 texts per day. For each of
the following scenarios, find the linear function that describes the relationship between the input
value and the output value. Then, determine whether the graph of the function is increasing,
decreasing, or constant.


a. The total number of texts a teen sends is considered a function of time in days. The input is
the number of days, and output is the total number of texts sent.


b. A teen has a limit of 500 texts per month in his or her data plan. The input is the number of
days, and output is the total number of texts remaining for the month.


c. A teen has an unlimited number of texts in his or her data plan for a cost of $50 per month.
The input is the number of days, and output is the total cost of texting each month

Answers

Answer 1
The correct answer is C

Related Questions

The quadrilaterals ABCD and JKLM are similar.

Find the length x of JK.

B

K

A

U

S

3. 5

2. 1

3

M

2. 1 L

D

3

c

X

0

X 5 ?

Answers

The length x of JK is 3.6 units

Here, quadrilaterals ABCD and JKLM are similar.

We know that the corresponding sides of similar triangles are in proportion.

So, by definition of similar triangles,

AB/JK = BC/KL = CD/LM = AD/JM

To find:  the length x of JK

So, consider an equation

AB/JK = AD/JM

Substitute the length of each side in above equation.

4/x = 2/1.8

(4 × 1.8)/x = 2

(4 × 1.8)/2 = x

x = 2 × 1.8

x = 3.6

Therefore, the length of JK = 3.6 units

Learn more about an equation here:

https://brainly.com/question/649785

#SPJ4

Is 9x2 42x 49 a perfect square trinomial?

Answers

No, 9x2 42x 49 is not a perfect square trinomial.

What is perfect squares?

Perfect squares are numbers that are the product of a number multiplied by itself. Examples of perfect squares include 4 (2 x 2), 9 (3 x 3), 16 (4 x 4), 25 (5 x 5), 36 (6 x 6), 49 (7 x 7), and 64 (8 x 8). Perfect squares are also referred to as "square numbers" or "whole-number squares."

No, 9x2 42x 49 is not a perfect square trinomial. A perfect square trinomial is a polynomial of the form a2 + 2ab + b2,

where a and b are numbers or variables.

9x2 42x 49 does not fit this pattern, as it does not involve two terms whose sum is multiplied by itself.

To know more about perfect squares click-
https://brainly.com/question/27307830
#SPJ4

The length of an object in feet is equal to 3 times it's length in yards. The length of the boat is 36 feet. Write and solve a multiplication equation to find the length of the boat in yards

Answers

In linear equation ,The length of waterslide is 12 yards.

What in mathematics is a linear equation?

A linear equation is a first-order (linear) term plus a constant in the algebraic form y=mx+b, where m is the slope and b is the y-intercept.

                               Sometimes, the aforementioned is referred to as a "linear equation of two variables," where x and y are the variables.

Given that,

The length of an object object in feet is equal to 3 times it’s length in yards

The length of wall water side slide is 36 feet

Let "y" be the length of object in yards

From given,

Length in feet = 3 times length in yards

    36 =  3 * y

     3y = 36

    y = 36/3

     y = 12

Thus length of waterslide is 12 yards.

Learn more about linear equation

brainly.com/question/11897796

#SPJ4

A standard deck of 52 cards contains four suits: clubs, spades, hearts, and diamonds. Each deck contains an equal number of cards in each suit. Rochelle chooses a card from the deck, records the suit, and replaces the card. Her results are shown in the table. Cards Suit Observed Frequency Clubs 29 Spades 13 Hearts 15 Diamonds 23 How does the experimental probability of choosing a heart compare with the theoretical probability of choosing a heart

Answers

The theoretical likelihood of selecting a heart is 1/16 times higher than the actual likelihood.

In the given question, we have to find the experimental probability of choosing a heart compare with the theoretical probability of choosing a heart.

We are aware that a deck's total number of cards= 52

Total number of hearts = 13

Then the theoretical probability of getting a heart = Number of cards have hearts/Total cards

Then the theoretical probability of getting a heart = 13/52

Then the theoretical probability of getting a heart = 1/4

Then the theoretical probability of getting a heart = 0.25

Cards chosen by Rochelle : Clubs 29, Spades 13, Hearts 15, Diamonds 23

Total cards  = 80

The experimental likelihood of experiencing a heart attack = Number of cards have hearts/Total cards

The experimental likelihood of experiencing a heart attack = 15/80

The experimental likelihood of experiencing a heart attack = 3/16

The experimental likelihood of experiencing a heart attack = 0.185

Since, 0.25 > 0.1875 so, Theoretical probability > Experimental probability

and,

Theoretical probability = 0.25-0.1875

Theoretical probability = 0.0625

Theoretical probability = 625/10000

Theoretical probability = 1/16

Hence, the theoretical likelihood of selecting a heart is 1/16 times higher than the actual likelihood.

To learn more about Theoretical probability link is here

brainly.com/question/24037367

#SPJ4

plsplsplsplsplspls help me

Find the measure of an interior angle of a regular hexagon ​

Answers

Therefore , the solution of the given problem of angles comes out to be

Each inner angle of a regular hexagon measures 120 degrees.

Exactly what angles are there?

Two rays that converging at the vertex, or center, of an angular structure in geometry make up the structure. We refer to these rays as the faces of the angle. Two beams may well be able to create any angle within just a planar depending on their location. Additionally, an angle is created when two planes intersect. .

Given: A standard hexagon

Measure each internal angle of a standard hexagon.

Solution:

(n - 2) x 180° is the formula for the sum of lengths of a polygon's inner angles.

Every side of a regular polygon is the same length, and every angle is the same size.

A hexagon has six sides.

Find the total of the measurements of the internal angles of a hexagon by substituting n = 6 in (n - 2) x 180n latitude in step 1.

=> (n - 2) * 180°

=> (6 - 2) * 180°

=>4 * 180°

=> 720°

Step 2: Since a regular hexagon has six sides and all of its sides and angles are equal in size, divide by six to obtain the dimensions of each inner angle.

=> 720° /6

=> 120°

Each internal angle of such a regular polygon is 120 degrees in length.

To know more about angles visit:

https://brainly.com/question/14569348

#SPJ1

What is quadrant 3 on a graph?

Answers

The lower left-hand corner of the graph is the third quadrant.

It contains the negative values of both x and y.

Quadrant

The axes of a two-dimensional Cartesian system divide the plane into four infinite regions called quadrants, each bounded by two half-axes.

Cartesian system

A Cartesian coordinate system in a plane is a coordinate system that specifies each point uniquely by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured in the same unit of length.

coordinates

Coordinates are numbers which determine the position of a point or a shape in a particular space.

Learn more about quadrants here :-

https://brainly.com/question/7196312

#SPJ4

n% of 400 = 150


please HELLPPP​

Answers

Answer:

150 of 400 can be written as:

150400To find percentage, we need to find an equivalent fraction with denominator 100. Multiply both numerator & denominator by 100

150400 × 100100= (150 × 100400) × 1100 = 37.5100Therefore, the answer is 37.5%

If you are using a calculator, simply enter 150÷400×100 which will give you 37.5 as the answer.

What is the value of the expression shown below?
-28+42-12+(-16) + 7

A.14
B. 7
C.-7
D.-14

Answers

Order of operations, add and subtract left to right
-28 + 42 - 12 +(-16) + 7
14 - 12 +(-16) + 7
2 +(-16) + 7
-14 + 7
-7

Find the value of b.
Image is below please explain and give correct answer !!

Answers

The value of b is degree 104.we can find by using vertically opposite theorem.

What is vertically opposite in maths?

Vertical Angles are when two lines intersect each other then the opposite angles formed due to intersection are called vertical angles or vertically opposite angles. A pair of vertically opposite angles are always equal to each other.The point where they meet is called a vertex.

How do we identify opposite angles?

Vertical opposite angles that are opposite each other when two lines cross are also known as vertical angles because the two angles share the same corner. Opposite angles are also congruent angles meaning they are equal or have the same measurement.

Now we have

(b-308)=(-2b+4)

b+2b=4+308

3b=312

b=104

Hence the value of b is 104 degree.

To learn more about vertical opposite angle visit;

https://brainly.com/question/18045519

#SPJ1

A spinner is divided into 6 equal regions, numbered 10 through 15. An arrow is spun and lands on one of the numbers. What are the odds of the arow landing on a number that is greater than 10?

A.
0.1667

B.
0.333

C.
0.667

D.
0.833

Answers

Answer: Option D (0.833)

Step-by-step explanation:

There are 6 possible outcomes when the arrow is spun, and 5 of those outcomes correspond to the arrow landing on a number greater than 10 (the numbers 11, 12, 13, 14, and 15).

Therefore, the probability of the arrow landing on a number greater than 10 is 5/6, or about 0.833

Find the 7th term of the geometric sequence whose common ratio is 3/2 and whose first term is 5

Answers

The 7th term of the geometric sequence is 3675/64.

A geometric sequence is a sequence of numbers where each term is found by multiplying the previous term by a constant called the common ratio.

The 7th term of a geometric sequence can be found using the formula:

a_n = a_1 * (r)^(n-1) where a_1 is the first term of the sequence, r is the common ratio, and n is the position of the term in the sequence.

Given that the common ratio is 3/2 and the first term is 5, we can substitute these values into the formula:

a_7 = 5 * (3/2)^(7-1)

After solving the expression we get:

a_7 = 5 * (3/2)^6 = 5* (243/64) = 15*243/64 = 3675/64

So the 7th term of the geometric sequence is 3675/64.

Therefore, the 7th term of the geometric sequence is 3675/64.

To learn more about geometric sequence,

Visit; brainly.com/question/11266123

#SPJ4

-x+6=-2(x+2)-5
Solve for x

Answers

Answer:

x = -15

Step-by-step explanation:

-x+6=-2(x+2)-5

Solve for x

-x + 6 = -2(x + 2) - 5

-x + 6 = -2x - 4 - 5

x = -15

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

check

- (-15) + 6 = -2(-15 + 2) - 5

21 = 21

the answer is good

x = -15

A report states that of home owners have a vegetable garden. How large a sample is needed to estimate the true proportion of home owners who have vegetable gardens to within 6 percentage points with confidence

Answers

To estimate the true proportion of home owners who have vegetable gardens to within 6 percentage points with confidence, a sample size of 384 would be needed.

How big of a sample is required to confidently estimate the true percentage of homeowners having vegetable gardens to within 6 percentage points?This can be calculated using a sample size calculator and the given margin of error and desired confidence level.The size of the sample needed can be calculated using the formula n = (z2 * p * (1-p)) / e2, where n is the size of the sample, z is the z-score associated with the desired confidence level (1.96 for 95% confidence), p is the estimated proportion of home owners having a vegetable garden, and e is the margin of error (6 percentage points).Assuming a conservative estimate of p = 0.50, the sample size needed to estimate the true proportion of home owners having a vegetable garden to within 6 percentage points with 95% confidence is:n = (1.962 * 0.50 * 0.50) / (0.06)2 = 384.9 ≈ 385Therefore, a sample size of 385 home owners is needed to estimate the true proportion of home owners having a vegetable garden to within 6 percentage points with 95% confidence.The equation is: n = (z_alpha/2)^2 * (p*(1-p)) / e^2 Where n is the sample size, z_alpha/2 is the z-score for the desired confidence level (e.g., z = 1.96 for a 95% confidence level), p is the estimated population proportion, and e is the margin of error. For this example, we can assume a 95% confidence level (z = 1.96), a population size of N = 100,000, and a margin of error of 6 percentage points (e = 0.06). Plugging these values into the sample size equation, the required sample size is n = (1.96/2)^2 * (0.5*(1-0.5)) / 0.06^2 This gives us a sample size of n = 384.

To learn more about the Theory of Confidence Intervals refer to:

https://brainly.com/question/15712887

#SPJ4

12[6.3+3(1.9)] what comes first

Answers

The value of the numerical expression 12 × [6.3 + 3 × (1.9)] will be 144.

What is Algebra?

Algebra is the study of abstract symbols, while logic is the manipulation of all those ideas.

The acronym PEMDAS stands for Parenthesis, Exponent, Multiplication, Division, Addition, and Subtraction. This approach is used to answer the problem correctly and completely.

The numerical expression is given below.

⇒ 12 × [6.3 + 3 × (1.9)]

Simplify the numerical expression, then we have

⇒ 12 × [6.3 + 3 × (1.9)]

⇒ 12 × [6.3 + 5.7]

⇒ 12 × 12

⇒ 144

The value of the numerical expression 12 × [6.3 + 3 × (1.9)] will be 144.

More about the Algebra link is given below.

https://brainly.com/question/953809

#SPJ1

sofia and her brother combined to read a total of 40 books over the summer sofia read four times as many books as her brother how many books did each person read

Answers

The number of books that Sofia read is 32 books and the brother read 8 books.

How to calculate the number of books read?

An equation simply has to do with the statement that illustrates the variables given. In this case, it is vital to note that two or more components are considered in order to be able to describe the scenario.

From the information, Sofia and her brother combined to read a total of 40 books over the summer sofia read four times as many books as her brother how many books did each person read

Let the number of books read by the brother = x

Number of books read by Sofia = 4x

Therefore, x + 4x = 40

5x = 40.

Divide

x = 40 / 5

x = 8

The brother read 8 books

Sofia read = 4x

= 4 × 8

= 32 books.

Learn more about equations on:

https://brainly.com/question/2972832

#SPJ1

2. Use the Pythagorean Theorem to find x. Show your work!

Answers

The value of x using Pythagorean theorem is 14.05 units

What is an equation?

An equation shows how two or more numbers and variables are related to each other.

Pythagoras theorem shows the relationship between the sides of a right angled triangle. It is given by:

hypotenuse² = adjacent² + opposite²

In the diagram, using Pythagoras theorem:

22² = (x + 1)² + (x + 2)²

484 = x² + 2x + 1 + (x² + 4x + 4)

2x² + 6x + 5 = 484

2x² + 6x - 479 = 0

x = 14.05

The value of x is 14.05 units

Find out more on equation at:https://brainly.com/question/2972832

#SPJ1

Tracy took a test and had 24 questions. She got 5/6 of the questions correct. How many questions did she answer correctly? Write an equation to model your work

Answers

Tracy got 20 questions correct in her test.

Tracy took a test in which there are 24 questions, out of which Tracy got 5/6 correct.

Hence he got 24 x 5/6 = 20 questions correct.

An equation is a mathematical statement that shows that two mathematical expressions are equal. For instance, 3x + 5 = 14 is an equation, in which 3x + 5 and 14 are two expressions separated by an ‘equal’ sign.

So ,an equation to model this would be:

x = 24 x 5/6

where x is the number of questions tracy answered correctly.

Hence Tracy answered 20 questions correctly.

To learn more about equations visit:

brainly.com/question/10413253

#SPJ4

Equivalent fractions for 1 3/4 and 1 4/5 using 20 as the common denominator

Answers

Answer: 1 3/4 = 35/20 and 1 4/5 = 36/20

Step-by-step explanation:

1 3/4 = 7/4

Multiply top and bottom by 5 to get 35/20

1 4/5 = 9/5

Multiply top and bottom by 4 to get 36/20

The distance that an object falls varies directly as the square of the time the object is in motion. If an object falls for 3​ seconds, it will fall 144. 9 feet. To estimate the height of a​ cliff, a person drops a stone at the edge of the cliff and measures how long it takes for the stone to reach the base. If it takes 3. 5 ​seconds, what is the height of the​ cliff?

Answers

As per the given equation the height of the cliff is 196.225 feet.

How to calculate the distance of an object in motion?

We know that the distance an object falls varies directly as the square of the time it is in motion, meaning that the distance is proportional to the square of the time. If we let d be the distance fallen and t be the time, we can write this relationship as [tex]d = kt^2[/tex] for some constant of proportionality k.

We also know that when an object falls for 3 seconds, it falls 144.9 feet. We can use this information to find the value of k:

[tex]144.9 = k(3^2)[/tex]

k = 16.1

Now that we know the value of k, we can use it to find the distance fallen when the time is 3.5 seconds:

[tex]d = kt^2\\d = 16.1(3.5^2)\\d = 16.1(12.25)\\d = 196.225[/tex]

So, the height of the cliff is 196.225 feet.

To know more about distance visit: https://brainly.com/question/15172156

#SPJ4

Qasim is driving to a concert and needs to pay for parking. There is an automatic fee of $11 just to enter the parking lot, and when he leaves the lot, he will have to pay an additional $2 for every hour he had his car in the lot. How much total money would Qasim have to pay for parking if he left his car in the lot for 6 hours? How much would Qasim have to pay if he left his car in the lot for t hours?

Answers

Answer:

23; 11 + 2t

Step-by-step explanation:

So let's start with the equation and then plug in the 6 hours:

Because we start with 11 dollars just to enter, our equation would start like this:

11 +

Also, 2 dollars for every hour. One hour could be represented as 1t, or just t:

11 + 2t (2 dollars for every t, every hour)

So now the equation is 11 dollars starting entry plus 2 dollars every hour

Now all we have to do is replace t with the number of hours:

11 + 2(6) = answer

11 + 12 = answer

23 = answer

Researchers will conduct a year-long investigation of walking and cholesterol levels in adults. They will select a random sample of 100 adults from the target population to participate as subjects in the study. (a) One aspect of the study is to record the number of miles each subject walks per day. The researchers are deciding whether to have subjects wear an activity tracker to record the data or to have subjects keep a daily journal of the miles they walk each day. Describe what bias could be introduced by keeping the daily journal instead of wearing the activity tracker.

Answers

(a) - Subjects may enter a false information or data, or mistakes can be done while entering the data.

(b) - The researcher can use the results of the study to make generalization to the entire population.

Bias

A bias can be defined as the tendency of facts to be distorted or subjective rather than being objective. It's a deviation from the facts.

generalization

It is the tendency to respond in the same way to different but similar stimuli.

A representative sample can be defined as a sample drawn from an entire population such that it is a subset of it and has similar characteristics as the population group.

Learn more about Bias here :-

https://brainly.com/question/15135672

#SPJ4

GIVEN: An exterior stud wall with brick veneer is 11 ft tall and 40 ft long. 25 % of the area of the wall is windows (glass, frame and sash). FIND: Total weight of the wall and the average dead load in lb/ft of the length of the wall (per foot of wall length) that the wall exerts on the floor.

Answers

The total weight of the wall is 49,500 lb, and the average dead load per foot of wall length is 1237.5 lb/ft.

To find the total weight of the wall and the average dead load per foot of wall length, we need to calculate the total area of the wall and the area of the windows, then use that information to determine the weight of the remaining brick veneer.

First, we calculate the total area of the wall by multiplying the length and height:

40 ft * 11 ft = 440 ft²

Next, we calculate the area of the windows by multiplying the total area of the wall by 25% (the percentage of the wall that is windows):

440 ft² * 0.25 = 110 ft²

Now we can find the area of the brick veneer by subtracting the area of the windows from the total area of the wall:

440 ft² - 110 ft² = 330 ft²

To find the weight of the brick veneer, we can assume a weight of 150 lb/ft². We can calculate this by multiplying the area of the brick veneer by the weight per square foot:

330 ft² * 150 lb/ft² = 49,500 lb

Now to find the average dead load in lb/ft of the length of the wall, we divide the total weight of the wall by the total length of the wall:

49500 lb / 40 ft = 1237.5 lb/ft

So the total weight of the wall is 49,500 lb, and the average dead load per foot of wall length is 1237.5 lb/ft.

To learn more about the area, visit:

brainly.com/question/16151549

#SPJ4

What are the 4 steps in solving simple problems in mathematics?

Answers

The 4 steps in solving simple problems in mathematics is explained below.

According to the author called Polya created his famous four-step process for problem solving that one is used all over to aid people in problem solving

The first and foremost Step is to understand the problem which includes identification of  the unknowns and figure out what the problem tells you is important and then we have to identify any information that is irrelevant to the problem.

Then the nest step is to Devise a plan which means that Look for a pattern and then by using it we have to make a table, diagram or chart and then write an equation.

Then we have to move onto the next steps that is to carry out the plan which means the process of solving the question.

Then the final step is to Look back problem that is none other than check and interpret its reliability of the solution

To know more about Solution here.

https://brainly.com/question/19240425

#SPJ4

The height (h) in meters, of an item d days

can be modeled using the equation, h(d) = 3(5/4)^x



What does the fraction 5/4

represent in this equation?

Answers

Therefore, the fraction 5/4 in this equation represents the growth factor of the height of the item over time.

What is a fraction?

An element of a whole is a fraction. The number is represented mathematically as a quotient, where the numerator and denominator are split. Both are integers in a simple fraction. A fraction appears in the numerator or denominator of a complex fraction. The numerator of a correct fraction is smaller than the denominator.

Define numerator or denominator.

The total number of equally sized components chosen is shown in the numerator. The denominator, however, shows the total number of equal pieces.

The fraction 5/4 in this equation represents the growth factor of the height of the item over time. The value of 3 in front of the fraction is the initial height and the exponent x represents the number of days that have passed, so the height of the item increases by a factor of 5/4 for every additional day. The height equation represents exponential growth.

To know more about Equations visit: https://brainly.com/question/29657983

#SPJ4

HELP PLEASE 10 POINTS!
pls explain
a. 160 is what percentage of 40?


b. 40 is 160% of what number?


c. What number is 40% of 160?

Answers

Answer:

a) 400% b) 1/4 c) 64

Step-by-step explanation:

Answer:

a. 400%

b. 25

c. 64

Step-by-step explanation:

a. 160 ÷ 40/100

160 × 100 / 40

4 × 100 = 400%

b. 40 ÷ 160%

40 ÷ 160/100

40 × 100/160 = 25

c. 40% × 160

40/100 × 160

4 × 16 = 64

what is the percent change from 99 to 71?

Answers

To calculate the percent change of two numbers such as 99 to 71, you use the Percent Change Formula, where a is the start value and b is the end value. When we insert a = 99 and b = 71 in the formula above, then we get the following that we can simplify and solve to get the percent change from 99 to 71.

Change ≈ -28.2828%

The percentage change from 99 to 71 is 28.28%

Which statement about the offer are true ? Check all that apply

Answers

Answer: The first and third options are correct.

Step-by-step explanation:

A coin is flipped 200 times. The table shows the frequency of each event.


Outcome Frequency
Heads 98
Tails 102

Determine the experimental probability of landing on heads.
102%
98%
50%
49%

Answers

probability of landing on heads - 49 %

Answer:

49%

Step-by-step explanation:

We take a sample of 80 observations from a large population with a mean of 1460 and a standard deviation of 270. The probability that the sample mean is between 1300 and 1400 is:

Answers

The probability that the sample mean is between 1300 and 1400 is approximately 1.34%.

We can use the Central Limit Theorem and the standard normal distribution to calculate the probability that the sample mean is between 1300 and 1400. The Central Limit Theorem states that as the sample size increases, the distribution of the sample means will approach a normal distribution, regardless of the distribution of the population.

Since we have a sample of 80 observations, we can assume that the sample mean follows a normal distribution with a mean of 1460 (the population mean) and a standard deviation of:

Standard deviation of the sample mean

= population standard deviation ÷ [tex]\sqrt {sample size[/tex]

[tex]= 270 \div \sqrt{80} = 27[/tex]

So the standard deviation of the sample mean is 27.

We can now standardize the interval between 1300 and 1400 by subtracting the mean and dividing it by the standard deviation of the sample mean.

[tex]Z_1[/tex] = (1300 - 1460) / 27 = -2.59

[tex]Z_2[/tex] = (1400 - 1460) / 27 = -2.22

We need to find the area under the standard normal distribution curve between Z1 and Z2.

Using a standard normal table or a calculator with the standard normal distribution function, we can find the probability that a random variable from the standard normal distribution is between -2.59 and -2.22. This probability is approximately 0.0134 or 1.34%.

Therefore, the probability that the sample mean is between 1300 and 1400 is approximately 1.34%.

To learn more about the probability, visit:

brainly.com/question/30034780

#SPJ4.

What is the midpoint formula of quadratic equation?

Answers

The midpoint formula of a quadratic equation is given by: x = -b/(2a), where a, b and c are the coefficients of the quadratic equation ax2 + bx + c = 0.

This formula is used to determine the midpoint of the roots of a quadratic equation. It works by taking the coefficients of the equation and plugging them into the formula. The result of the formula will be the x-coordinate of the midpoint of the two roots.

This formula is useful when solving quadratic equations, because it allows us to quickly find the midpoint of the two roots without having to solve for both roots first. It is also useful for graphing the quadratic equation, as it reveals the location of the vertex of the parabola. Knowing the midpoint of the two roots also makes it easier to determine the nature of the roots, whether they are real or imaginary.

Learn more about Quadratic Equation here:

https://brainly.com/question/28038123

#SPJ4

Other Questions
How did political systems in American colonies change during the modern ear Please help quickly!Use the figure below to answer questions 18-21 Code to be written in Python: Correct answer will get the brainliest!Uyen decides to write a Python program to count towards the next birthday.In order to do so, she plans to write a function count_days(start_date, end_date) which takes in the start date and end date in the string format, "dd/mm/yyyy", and returns the number of days between the start date and end date. The start date is included while the end date is not included in the count. Note that leading zeros in start_date and end_date are skipped if there are any (For example, the date 1st January 2017 will be in the format 1/1/2017).Currently, Uyen has only completed a skeleton of count_days, and a few helper functions, which are provided below.Your Tasks:(a) Help Uyen complete the four functions marked with 'TODO'. They are get_day_month_year, less_than_equal, next_date and count_days.(b) Uyen was quite careless, she didn't check for input data validity. You will also need to help her with this. We only proceed to count days if the dates are valid, and the start date is before or same as the end date.Assume a valid date is between 1/1/1970 and 31/12/9999. The leap year and valid date check are already provided.If one of the dates is not valid, throw an exception with a message that has the value: "Not a valid date: " + date, where date is the invalid date.If the start date is after the end date, throw an exception with a message value: "Start date must be less than or equal end date."Note: is_leap_year(year) and is_valid(d, m, y) are provided, you can make use of them.Incomplete code:def is_leap_year(year): # DONE: do not need to modify if year % 4 == 0 and year % 100 != 0: return True if year % 400 == 0: return True return Falsedef is_valid(d, m, y): # DONE: do not need to modify # d, m, y represents day, month, and year in integer. if y < 1970 or y > 9999: return False if m < 1 or m > 12: return False if d < 1 or d > 31: return False if m == 4 or m == 6 or m == 9 or m == 11: if d > 30: return False if is_leap_year(y): if m == 2 and d > 29: return False else: if m == 2 and d > 28: return False return Truedef get_day_month_year(date): # TODO: split the date and return a tuple of integer (day, month, year) d = 1 m = 1 y = 1970 return (d, m, y)def less_than_equal(start_day, start_mon, start_year, \ end_day, end_mon, end_year): # TODO: return true if start date is before or same as end date return Falsedef next_date(d, m, y): # TODO: get the next date from the current date (d, m, y) # return a tuple of integer (day, month, year). return (d, m, y)def count_days(start_date, end_date): # date is represented as a string in format dd/mm/yyyy start_day, start_mon, start_year = get_day_month_year(start_date) end_day, end_mon, end_year = get_day_month_year(end_date) # TODO: check for data validity here # # if start date is not valid... # if end date is not valid... # if start date > end date... # lazy - let the computer count from start date to end date count = 0 while less_than_equal(start_day, start_mon, start_year, end_day, end_mon, end_year): count = count + 1 start_day, start_mon, start_year = next_date(start_day, start_mon, start_year) # exclude end date return count - 1Test Cases:test_count_days('1/1/1970', '2/1/1970') 1 test_count_days('1/1/1970', '31/12/1969') Not a valid date: 31/12/1969 test_count_days('1/1/1999', '29/2/1999') Not a valid date: 29/2/1999 test_count_days('14/2/1995', '19/3/2014') 6973 test_count_days('19/3/2014', '19/4/2013') Start date must be less than or equal end date. get_day_month_year('19/3/2014') (19, 3, 2014) get_day_month_year('1/1/1999') (1, 1, 1999) get_day_month_year('12/12/2009') (12, 12, 2009) less_than_equal(19, 3, 2014, 19, 3, 2014) True less_than_equal(18, 3, 2014, 19, 3, 2014) True less_than_equal(20, 3, 2014, 19, 3, 2014) False less_than_equal(19, 3, 2015, 19, 3, 2014) False less_than_equal(19, 6, 2014, 19, 3, 2014) False less_than_equal(18, 12, 2014, 19, 11, 2014) False less_than_equal(18, 12, 2014, 19, 11, 2015) True less_than_equal(31, 3, 2018, 29, 4, 2018) True next_date(1, 1, 2013) (2, 1, 2013) next_date(28, 2, 2014) (1, 3, 2014) next_date(28, 2, 2012) (29, 2, 2012) next_date(29, 2, 2012) (1, 3, 2012) next_date(30, 4, 2014) (1, 5, 2014) next_date(31, 5, 2014) (1, 6, 2014) next_date(31, 12, 2014) (1, 1, 2015) next_date(30, 5, 2014) (31, 5, 2014) give me a few interesting psychology questions to research about A client who is experiencing an acute attack of gouty arthritis is prescribed Colchicine USP 1 mg PO daily. Which information is most important for the nurse to provide the client For gas piping other than black or galvanized steel installed in a concealed location, a shield plate shall be provided for protection against physical damage where a bored hole is located a maximum of ________ from the edge of the wood member. I really need an answer for this FAST so if anybody can answer id really appreciate it :) Which of the following methods is used when an entire mole is removed for examination under a microscope According to the Field book, in 2010, Hispanic workers made up ___ percent of the California labor force. Group of answer choices 44.9 33.5 5.3 16.3 rational harm-benefit assessments by age group are required for continued covid-19 vaccination why would Sargon and his descendants have themselves portrait the way they did? Which of the following is the best example of a farming technology attributed to the Vedic Age?A. TerracingB. Crop rotationC. Pesticide useD. Iron plow What was the purpose of the internment camps ? The logging industry has had a very productive thirty years and as a result, the demand for labor has been increasing a little each year and equilibrium wages rose each year. If the logging industry productivity were to slow down, what is likely to happen to equilibrium wages credit card judgement can they garnish my bank account if my only income is social security in california The function y = f(x) is graphed below. What is the average rate of change of the function f(x) on the interval -5 < x < -4?Under the < is a _ thing summarize how you can find the slope of a parallel line. Which of the following statements is/are incorrect regarding dilution of concentrated sulphuric acid? Which of the following headlines deal with what, how, and for whom questions? A. Coach earns more than Prof!B. Smoking is on the decline C. Health food craze takes off A. Statement A deals with how, B deals with what, and C deals with what B. Statement A deals with for whom, B deals with what, and C deals with how. c. Statement A deals with what, B deals with how, and C deals with how. D. Statement A deals with how, B deals with what, and C deals with for whom. E. Statement A deals with for whom, B deals with what, and C deals with what. Question 3 (Mandatory) (2 points)Employment opportunities for medical assistants are expected to grow by what percentage through 2028?23 percent32 percent36 percent38 percent