using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace testing { internal class Program { static void Main(string[] args) { FunctionsMath fm = new FunctionsMath(); Console.Write("Введите число: "); double number = Convert.ToDouble(Console.ReadLine()); double result = 0; if (number == 1 || number == 0) { Console.WriteLine("Переделывай"); } else { try { if (number <= 0) result = ((((FunctionsMath.Trigonometry.cot(number) / FunctionsMath.Trigonometry.sec(number)) - FunctionsMath.Trigonometry.tg(number)) * Math.Sin(number)) / FunctionsMath.Trigonometry.cos(number)) * (fm.pow(((Math.Sin(number) + FunctionsMath.Trigonometry.cos(number)) + FunctionsMath.Trigonometry.cos(number)), 2)); else result = ((((fm.pow(FunctionsMath.Logarifms.log(5, number), 3)) * FunctionsMath.Logarifms.log(10, number)) + FunctionsMath.Logarifms.log(3, number)) / Math.Log(number)) + (Math.Log(number) * FunctionsMath.Logarifms.log(5, number)); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } } Console.WriteLine(result); Console.ReadKey(); } } }