Calculating Daylight Hours Using Trigonometry

  • Thread starter Thread starter TonyC
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around calculating the total accumulated hours of daylight in a town on the west coast of North America using a trigonometric model. The formula provided models daylight hours based on the day of the year, and participants are exploring how to compute the total hours between specific dates.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants are attempting to calculate the total hours of daylight using the provided formula and discussing potential errors in calculations. Some are questioning the validity of the formula and its application, while others are suggesting different methods or formulas for summing the sine function.

Discussion Status

The discussion is active, with participants sharing different results and methods for calculating daylight hours. Some have provided alternative approaches and formulas, while others are verifying calculations and questioning assumptions about the original formula.

Contextual Notes

There are indications of potential misunderstandings regarding the formula's application, and some participants are addressing the need for clarity on the mathematical steps involved. The discussion includes varying interpretations of the calculations and results.

TonyC
Messages
86
Reaction score
0
The number of hours of daylight in a town on the west coast of North America can be modeled by:

h=3.75sin[2pi/365(d-79)] + 12

Where h is the number of hours of daylight in a day and d is the day of the year, with d=1 representing January 1 (assume 28 days in Feb). What is the total accumlated number of hours of daylight by a town between Mar 29 and June 29.

I worked the problem and came up with 1355.6 hours.

Am I good to go?
 
Physics news on Phys.org
You proberlly ment the formula more like this: h=3.75sin[(2pi/365)(d-79)] + 12. In the previous form it would be undefined for the 79th day and as far as I know all days have a real number of hours. As for your resoult I can't even imagine a way to get more than 15.75 hours. You probelly just made a mistake when tiping it in your calculator. I would sugest taht you do it in steps and not all at once :wink: .
 
I don't know how you got your result but I wrote a program to work it out!

Taking March 29 as day 88 and June 29 as day 180, I got the following,

day 88 to day 180 inclusive: total hrs = 1369.77
day 89 to day 180 inclusive: total hrs = 1357.18
 
You can write a general formula by summing the sequence of sines. Use Euler's formula for the trig functions and sum it as geometric series.
 
The hours of sunlight from day n to day N inclusive is:

[tex]12(N - n + 1) + 3.75\sum _{d = n} ^{d = N}\sin \left (\frac{2\pi (d - 79)}{365}\right ) = 12(N - n + 1) + 3.75\sum _{d = n - 79} ^{N - 79}\sin \left (\frac{2\pi d}{365}\right )[/tex]
 
This may help:

[tex]\sum_{n = a}^{b} \sin nx = \frac { \cos x(a-1/2) - \cos x(b+1/2)} {2 \sin x/2}[/tex]

(Edited: YIKES! Sorry, akg! I went dyslexic when I typed it and interchanged the x with the a and b!)
 
Last edited:
Wait a minute, what if a = b = 1?

sin(x) = [cos(x - 1/2) - cos(x + 1/2)]/2sin(x/2)
= [cos(x)cos(1/2) + sin(x)sin(1/2) - cos(x)cos(1/2) + sin(x)sin(1/2)]/2sin(x/2)

= sin(x)sin(1/2)/sin(x/2)
sin(x/2) = sin(1/2)

That doesn't seem right. Where did you get that formula from?
 
It seems right now.

I used tide's sum of sines formula in akg's expression for hours of sunlight and got the same results as my computer.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 19 ·
Replies
19
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K