public Derivadas(Tangentes TAN, Variables Var) { string Res; if (TAN.Argumento.Contains(Var.Nombre)) { Polinomio = new Polinomios(TAN.Argumento); DerivadaInterna = new Derivadas(Polinomio, Var).Result; Operacion = new PotenciaEntera(TAN.Simbolo, "2"); //REVISAR SI TOCA DESCORCHAR CORCHETES DE LA BASE DE LA POTENCIA string Temporal = EProceso.CorchetesClear(Operacion.Result); Res = Temporal + TAN.Op + TAN.Argumento + TAN.Cl; Operacion = new CocienteEntero("1", Res); Res = Operacion.Result; Operacion = new ProductoEntero(TAN.Coeficiente, DerivadaInterna.ToString()); Operacion = new ProductoEntero(Operacion.Result, Res); Result = Operacion.Result; //Result = $"{DerivadaInterna.ToString()}{new ProductoEntero().Simbolo}{Res}"; PAUSADO PARA EXPERIMENTAR SI SE CORRIGIO EL BUG } else { Result = $"{Modulo}"; } }
public Derivadas(Eulers EUL, Variables Var) { if (EUL.Argumento.Contains(Var.Nombre)) { Polinomio = new Polinomios(EUL.Argumento); DerivadaInterna = new Derivadas(Polinomio, Var).Result; Operacion = new ProductoEntero(EUL.Coeficiente, DerivadaInterna.ToString()); Operacion = new ProductoEntero(Operacion.Result, EUL.Result); Result = Operacion.Result; } else { Result = $"{Modulo}"; } }
public Derivadas(Senos SENO, Variables Var) { if (SENO.Argumento.Contains(Var.Nombre)) { Interino = new Cosenos(); Interino.SetArgumento(SENO.Argumento); Polinomio = new Polinomios(SENO.Argumento); DerivadaInterna = new Derivadas(Polinomio, Var).Result; Operacion = new ProductoEntero(SENO.Coeficiente, DerivadaInterna.ToString()); Operacion = new ProductoEntero(Operacion.Result, Interino.Result); Result = Operacion.Result; } else { Result = $"{Modulo}"; } }
public Derivadas(LogNaturales LN, Variables Var) { if (LN.Argumento.Contains(Var.Nombre)) { Polinomio = new Polinomios(LN.Argumento); DerivadaInterna = new Derivadas(Polinomio, Var).Result; Operacion = new ProductoEntero(LN.Coeficiente, DerivadaInterna.ToString()); Operacion = new CocienteEntero(Operacion.Result, LN.Argumento); Result = Operacion.Result; if (!EProceso.IsAgrupate(Result)) { Result = EProceso.EncorcharFuncion(Result); } } else { Result = $"{Modulo}"; } }