#include <iostream>
#include <math.h>
using namespace std;
int main() {
double y, x;
cout << "Enter y ";
cin >> y;
for (double i = 1; i<=8; i+=0.5) {
x = log(50) - (i * i);
cout << x << endl;
}
return 0;
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double y, x;
cout << "Enter y ";
cin >> y;
for (double i = 1; i<=8; i+=0.5) {
x = log(50) - (i * i);
cout << x << endl;
}
return 0;
}