---
# System prepended metadata

title: 'Math 181 Miniproject 5: Hours of Daylight'

---

Math 181 Miniproject 5: Hours of Daylight.md
---
---
tags: MATH 181
---

Math 181 Miniproject 5: Hours of Daylight
===

**Overview:**  This miniproject will apply what you've learned about derivatives so far, especially the Chain Rule, to analyze the change the hours of daylight. 

**Prerequisites:** The computational methods of Sections 2.1--2.5 of *Active Calculus*, especially Section 2.5 (The Chain Rule).

---

:::info
The number of hours of daylight in Las Vegas on the $x$-th day of the year ($x=1$ for Jan 1) is given by the function together with a best fit curve from Desmos.}[^first]
[^first]: The model comes from some data at http://www.timeanddate.com/sun/usa/las-vegas?

\\[
D(x)=12.1-2.4\cos \left(\frac{2\pi \left(x+10\right)}{365}\right).
\\]
(1) Plot a graph of the function $D(x)$. Be sure to follow the guidelines for formatting graphs from the specifications page for miniprojects.
:::

(1)
![](https://i.imgur.com/PDIWQS0.png)



:::info
(2) According to this model how many hours of daylight will there be on July 19 (day 200)?
:::

(2)According to the graph, on July 19 (day 200) there would be 14.24 hours.



:::info
(3) Go to http://www.timeanddate.com/sun/usa/las-vegas? and look up the actual number of hours of daylight for July 19 of this year. By how many minutes is the model's prediction off of the actual number of minutes of daylight?
:::

(3) According to the www.timeanddate.com the actual number of hours of daylight for July 19, 2019 was 14.18 hours or 850.8 minutes. Therefore the model's prediction minus the actual = $854.4-850.8 = 3.6 minutes$. The model's prediction was off by 3.6 minutes. 

:::info
(4) Compute $D'(x)$. Show all work.
:::

(4)$D\left(x\right)\ =\ 12.1\ -\ 2.4\cos\left(\frac{2\pi\left(x+10\right)}{365}\right)$

$D(x) = 12.1-2.4\cos\left(\frac{2\pi x}{365}+\frac{20\pi}{365}\right)$

$D'(x)=2.4\sin\left(\frac{2\pi x}{365}+\frac{20\pi}{365}\right)\cdot d/dx\left[\frac{2\pi x}{365}+\frac{20\pi}{365}\right]$

$D'(x)=2.4\sin\left(\frac{2\pi x}{365}+\frac{20\pi}{365}\right)\cdot\frac{2\pi}{365}$

$D'(x)=\frac{4.8\pi}{365}\sin\left(\frac{2\pi x}{365}+\frac{20\pi}{365}\right)$



:::info
(5) Find the rate at which the number of hours of daylight are changing on July 19. Give your answer in minutes/day and interpret the results.
:::

(5)
The rate of for July 19 (200 days) is at $-0.0188353725245$ hours per day. As time moves to 200 days, the rate of change is at −0.000313922875408 minutes per day. 



:::info
(6) Note that near the center of the year the day will reach its maximum length when the slope of $D(x)$ is zero. Find the day of the year that will be longest by setting $D'(x)=0$ and solving.
:::

(6) The day of the year that will be longest would be on day 172 or July 21, 2019.

:::info
(7)  Write an explanation of how you could find the day of the year when the number of hours of daylight is increasing most rapidly.
:::

(7) If we know the slope is increasing. We know that the derivative is positive or increasing. In addition we know days are increasing. Therefore we could find the D''(x) to tell us when the number of hours of daylight is increasing most rapidly. 

---

To submit this assignment click on the Publish button ![Publish button icon](https://i.imgur.com/Qk7vi9V.png). Then copy the url of the final document and submit it in Canvas.



