Using Taylor Expansions: how to impose 'large' approximations, i.e., "for large x"?
1 view (last 30 days)
Say I have a function:
and I want to see what happens in the region of large x, i.e., I Taylor expad f(x) in the region of large x and see how the functiuon changes. I Can do this on paper but how do I instruct matlab to take x as being say x>>a where a is small?
Walter Roberson on 5 Apr 2021
format long g
syms alpha x
f = sin(alpha*x)
fapprox(x) = taylor(f, x, 10000, 'order', 20)
fapprox_tenth(x) = simplify(subs(ans, alpha, 1/10))
That's a pretty good approximation
but that is not.