Question: Problem 3 Let g ( x ) = { x 2 - x - 1 . 5 x 2 c o s ( x )

Problem 3
Let
g(x)={x2-x-1.5x2cos(x)+sin(x)x2
a. Create the function and two sequences of values approaching to x=2 on both sides and plot them to see whether g(x) is continuous. If
the answer is not clear, try to make your sequence more precise.
def g(x):
if x2:
return x**-x-1.5
else:
return np.cos(x)+\operatorname{sin}(x)
g=np.vectorize(g)
b. Based on part a. try to guess whether the function is continuous or not at x=2.(For this part it is not important whether your guess is right
or wrong, but write why you think your answer is right)
Answer:
c. Use SymPy to find both left and right limit. Is the function continuous?
[15] Start coding or generate with AI.
#*
NameError
Traceback (most recent call last)
sipython-input-15-850a647c86f8> in
Problem 3 Let g ( x ) = { x 2 - x - 1 . 5 x < 2 c

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!