Skip to content

Instantly share code, notes, and snippets.

View Y4r0z's full-sized avatar
🎓
Student. Software engineer.

Y4r0z

🎓
Student. Software engineer.
View GitHub Profile
@Y4r0z
Y4r0z / OS_HW_1
Last active June 16, 2023 07:15
Мусор
#include <iostream>
#include <limits>
#include <cmath>
#include <fstream>
double calc(double a, double b, int n, double (*func)(double)) {
double
result = 0,
h = (b - a) / n;