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

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

السؤال

Transcribed Image Text:

2. The altitude, h, as a function of air pressure can be calculated by: h=145366.45 451-(1013.25)19 5) 0.190289] where h is in units of feet and the pressure p in units of millibars (mb). Write a MATLAB program in a script file that calculates the h for a given p. For input the program asks the user to enter the pressure in units of millibars. The program then calculates the altitude rounded to the nearest integer. For output the program displays the message: "The altitude is: XX ft." where XX is the calculated value of h. Determine the altitude if the pressure is 394 mb.

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

hourglass_top