lab4_264

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <math.h> using namespace std; int main() { int a=3,b=1; double y,x,e,f,g; cout<<"Result:"<<endl; for(double i=-2.0;i<=2.0;i+=0.5) { x=i; e=10*a; f=(0.02*pow(a,2)*b*x)-(a*x); g=1-(b*x); y=e+2*sqrt(f/g); cout<<"F("<<x<<")="<<y<<endl; } return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines