I have 2 questions:a) are we supposed to take the derivative of g(x) as g' or an expansion of f'?b) Are we really supposed to plot log(x) for negative x?Fabian
Fabian, I did it for positive values only although matlab give values for negative values of log which is wrong because it does not exist. Lian
Fabian,You want to approximate f(x). So, g(x) is a second-order Taylor expansion of f(x). And obviously, if f(x) is defined only over R+, then do the plot for x in (0,5].MT
Ooops, again! My mistake. I have uploaded a new version of Problem Set 4 that takes care of Manuel's suggestion. Sorry!
I have 2 questions:
ReplyDeletea) are we supposed to take the derivative of g(x) as g' or an expansion of f'?
b) Are we really supposed to plot log(x) for negative x?
Fabian
Fabian, I did it for positive values only although matlab give values for negative values of log which is wrong because it does not exist.
ReplyDeleteLian
Fabian,
ReplyDeleteYou want to approximate f(x). So, g(x) is a second-order Taylor expansion of f(x). And obviously, if f(x) is defined only over R+, then do the plot for x in (0,5].
MT
Ooops, again! My mistake. I have uploaded a new version of Problem Set 4 that takes care of Manuel's suggestion. Sorry!
ReplyDelete