Thursday, November 5, 2026

Tedious

Generating one's oen trig values would be extremely tedious, It essentially

involves solving a Pythagorean triangle, and it is trial and error!!

How computers generate trig values.

Copilot:

Trigonometry; what is the strategy used by calcula | Shared Copilot Chat

Azimuth

 The role of the arccos function is to capture how long the sun is at

work on a particular day. One needs to appreciate the notion of azimuth

on the plane on which the observer stands.

                                                                    

source: Math is Fun

Gemini: 

The arccos term measures the solar hour angle at the exact  moment of

sunrise or sunset.

                                                                     



For Paris on the summer solstice, the sun travels some 120 degrees.
from the moment the Sun is highest until it dips below the horizon.

Meta ai:

It's half the daylength in angular units. You multiply it by 2 and convert angle to time to get total daylight.

                                         *     *     *
624 - 546 BC


*     *     *
570 - 495 BC


*     *     *

190 - 120 BC



                                                            
*     *     *


Doing the math on 25 degrees...

tan(25 degrees) = .4663
tan(23.5 degrees) = .4348

Multiply: 
.4663 x .4348 = .2028

Find the angle:
arccos(.2028) = 1.775 rad
                       = 101.7 degrees

Convert to hours:
2/15 x 101.7 = 13.56 hours

We are in winter:
24 - 14 = 10 hours
















Wednesday, November 4, 2026

Paris_Example

Been working through the actual math of using a formula on a sphere

to solve a daylight hours problem. Using Paris, France as the example.

Paris sits at Latitude 48.9 degrees N and Longitude 2.2 degrees E.


                                                             





Calculating for the Summer Solciste ie, longest day of the year...

https://share.gemini.google/6GfkuFKVc0r9


My calculations:

tan(48.9) = 1.146
tan(23.5) = 0.434

1.146 x 0.434  = 0.497

I want to calculate arccos(0.497) - (arccos is the angle for a given arc length) - but my 

Windows machine will only do this if I am working in rads...

(There are 2 pi rads in 180 degrees.)

arccos(0.497) is 1.05 rads.

pi - 1.5 is 2.09 rads

Or more directly, I run arccos on -0.497:

(minus because the tilt is giving me more hours!... while the numbers run counter clockwise on the sphere!))

                                                                             


To get hours, I divide 24 hours by pi rads.

I then multiply by 2.09, which gives 15.9 hours.

                                                                    


I am free to add more minutes, as per the Gemini solution!

Peaceful_Future

I was looking for somw insight into yesterday US elections from La Presse.

Stumbled on this fascinating piece about a deal between Hydro-Quebec and the Mohawk

people...

https://archive.ph/yU1ls

Tuesday, November 3, 2026

Visuals

 I was asked to explain the math in the daylight hours equation. Google

produced interesting visuals for me:


Could I see both tanϕ and tanδ on the same globe rendering... - Google Search

Agreement

                                                              Latitude                


Longitude

The two solcistes


*     *     *

Gemini ai on the Copilot equation:

https://share.gemini.google/5qZ0lWWl60ru


                                                                 *     *     *


Hours of Day for Washington,DC
                                                                               

*     *     *



DeepSeek on daylight hours forWashington, DC:

https://chat.deepseek.com/share/mnq9zydywhrpvjnfjg

                                                                 *     *     *

Washington daylight hours from the Microsoft Weather App:

                                                                      





Monday, November 2, 2026

Context_on_Calcs

With respect of Montreal and Edmonton longitude calculations...

Copilot:

Does this formula assume the Earth is a sphere?

Yes. The standard formula I showed assumes the Earth is a perfect sphere.

In reality, the Earth is slightly flattened at the poles and bulges at the equator, making it an oblate spheroid. The equatorial radius is about 21 km larger than the polar radius.

For sunrise and sunset calculations, however, the spherical assumption works remarkably well because:

The Earth's radius is about 6,371 km.

The flattening is only about 0.3%.

The resulting error in sunrise or sunset times is typically much smaller than other effects, such as atmospheric refraction.

In fact, the largest source of uncertainty is often the atmosphere. Variations in temperature and pressure can shift the apparent sunrise or sunset by a minute or more because they cange how strongly light bends near the horizon.

Modern astronomical software therefore includes corrections for:

Earth's actual shape,

atmospheric refraction,

observer elevation,

the Sun's finite size,

and the precise Earth-Sun geometry on a given date.

An interesting consequence is that if you stand on a hill or in a tall building, you can see the Sun for longer than someone at sea level because your horizon is farther away. From the top of a 100 m hill, sunrise occurs about a minute earlier and sunset about a minute later than at sea level.

For a place like St-Jean-sur-Richelieu (about 45°N), treating the Earth as a sphere gives sunrise and sunset times that are extremely close to the values published by weather services. The atmosphere usually matters more than the Earth's slight flattening.

In a sense, the spherical model is to astronomers what a straight line is to engineers: not perfectly true, but often accurate enough to get very useful answers.

                                                             *     *     *

Quick review of Latitude and Longitude:


                                           *     *     *

Copilot explaining Gemini's Python code...


                                         *     *     *

The Celestial sphere:

                                                                              

source: Wikipedia

*     *     *

Copilot:

The amount of daylight is determined almost entirely by which ring (latitude) you're on, not which slice (longitude) you're on.

So when comparing:
Saint‑Jean‑sur‑Richelieu: 45°N, 73°W
Port‑au‑Prince: 18°N, 72°W
Bogotá: 4.7°N, 74°W

you're holding longitude nearly constant and changing mainly latitude. That's why the daylight changes from:

about 8¾ to 15½ hours in Saint‑Jean,
to roughly 11¼ to 13 hours in the Caribbean,
to almost exactly 12 hours all year in Bogotá.

                                                                    *     *     *