- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
if (comboBox4.Text == "Да")
{
ph[0] = (p11p * ph[0]) / ((p11p * ph[0]) + (p11n * (Convert.ToDouble(1) - ph[0])));
ph_[1] = ph[0];
}
if (comboBox4.Text == "Да напевно")
{
str = (p11p * ph[0]) / ((p11p * ph[0]) + (p11n * (Convert.ToDouble(1) - ph[0])));
str = (str - ph[0]) / 2;
ph[0] += str;
ph_[1] = ph[0];
}
if (comboBox4.Text == "Нет")
{
ph[0] = (ph[0] * (Convert.ToDouble(1) - p11p)) / (Convert.ToDouble(1) - (ph[0] * p11p) - (p11n * (Convert.ToDouble(1) - ph[0])));
ph_[1] = ph[0];
}
if (comboBox4.Text == "Нет напевно")
{
str = (ph[0] * (Convert.ToDouble(1) - p11p)) / (Convert.ToDouble(1) - (ph[0] * p11p) - (p11n * (Convert.ToDouble(1) - ph[0])));
str = (str - ph[0]) / 2;
ph[0] += str;
ph_[1] = ph[0];
}
if (comboBox4.Text == "Не знаю")
{
ph_[1] = ph[0];
}