Код: Выделить всё
Tw = T × arctan[0.151977 × (RH% + 8.313659)^(1/2)] + arctan(T + RH%) - arctan(RH% - 1.676331) + 0.00391838 ×(RH%)^(3/2) × arctan(0.023101 × RH%) - 4.686035
Код: Выделить всё
double temp = 25;
double rh = 40;
var Tw = (temp * Math.Atan(0.151977 * (rh + 8.313659)) + Math.Atan(temp + rh) - Math.Atan(rh - 1.676331) + 0.00391838 * rh) ^ 3 / 2 * Math.Atan(0.023101 * rh) - 4.686035;
^ нельзя применить к double и int.
Буду признателен за любую помощь.>
Подробнее здесь: https://stackoverflow.com/questions/790 ... to-c-sharp
Мобильная версия