Ideally one that outputs exact value, not slightly off as a result of dx not truely being 0

function f(x, y){
   return y * Math.pow(x, 2) + x;

for example if i wanted to find the partial derivative of this function with respect to x

New contributor

Beluker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.