- #1

ngc2024

- 15

- 0

## Homework Statement

I am currently attempting to derive the haversine formula from the sperhical law of cosines. My only problem is that it seems to me that there is some kind of modification from the cosine law to the haversine. My question is if anyone knows what and why a modification has been implemented?

## Homework Equations

The law of sperical cosines:

[itex]cos(C)=cos(A)cos(B)+sin(A)sin(B)cos(α)[/itex]

The haversine formula:

[itex]d=2\times r\times arcsin [/itex][itex]\sqrt{sin^2\frac{\phi_2-\phi_1}{2}+cos(\phi_1)cos(\phi_2)sin^2\frac{\lambda_2-\lambda_1}{2}}[/itex]

## The Attempt at a Solution

In fear of being taken for plagiarism in my paper, I can't show my whole working here. However, the problem seems to be, that when you work with the spherical law of cosines, parts of the expression equals: [itex]\frac{sin(\phi_1)sin(\phi_2)}{-2}[/itex]

whereas the haversine here equals:[itex] sin^2[/itex] ([itex]\frac{\phi_2-\phi_1}{2}[/itex])

These expressions are not equal? Why has it been changed?

Thank you