Please find attached an excel spreadsheet containing a calculator which works out the viewing (elevation) angles for an observer of a given height on both a flat and sphere earth, from distances and elevations.
This is what it looks like:
For the flat earth, it's simple trig - tan(x)=(target...