Помогите найти ошибку в расчете математической функции - C#
Формулировка задачи:
Помогите найти ошибку, ответ не равен получается.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace lab2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
textBox1.Text = "0,01655";
textBox2.Text = "-2,75";
textBox3.Text = "0,15";
}
private void button1_Click(object sender, EventArgs e)
{
double x = double.Parse(textBox1.Text);
double y = double.Parse(textBox2.Text);
double z = double.Parse(textBox3.Text);
double a = Math.Pow(x, 1.0/3);//x^1/3
double b = y + 2;//y+2
double c = Math.Pow(x,b);//x^(y+2)
double d = 10*(a + c);//10*(x^1/3+x^(y+2)
double koren = Math.Sqrt(d);//koren iz d
double skobka = Math.Pow(Math.Asin(z),2) - Math.Abs(x - y);//arcsin^2(z)-|x-y|;
double complite = koren * skobka;
textBox4.Text = complite.ToString();
}
private void button2_Click(object sender, EventArgs e)
{
Application.Exit();
}
}
}Решение задачи: «Помогите найти ошибку в расчете математической функции»
textual
Листинг программы
Math.Asin