Lab 5
#define _USE_MATH_DEFINES
#include<iostream>
#include <cmath>
using namespace std;
int main()
{
double f, e = M_E, z = 1.25*pow(10,-4), p0 = 1.29, p;
for (int h=0; h<=1000; h+=100){
f=-1*h*z;
p = p0*pow(e,f);
cout<<"h = "<<h<<" --> "<<"p = "<<p<<endl;
}
return 0;
}INFO