Quick actions

cmd+k|ctrl+k

Navigation

Languages

Task №254

Snippet info

Language

Cpp

Visibility

public

Author

diety

Created

2018-11-18T17:55:03Z

Updated

2018-11-18T18:16:20Z

#include <iostream>
#include <cmath>
using namespace std;

int main() 
{
    double a,b,c,x,y;
    
    a = 0.5;
    b = 1.3;
    c = 1;
    y = (0.2*a - 4*b)/(2*c - sqrt(1 + 2*a*x));
    
    for (double x = -1; x<=3; x+=0.5)

    {
        cout<<"Значение функции = "<<y<<endl;
    }
    
    return 0;
}
INFO