lab4_19
#include <iostream>
#include <math.h>
using namespace std;
int main() {
//19. x[ 4, 5, ..., 28], y : y = 2t2 + 5,5t - 2, t = x + 2.
int t;
//computing t values
for(int i=4;i<=28;i++)
{
t=i+2;
cout<<"t="<<t<<endl;
cout<<"y1="<<2*pow(t,2)+5<<endl;
cout<<"y2="<<5*t-2<<endl;
cout<<"----------------------"<<endl;
}
return 0;
}INFO