---
# System prepended metadata

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

---

[](https://)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://www.desmos.com/calculator/ylpmrf0qdj

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



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

(2) According to the model, there should be 14.236 hours of daylight on July 19 (day 200).


:::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) The actual number of of hours of daylight for July 19, 2020 is 14 hours and 17 minutes, or a total of 857 minutes. The model predicted 14.236 hours, or 854.16 minutes. Therefore, 857-854.16=2.84 so the model was off by 2.84 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'\left(x\right)=\frac{d}{dx}\left[12.1\right]-\frac{d}{dx}\left[\frac{2.4\cos\left(2\pi\left(x+10\right)\right)}{365}\right]$
$D'\left(x\right)=0-\frac{d}{dx}\left[\frac{2.4\cos\left(2\pi\left(x+10\right)\right)}{365}\right]$
$D'\left(x\right)=-\frac{d}{dx}\left[2.4\cos\left(2\pi\left(x+10\right)\right]\cdot365-\left(2.4\cos\left(2\pi\left(x+10\right)\cdot\frac{d}{dx}\left[365\right]\right)\right)\right]$
$D'\left(x\right)=2.4\sin\cdot\frac{2\pi\left(x+10\right)}{365}\cdot\frac{2\pi}{365}\left(\frac{d}{dx}\left[x\right]+\frac{d}{dx}\left[10\right]\right)$
$D'\left(x\right)=\frac{4.8\pi\sin\left(\frac{2\pi\left(x+10\right)}{365}\right)}{365}$

:::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) $D'\left(200\right)=\frac{4.8\pi\sin\left(\frac{2\pi\left(x+10\right)}{365}\right)}{365}$= $\frac{4.8\pi\sin\left(\frac{2\pi\left(200+10\right)}{365}\right)}{365}$=$-1.13012235147$ minutes per day. The results show that the rate at hours which daylight is changing given in 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 slope is zero whenever there is 14.5 hours of daylight as shown in the graph. 
June 21st is the day with the longest hours of daylight 
:::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 the slope is increasing, then we know that the derivative is going to be positive and is increasing as well. Also, we know that the days are increasing too so we can find $D''(x)$. That would let us know 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.



