So I am relatively new to R and wanted to know if there is any way to get a result expressed in terms of exp(x). For example: I have the following code:
library(calculus)
f <- function(x, y) 2*exp(5*x+1*y)
taylor(f, var = c(x = 3, y = 6), order = 2)
Now the result of this looks something like:
$f
'(2637631468.96643) * 1 + (2637631469.04) * (y-6)^1 + (13188157344.5581) * (x-3)^1 + (1318815733.78693) * (y-6)^2 + (32970392681.9538) * (x-3)^2 + (13188156507.7521) * (x-3)^1*(y-6)^1'
Is there any way to get the result in the form of:
(294e30) * (x - 3) + (35e30) * y + ...
, i.e., in terms of e (Euler)?