Optimal Piecewise Polynomial L2Approximation of Functions of One and Two Variables | Synapse