-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHeader.h
44 lines (43 loc) · 849 Bytes
/
Header.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#pragma once
#include<iostream>
#include<new>
#include<cstdio>
#include<vector>
#include<raylib.h>
#include<list>
#include<fstream>
#include<array>
#include<cmath>
#include<algorithm>
#include<unordered_map>
#include<map>
#include<stack>
#include<string>
#include<cstring>
#include<unordered_map>
#include<bitset>
#include<queue>
#include<set>
#include<unordered_set>
#include<thread>
#include<utility>
#include<future>
#include<memory>
#include<cassert>
#include<mutex>
#include<exception>
#include<type_traits>
#include<iomanip>
#include<cstdlib>
#include<execution>
#include<numeric>
using std::cout;
double fungf(double x) {
return std::pow(x, 3) - std::pow(x, 2) - 2.0 * x + 1.1250;
}
double fungg(double x) {
return (std::pow(x, 3) - std::pow(x, 2) + 1.1250) / 2.0;
}
double dfungf(double x) {
return 3.0 * std::pow(x, 2) - 2 * x - 2.0;
}