#include using namespace std; float dienTichHCN(float x, float y) { return x*y; } int tongSoChan(int n) { int tong = 0; for (int i = 1; i <= n; i++) { if (i % 2 == 0 && i % 3 == 0) { tong += i; } } return tong; } float hamF1(float x, int n) { float ketqua = 2016 * pow(x, n); for (int i = 1; i <= n; i++) { ketqua += pow(x, n) / pow(3, n); } return ketqua; } float hamF2(float x, int n) { float ketqua; if (n > 10) ketqua = 2016 * x; else { ketqua = exp(x); for (int i = 1; i <= n; i++) { ketqua += i; } } return ketqua; } int main() { float x, y; int n; cout<<"Nhap x: "; cin>>x; cout<<"Nhap y: "; cin>>y; cout<<"Nhap n: "; cin>>n; cout<<"Dien tich HCN canh x, y la: "<