public static XmlFormulaTree CreateCosNode(XmlFormulaTree child)
{
return new XmlFormulaTree
{
VariableType = "FUNCTION",
VariableValue = "COS",
LeftChild = child,
RightChild = null
};
}
public static XmlFormulaTree CreateTanNode(XmlFormulaTree child)