How Do You Apply Power Series to Evaluate Functions and Estimate Errors?

AI Thread Summary
The discussion focuses on applying power series to evaluate functions and estimate errors in two specific homework problems. The first problem involves evaluating the function f(x) = 1/√(1+x^4) - cos(x^2) at x=0.01, where the initial analysis suggests that the power series expansion results in zero, raising questions about potential misinterpretation. The second problem addresses finding a two-term approximation and error bound for the integral of e^(-x^2) over the interval 0<t<0.1, with participants discussing the correct approach to integrate and approximate the function. Key points include the use of McLaurin series for e^x and the importance of understanding the limits of integration. Overall, the thread emphasizes the challenges of applying power series in these contexts and seeks clarity on the methods involved.
kreil
Science Advisor
Insights Author
Messages
665
Reaction score
68
I'm having trouble with a few homework problems, so here are the problems and my thoughts.

Homework Statement


Use the power series to evaluate the function
f(x)= \frac{1}{\sqrt{1+x^4}}-cos(x^2)
at x=0.01. Use the first two terms in the series to approximate the function, but estimate the error introduced by truncating the series.

The attempt at a solution
My main problem with this question is that it appears the function is equal to zero at, and in the neighborhood of, x=0. Also, the values of all the derivatives of the function are zero at x=0, so my power series expansion looks like this: f(x)=0. Am I missing something here, or is this really a "trick" question?

2. Homework Statement
Find a two term approximation and an error bound for the integral
\int_0^t e^{-x^2}dx
in the interval 0<t<0.1

The attempt at a solution
I'm not sure how to start this one...should I treat the integrand as the function or is the integral included? If the function is just the integrand, I don't see any problems. However, if the integral is included in the function then how would I proceed?

Any thoughts or hints you all could provide would be most appreciated. This HW is due tomorrow so quick replies are welcome!

Josh
 
Physics news on Phys.org
The first function is in first two aproximations always zero.
For the second i would suggest
\int_0^t e^{-x^2}dx = 0.5\int e^{-s}s^{-1/2}ds
then approximate e^{-s} which would lead to
0.5\int \sum_0^\infty((-1)^n (1/n!)s^{n})s^{-1/2}ds
which can be easily integrated
 
michalll said:
The first function is in first two aproximations always zero.
For the second i would suggest
\int_0^t e^{-x^2}dx = 0.5\int e^{-s}s^{-1/2}ds
then approximate e^{-s} which would lead to
0.5\int \sum_0^\infty((-1)^n (1/n!)s^{n})s^{-1/2}ds
which can be easily integrated

What formula did you use to convert the integral? Also, are the limits of integration the same? Where does the two term approximation come in? Is estimating the error in the expansion of the e-fcn enough?
 
I used McLaurin formula for e^x. The limits aren't the same but you can get back to x after integrating. The two term approximations means you use only two first terms in the sum. The sum is alternating so the error won't be greater than the absolute value of the third term in this case.
 
how would i go about switching back to x after the following:

0.5\int (1-s)s^{-1/2}ds=-\frac{\sqrt{s}}{3}(s-3)
 
The substitution used was s=x^{2}
 
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
Back
Top