I clear you two Temporary ignore. If you divide my conversation again, then I'll show nomercy to ignoring you again.
It's a public forum. No one needs your permission to comment.
This working done about 6 months - 1 years ago. So probably had a bit mistake. But if i do it again nowadays i'm sure i'll do it better.
Assuming the sun is directly between the two cities, these diagrams are correct. Good job.
This is a Turkish working shows the method.
<tiny table removed>
Even if I knew Turkish, the table is way too small to read.
These are some calculations.
And the last one is the result as kilometres.
As you see that i calculated it about 5.500 kilometres. If we changes to miles it converts to 3417.5 miles.
If you say that this calculation not reliable, so we can calculate it online by step by step.
This calculation made with method the earth pre accepted as a curve. There was a working as the earth pre accepted as flat but the result is not so different. It doesn't make a big sence if the chosen cities are not so far.
I noticed that only one of your results was 5500 km. Your results ranged from 3300 km to 7000 km depending on the time of day.
Here is the problem: the math assumes the sun is directly between the two cities. However, both cities (Ankara and Istanbul) are North of the Tropic of Cancer, so it is impossible for the sun to ever be between them.
You need to take into account both the sun's
azimuth and altitude. Your current calculations only take into account the sun's altitude. This is why you are getting random values.