You are on page 1of 2

RoyScience HW

Take the first equation, solve for y.


In[1]:= Solve[4 x^2 y 4, y]
Out[1]= y 4 1 x
2

Same with the second.


In[2]:= Solve[x^4 y 1, y]
Out[2]= y 1 x
4

Make a plot of the two for fun. Note they intersect around 1 and -1.
In[4]:= Plot]]4 [1 x
2
|, 1 x
4
), {x, 1, 1}
Out[4]=
1.0 0.5 0.5 1.0
1
1
2
3
4
Find the exact intersection points.
In[5]:= Solve]4 [1 x
2
| 1 x
4
, x
Out[5]= x 1, x 1, x 5 , x 5
1 and -1 confirmed.
Perform an integral of the top line between -1 and 1. This gives the area below the curve to the x axis.
In[6]:= Integrate]4 [1 x
2
|, {x, 1, 1}
Out[6]=
16
3
Now the second integral will give the area above the red line to the x axis.
In[7]:= Integrate]1 x
4
, {x, 1, 1}
Out[7]=
8
5
Subtract the two (iunder the x axis gives negative area:
Printed by Mathematica for Students
In[9]:=
16
3

8
5
Out[9]=
104
15
In[10]:=
104
15
// N
Out[10]= 6.93333
Your answer.
2 Unt it le d- 2
Printed by Mathematica for Students

You might also like