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 WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button2_Click(object sender, EventArgs e)
{
{
double b,bx, y,x,p,g,x0,xk, ∆x ;
x = Convert.ToDouble(textBox1.Text);
y = Convert.ToDouble(textBox2.Text);
z = Convert.ToDouble(textBox3.Text);
if (0 =< x =< 0,9) y = Math.Sqrt(1 - (x * x)) + Math.Asin(b) * Math.Asin(b);
else
if (0,9 < x <= 1,8) y =( Math.Exp(x)- Math.Exp(-x))/ (Math.Exp(x) + Math.Exp(-x));
else (x>1,8) y=Math.Sqrt(b)-0,2 *( Math.Cos(p) *x) -( Math.Sin(g) * g);
listBox1.Items.Add(" При x=" + x);
listBox1.Items.Add(" y=" + y);
listBox1.Items.Add(" z=" + z);
listBox1.Items.Add(" y= " + y);
}
}
private void button1_Click(object sender, EventArgs e)
{
Application.Exit();
}
}
}