Ответ:
1)-26
2)-2889555569057
#include <iostream>
#include <cmath>
using namespace std;
int main() {
float a = -2; float x = -1.2;
for (float x = -1.2; x < 2; x= x + 0.1) {
for (float a = 2; a < 10; a= a + 0.5) {
cout << (2 * (pow(x, 3))) - a << endl;
}
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
1)-26
2)-2889555569057
#include <iostream>
#include <cmath>
using namespace std;
int main() {
float a = -2; float x = -1.2;
for (float x = -1.2; x < 2; x= x + 0.1) {
for (float a = 2; a < 10; a= a + 0.5) {
cout << (2 * (pow(x, 3))) - a << endl;
}
}
return 0;
}