Я хочу решить дифференциальное уравнение
Код: Выделить всё
idy/dx=x
Мой код:
Код: Выделить всё
#include
#include
#include
#include
using namespace std;
using namespace std::complex_literals;
int main() {
std::complex z = 1i;
std::complex y[100];
int j;
float h = 0.1, x[100];
y[0] = 0.0;
x[0] = 0.0;
for (j = 0; j
Источник: [url]https://stackoverflow.com/questions/78145095/how-to-call-imaginary-number-i-in-an-equation-in-c[/url]
Мобильная версия