• 2-TOPSHIRIQ a)
  • 1-topshiriq #include #include using namespace std; int main {float a=m pi/4,b=m pi/2,y,X,h; x=a; h=(b-a)/10; while




    Download 0,75 Mb.
    Sana20.11.2023
    Hajmi0,75 Mb.
    #102002
    Bog'liq
    Mirzoanvar dasturlash deadline 2


    Muhammad al-Xorazmiy nomidagi
    Toshkent axborot texnologiyalari
    universiteti Kiberxavfsizlik fakulteti talabasi
    MIRZOA`ZAMOV MIRZOANVARNING dasturlash fanidan bajargan
    2-amaliy topshirig`i

    O`qituvchi:Normo`minov Akbar


    Guruh:PRG008
    1-TOPSHIRIQ
    #include
    #include
    using namespace std;
    int main()
    {float a=M_PI/4,b=M_PI/2,y,x,h;
    x=a;
    h=(b-a)/10;
    while (x<=b)
    {y=cos(x)+pow((tan(x)),-1);
    cout<<"x="<double s;
    for (i=-22;i<=40;i++)
    s=0;
    {s=s+((pow((abs(i)-2*pow(i,3)),(1/i))+16)/log(fabs(i+3)+1.6));}
    cout<<"s= "< return 0;}

    b) #include
    #include
    using namespace std;
    int main()
    { double c,s;
    cout<<"c ning qiymatini kiriting: "< cin>>c;
    for (int n=1;n<=20;n++)
    {s=s+pow(-1,n)*(n+c)/(2*pow(n,4)+1);}
    cout<<"yig`indining qiymati = "< return 0;}

    c) #include
    #include
    using namespace std;
    int main()
    {int m,R; double p1=1,p2=1;
    for (R=4;R<=16;R++)
    {for (m=1;m<=17;m++)
    {p1=sqrt(pow(R,m)+4*R-m+1.6)/(sin(m+R)-m);}
    p2=p2*p1;}
    cout<<"Ifoda qiymati: "<
    cout< cout<<"Ifoda qiymati: "<
    return 0;}

    3-TOPSHIRIQ
    #include
    #include
    using namespace std;
    int main()
    {float s,y,x,a=M_PI/10,b=9*M_PI/10,h;
    int n=1,m=20;
    x=a;
    h=(b-a)/m;
    while (x<=b)
    {s=s+sin(2*n-x)/(2*n-1);
    y=M_PI/4*x;
    cout<<"s= "<Download 0,75 Mb.




    Download 0,75 Mb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    1-topshiriq #include #include using namespace std; int main {float a=m pi/4,b=m pi/2,y,X,h; x=a; h=(b-a)/10; while

    Download 0,75 Mb.