0

I am trying to replace derivatives with other functions. I expected

as = Association[fx -> dfx]
Derivative[1][fx][x] /. Derivative[1][y_][_] -> as[y]

to replace my derivative fx'(x) with a call to dfx. Instead, I am getting

Missing["KeyAbsent", fx]

What is the correct way to do this?

Marijnn
  • 287
  • 1
  • 7

0 Answers0