GVA SUPPORT

³ 1325447245
Text:
	Բ =  ..

 ://  
#include <iostream>  //  /
#include <math.h>    //      
#include <stdio.h>   //  /
#include <iomanip.h>
using namespace std; //    cout   cin

//------------------------------------------------------------------------------

void Enter(double &a1, double &b1, double &c1, double &n1){
        cout<<" Enter a : "; cin>>a1;
        cout<<" Enter b : "; cin>>b1;
        cout<<" Enter c : "; cin>>c1;
        cout<<" Enter n : "; cin>>n1;
}
int main()
{
        double
                x_nach  = -0.3,
                x_kon   = -0.1,
                dx      = 0.02,
                a       = -2,
                b       =  2,
                c       = 25,
                n       = 1.2;
        //Enter(a,b,c,n);
        cout<<endl;
        for (double x = x_nach ; x <= x_kon ; x +=dx)
        {
                double t2
                =
                 (1 / (a * ( n - 1 )))
                 *
                 (sin(a*x)/(pow(cos(a*x),n-1)));

                 cout.precision(2);
                 cout.setf(ios::left);
                 cout<<setw(5)<<x<<setw(5)<<" ";

                 cout.precision(5);
                 cout.setf(ios::right);
                 cout<<setw(5)<<t2<<endl;
        }
        system("pause");
        return 0;
}

====================================