CellPrint[TextCell[Quiet[cdf =Manipulate[Column[{ "Fórmula usada:\n"<>ToString@ TraditionalForm[(("f")^("("<>ToString[u]<>")"))[x0]]<>"≈"TraditionalForm@formulas[[2]], Dynamic@SuFunc}],
Style[proposito,Bold,10],Spacer[{100,3}],
 (*Inicio contadores *)
 {{u,1,"Orden de la derivada para aproximar: "},1,5,1,ControlType->SetterBar},
{{ff,Cos[x],"f(x) = "},ControlType->InputField},
{{punto,2,"x0 = "},ControlType->InputField},
{{hache,0.1,"h = "},ControlType->InputField},
Button["Calcular", Dynamic@ SuFunc]
(* Fin contadores *)
,Alignment->Center,Deployed->True,AppearanceElements->"ResetButton",LocalizeVariables->True,ContinuousAction->False,FrameLabel->{{None,None},{Column[{,Row[{Style["Autores: Juan Félix Ávila Herrera y Enrique Vílchez Quesada",Bold,10,RGBColor[0,0,0.5]]}],Row[{Style["Escuela de Informática | Universidad Nacional de Costa Rica",Bold,10,RGBColor[0.5,0.1,0]]}]},Center],Style["Aproximación numérica de la derivada n-ésima ", Bold,14, RGBColor[0,0.33,0.33]]}},
Initialization:>(
u=3;
formulas :={nada, (1/(h^u))(∑_(k=0)^u)(((-1))^(k+u))Binomial[u, k] f[x0+k*h]};
 
Clear[f];


(*($PreRead=(#/. s_String/;StringMatchQ[s,NumberString]&&Precision@ToExpression@s==MachinePrecision:>s<>"`12."&));*)
proposito ="Propósito: Aproximar derivadas n-ésimas usando\n "<>ToString@ TraditionalForm[(("f")^("(m)"))[x0]]<>"≈"TraditionalForm[(1/(h^m))(∑_(k=0)^m)(((-1))^(k+m))Binomial[m, k] f[x0+k*h]];
SuFunc := Module[{aux, resp, pt, coef},
resp[x_] := If[x==Round[x], x,ToString[x, InputForm]<> "≈"<>ToString[Sign[x]AccountingForm[Abs@N@x]]];
f[t_] := ff/.x->t;
aux =formulas[[2]]/.{x0-> punto, h->hache, f->g };
aux = ToString@ TraditionalForm[(("f")^("("<>ToString[u]<>")"))[punto]]<>" ≈ "<>ToString[Sign[aux]AccountingForm[Abs@aux]]<>"\nUsando Mathematica: "<> ToString@ TraditionalForm[(("f")^("("<>ToString[u]<>")"))[punto]]<>" = "<>ToString[resp[D[f[x], {x, u}]/.x->punto]];
Clear[f];
aux
];
Dynamic@SuFunc
)]],"Text"]]

CloudDeploy[cdf,Permissions->"Public"]