# Thread: Problem with sunlight hours trig equation

1. ## Problem with sunlight hours trig equation

Hi

I have the equation s = -3.2cos(0.01726t + 0.15534) + 12

s is equal to the number of hours of sunlight on a given day
t is equal to the day number of the year

If I am solving for t and s equals 13 hours I have tried to solve the equation like this

13 = -3.2cos(0.01726t + 0.15534) + 12
13 - 12 = -3.2cos0.01726(t + 9)
1/-3.2cos0.01726 = t + 9
-0.31 - 9 = t
- 9.31 = t

As I a have been told you take t and minus it from the mid point date which has the most number of day which is day 174 (as is explained in the question the lowest point in the year for sunlight is the 355th day) so that the two day when it is 13 hours of sunlight is 165th day and 183th day since it is a cos function and 13 hours falls on two different dates

However according to my graph and other online info the days of the year for 13 hours of sunlight should be closer to the 97th day and 251st day of the year.

I have been able to solve for s and the answer always works out correctly so the equation is correct. Why am I having trouble solving for t?

2. Hi

$1 = -3.2 \cos \left(0.01726(t + 9)\right)$

$\cos \left(0.01726(t + 9)\right) = -\frac{1}{3.2}$

$0.01726(t + 9) = \arccos \left(-\frac{1}{3.2}\right)$ or $0.01726(t + 9) = 2\pi-\arccos \left(-\frac{1}{3.2}\right)$
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 4, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.669785737991333, "perplexity": 588.8427949928807}, "config": {"markdown_headings": true, "markdown_code": false, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2016-50/segments/1480698542648.35/warc/CC-MAIN-20161202170902-00329-ip-10-31-129-80.ec2.internal.warc.gz"}