quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryبرمجة وتطوير البرمجيات schoolبكالوريوس event_available2026-07-13

السؤال

Transcribed Image Text:

Problem: 1 The distance to the horizon increases as you climb a mountain. The expression: d = √√2rh + h² Where d=distance to the horizon, -radius of the Earth, and h=height of the hill can be used to calculate that distance. Create a function called distance to find the distance to the horizon. Your function should accept two input vectors, radius and height and should return a table of distance and height. Take the height of the hill from 0 to 10,00 ft in increments of 500ft and radius of earth as 7,926 miles.

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top