lab5(247)

Run Settings
LanguageC++
Language Version
Run Command
#include<iostream> #include<cmath> int main() { using namespace std; double a, b, h; cin >> a; cin >> b; cin >> h; cout << "F(x) = ctg x + 1" << endl; for (double i = a; i <= b; i += h) { cout << "F(" << i << ") = " << 1 / tan(i) + 1 << endl; } return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines