• MUSTAQIL ISHI Mavzu
  • 2-variant. 1-Mustaqil ish Mavzu
  • Oʻzbekiston respublikasi oliy ta’lim, fan va innovatsiyalar vazirligi




    Download 2.1 Mb.
    Sana06.05.2023
    Hajmi2.1 Mb.
    #57304
    Bog'liq
    1-m
    1355483741 40980, Qishloq xo\'jaligi va sanoat sohasidagi o\'zgarishlar reja Xalq x, Xavf ostida qolgan bolalar bilan ijtimoiy ish, Korporativ moliya JN

    OʻZBEKISTON RESPUBLIKASI OLIY TA’LIM, FAN VA INNOVATSIYALAR VAZIRLIGI
    MIRZO ULUGʻBEK NOMIDAGI OʻZBEKISTON MILLIY UNIVERSITETINING JIZZAX FILIALI
    Amaliy matematika fakulteti
    Kompyuter ilmlari va dasturlashtirish kafedrasi
    Axborot tizimlari va texnologiyalari yo’nalishi
    21-21-guruh talabasi Bo’riboyev Diyorning
    “Algoritmlar va berilganlar strukturasi” fanidan yozgan

    MUSTAQIL ISHI

    Mavzu: Eyler funksiyasi va uni hisoblash algoritmi
    Tekshirdi: Tojiyev Ma’ruf
    Jizzax 2023

    Variant

    Mustaqil ish 1

    Mustaqil ish 2

    Mustaqil ish 3

    Mustaqil ish 4

    2

    2

    8

    4

    27


    2-variant. 1-Mustaqil ish
    Mavzu: Eyler funksiyasi va uni hisoblash algoritmi
    Reja:

    1. Eyler funksiyasi haqida batafsil ma’lumot

    2. Eyler funksiyasining algoritmi

    3. Eyler funksiyasining dasturiy ta’minoti



    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;

    namespace AmaliyTopshiriq2modul


    {
    public partial class Form1 : Form
    {
    double x, y, S;

    private void textBox1_TextChanged(object sender, EventArgs e)


    {
    if (textBox1.Text != "" && textBox2.Text != "")
    {
    button1.Enabled = true;
    button2.Enabled = true;
    }
    else
    {
    button1.Enabled = false;
    button2.Enabled = false;
    }
    }

    private void button2_Click(object sender, EventArgs e)


    {
    richTextBox1.Text = "";
    textBox1.Text = "";
    textBox2.Text = "";
    }

    private void textBox2_TextChanged(object sender, EventArgs e)


    {
    if (textBox1.Text != "" && textBox2.Text != "")
    {
    button1.Enabled = true;
    button2.Enabled = true;
    }
    else
    {
    button1.Enabled = false;
    button2.Enabled = false;
    }
    }

    private void button1_Click(object sender, EventArgs e)


    {
    try
    {
    x = Convert.ToDouble(textBox1.Text);
    y = Convert.ToDouble(textBox2.Text);
    S = Math.Log(Math.Abs(Math.Pow(x+y,2)+Math.Sqrt(Math.Abs(x)+2)-(x-(x*y)/(Math.Pow(x,2)/2-5))),Math.E)+Math.Pow(Math.Cos(x+y),2)/(Math.Pow(x+y,1.0/3));
    richTextBox1.Text = richTextBox1.Text + "x = " + x.ToString() + " y = " +
    y.ToString() + "\t\tS = " + S.ToString("F") + "\n";
    }
    catch (Exception ex)
    {
    MessageBox.Show(ex.ToString(), "Dastur bajarilishida xatolik:");
    }
    }

    private void richTextBox2_TextChanged(object sender, EventArgs e)


    {

    }

    public Form1()


    {
    InitializeComponent();
    }

    private void checkBox1_CheckedChanged(object sender, EventArgs e)


    {

    }
    }
    }
    Download 2.1 Mb.




    Download 2.1 Mb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Oʻzbekiston respublikasi oliy ta’lim, fan va innovatsiyalar vazirligi

    Download 2.1 Mb.