Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32751

polynomial function

$
0
0


An expression tree is a binary tree in which all leaves are

operands (constants or variables), and the non-leaf nodes are binary operators (+,-,/,*,^). Implement this tree to model polynomials with the basic methods of the tree including the following:

a) A function that calculates the first derivative of a polynomial

b) Evaluate a polynomial for a given value of

x.


Viewing all articles
Browse latest Browse all 32751

Trending Articles