yup, youre right i was making a stupid mistake, i just totally left out the last step.
i just plugged arccos(r^2) in for theta after integrating and got pi as the correct answer. thanks for all of your help.
i don't know if this will help your problem at all but I am also new to c++ and i have just gotten in the habit of including: "#include <cstdlib>" ; and "using namespace std". in all of my programs
I have been bashing my head against this problem for a couple of hours now and cannot for the life of me figure it out. i am able to get AN answer but when i check it with my calculator i always get pi
Homework Statement
integral from (0, 1) of:
(4r*dr)/sqrt(1 - r^4)
Homework...