The volume when rotating about the y axis is
∫01 2π x f(x) dx =
∫01 2π x (n + x) dx =
n π x2 + 2/3 π x3 |01 =
n π + 2/3 π
The volume when rotating about the x axis is
∫01 π f2(x) dx =
∫01 π (n+x)2 dx =
π (n+x)3/3 |01 =
π (n+1)3/3 - π n3/3 =
πn2 + πn + π/3
Then, if the 2 volumes are alike,
n π + 2/3 π = πn2 + πn + π/3, or
1/3 π = πn2 or
1/3 = n2
As n is positive, n = √(1/3) = √3/3
Then, the volume is n π + 2/3 π = √3/3 π + 2/3 π = 3.9082