Hello,

I've attached a sketch of the situation (see attachment)

The viewable angle of the earth looking from a satelite is twice as large as the angle .

The satelite, the center of the earth and the radius of the earth form a right triangle.

If you know d then you can calculate the viewable angle with R = 6365 km.