Thursday

July 2, 2015

July 2, 2015

Posted by **jessica** on Wednesday, February 16, 2011 at 6:59pm.

y=cos(x^2 +(100493/100000)), y=1+x-X^2

- calculus wxmaxima -
**MathMate**, Wednesday, February 16, 2011 at 7:22pmThe two curves intersect at

-0.4425 and 1.8018.

By integrating (numerically)

f(x)=cos(x^2 +(100493/100000)) - (1+x-x^2)

between the two roots, you would get the area as 1.99326.

The perimeter can be obtained by integrating the curve length of the separate curves between the same limits.

See for arc-length:

http://en.wikipedia.org/wiki/Arc_length

- calculus graph -
**MathMate**, Wednesday, February 16, 2011 at 7:26pmFor graph of function, see:

http://img20.imageshack.us/i/1297900781.png/

- calculus wxmaxima -
**jessica**, Wednesday, February 16, 2011 at 8:15pmThank you very much but i am still confused with the arc length or the circumference

- calculus wxmaxima -
**MathMate**, Wednesday, February 16, 2011 at 9:00pmTo find the curve length, we only need to integrate ds (incremental distance) between the given limits.

The expression of ds is basically the slant distance obtained by sqrt(dx²+dy²), so the integral is:

∫sqrt(1+(dy/dx)²dx

It gets a little messy unless the function is a polynomial, but calculating using numerical integration is rather easy, even for complicated functions.

For the cosine part of the function, the derivative should be done using the chain rule, and you should get:

dy/dx = -sin(x^2 +(100493/100000)) * 2x

Apply the integral above and integrate from -0.44 to 1.8 (approx.) to get about 3.4 as the arc length.

Check: Δx = 1.8-(-0.44)=2.24

3.4/2.24=1.5 approx. which is about sec(45°).

If you have other questions, just post.

- calculus wxmaxima -
**jessica**, Wednesday, February 16, 2011 at 9:42pmi understand but i just dont know how to plug it in wxmaxima is it possible if you can show me

thanks very much

- calculus wxmaxima -
**MathMate**, Wednesday, February 16, 2011 at 10:07pmDefine a function f(x) (to find arc-length)

f(x):=......

Find its derivative:

diff(f(x),x)

Copy and paste the result and assign it to another function, say f1(x):

f1(x):=....paste....

Go to the Calculus/integrate function.

For the integrand, input:

sqrt(1+f1(x)^2)

Input the limits of integration.

check the 'numerical integration' box.

leave the method as default, Romberg or the other one will both work. Best is try both and compare. This will give you an idea of the accuracy.

Click OK and wait.

Post if you could use further help.

- calculus wxmaxima -
**jessica**, Wednesday, February 16, 2011 at 10:21pmokay so for the first f(x) i plug in cos(x^2 +(100493/100000))find the derivative then do i do the same for y=y=1+x-X^2 ?

- calculus wxmaxima -
**MathMate**, Wednesday, February 16, 2011 at 10:36pmExactly! Repeat all the steps for the polynomial.

Since the two functions are to be integrated within the same interval, you are better off doing them separately.

- calculus wxmaxima -
**jessica**, Wednesday, February 16, 2011 at 10:54pmokay so i put y=1+x-X^2 found the derivative 1-2*x then i pluged that in into sqrt(1+1-2*x)^2) then i did the romberg thing so is this right i got -1.4336 for this one

- calculus wxmaxima -
**jessica**, Wednesday, February 16, 2011 at 11:01pmWEll THANKSSSS ALOTTTTTTTTTTTTTTTTT!

- calculus wxmaxima -
**MathMate**, Wednesday, February 16, 2011 at 11:05pmDid your length for the cos function match mine at about 3.4?

Glad that everything worked out!

À la prochaine!

- calculus wxmaxima -
**MathMate**, Wednesday, February 16, 2011 at 11:11pmOops, I don't think -1.4 is right for the polynomial.

Did you use sqrt(1+(dy/dx)^2)?

Your expression sqrt(1+1-2*x)^2) has a missing parenthesis.

I got 2.29 for the polynomial, and 3.4 for the cos function.