Find the volume of ice cream cone using cylindrical/spherical coordinates

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'm stuck on what the boundaries are for the volume bounded by the cone $z=-sqrt(x^2+y^2)$ and the surface $z=-sqrt(9-x^2-y^2)$ $,,$-essentially an upside down ice cream cone



Remember that $r^2=x^2+y^2$



I assumed for cylindrical coordinates the triple integral boundaries would be



$-sqrt(9-r^2)le z le -r$



$0le r le 3$



$0le theta le 2pi$



And for spherical coordinates the triple integral boundaries would be



$0le r le 3$



$pi/2le phi le pi$



$0le theta le 2pi$



However upon entering these values into MATLAB, the cylindrical coordinates integral equals to zero, whilst the spherical coordinates integral equals to $18pi$.



So somethings wrong with my boundaries, as both integrals should equal the same volume.



This is my working out for cylindrical coordinate integral so far:



$int_0^2piint_0^3int_-sqrt9-r^2^-r r,, dzdrdtheta$



$int_0^2piint_0^3 [rz]_-sqrt9-r^2^-r ,, dzdrdtheta$



$int_0^2piint_0^3 -r^2+rsqrt9-r^2 ,, dzdrdtheta$



$int_0^2pi[(int_0^3 -r^2 ,dr)+(int_0^3 rsqrt9-r^2 ,dr)]dtheta$



Let $u=9-r^2$



$du=-2r,dr$



$int_0^2pi[[frac-r^33]_0^3,-frac12int_0^3 u^frac12 ,du)],dtheta$



$int_0^2pi[-frac273,-frac12[frac23u^frac32]_r=0^r=3 ],dtheta$



$int_0^2pi[-9,-frac12[frac23(9-r^2)^frac32]_0^3 ],dtheta$



$int_0^2pi[-9,-frac12[frac23(9-3^2)^frac32,-frac23(9-0^2)^frac32] ],dtheta$



$int_0^2pi[-9,-frac12frac23[(9-9)^frac32,-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[(0)^frac32,-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[-27] ],dtheta$



$int_0^2pi[-9,+9],dtheta$



$int_0^2pi0,dtheta$



$=0$



So as you can see I can't proceed to the third integral since the second integral equals zero



Any help would be greatly appreciated :)







share|cite|improve this question




















  • Hi again. I don't think $18pi$ is correct either. Consider a sphere with radius of $3$. The volume would be $frac43pitimes3^3=36pi$. Your answer is half of this while your shape is clearly less than half a sphere. The reason for your spherical answer giving this is incorrect limits on $phi$. You should use $frac3pi4leqphileqpi$ as your cone has an angle of $fracpi4$. (I'll try to give you an actual answer once I get back to my computer.)
    – Ian Miller
    Apr 7 '16 at 8:23











  • Please, if you are ok, you can accept the answer and set it as solved. Thanks! cdn.sstatic.net/img/faq/faq-accept-answer.png
    – gimusi
    Feb 5 at 23:33















up vote
1
down vote

favorite












I'm stuck on what the boundaries are for the volume bounded by the cone $z=-sqrt(x^2+y^2)$ and the surface $z=-sqrt(9-x^2-y^2)$ $,,$-essentially an upside down ice cream cone



Remember that $r^2=x^2+y^2$



I assumed for cylindrical coordinates the triple integral boundaries would be



$-sqrt(9-r^2)le z le -r$



$0le r le 3$



$0le theta le 2pi$



And for spherical coordinates the triple integral boundaries would be



$0le r le 3$



$pi/2le phi le pi$



$0le theta le 2pi$



However upon entering these values into MATLAB, the cylindrical coordinates integral equals to zero, whilst the spherical coordinates integral equals to $18pi$.



So somethings wrong with my boundaries, as both integrals should equal the same volume.



This is my working out for cylindrical coordinate integral so far:



$int_0^2piint_0^3int_-sqrt9-r^2^-r r,, dzdrdtheta$



$int_0^2piint_0^3 [rz]_-sqrt9-r^2^-r ,, dzdrdtheta$



$int_0^2piint_0^3 -r^2+rsqrt9-r^2 ,, dzdrdtheta$



$int_0^2pi[(int_0^3 -r^2 ,dr)+(int_0^3 rsqrt9-r^2 ,dr)]dtheta$



Let $u=9-r^2$



$du=-2r,dr$



$int_0^2pi[[frac-r^33]_0^3,-frac12int_0^3 u^frac12 ,du)],dtheta$



$int_0^2pi[-frac273,-frac12[frac23u^frac32]_r=0^r=3 ],dtheta$



$int_0^2pi[-9,-frac12[frac23(9-r^2)^frac32]_0^3 ],dtheta$



$int_0^2pi[-9,-frac12[frac23(9-3^2)^frac32,-frac23(9-0^2)^frac32] ],dtheta$



$int_0^2pi[-9,-frac12frac23[(9-9)^frac32,-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[(0)^frac32,-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[-27] ],dtheta$



$int_0^2pi[-9,+9],dtheta$



$int_0^2pi0,dtheta$



$=0$



So as you can see I can't proceed to the third integral since the second integral equals zero



Any help would be greatly appreciated :)







share|cite|improve this question




















  • Hi again. I don't think $18pi$ is correct either. Consider a sphere with radius of $3$. The volume would be $frac43pitimes3^3=36pi$. Your answer is half of this while your shape is clearly less than half a sphere. The reason for your spherical answer giving this is incorrect limits on $phi$. You should use $frac3pi4leqphileqpi$ as your cone has an angle of $fracpi4$. (I'll try to give you an actual answer once I get back to my computer.)
    – Ian Miller
    Apr 7 '16 at 8:23











  • Please, if you are ok, you can accept the answer and set it as solved. Thanks! cdn.sstatic.net/img/faq/faq-accept-answer.png
    – gimusi
    Feb 5 at 23:33













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm stuck on what the boundaries are for the volume bounded by the cone $z=-sqrt(x^2+y^2)$ and the surface $z=-sqrt(9-x^2-y^2)$ $,,$-essentially an upside down ice cream cone



Remember that $r^2=x^2+y^2$



I assumed for cylindrical coordinates the triple integral boundaries would be



$-sqrt(9-r^2)le z le -r$



$0le r le 3$



$0le theta le 2pi$



And for spherical coordinates the triple integral boundaries would be



$0le r le 3$



$pi/2le phi le pi$



$0le theta le 2pi$



However upon entering these values into MATLAB, the cylindrical coordinates integral equals to zero, whilst the spherical coordinates integral equals to $18pi$.



So somethings wrong with my boundaries, as both integrals should equal the same volume.



This is my working out for cylindrical coordinate integral so far:



$int_0^2piint_0^3int_-sqrt9-r^2^-r r,, dzdrdtheta$



$int_0^2piint_0^3 [rz]_-sqrt9-r^2^-r ,, dzdrdtheta$



$int_0^2piint_0^3 -r^2+rsqrt9-r^2 ,, dzdrdtheta$



$int_0^2pi[(int_0^3 -r^2 ,dr)+(int_0^3 rsqrt9-r^2 ,dr)]dtheta$



Let $u=9-r^2$



$du=-2r,dr$



$int_0^2pi[[frac-r^33]_0^3,-frac12int_0^3 u^frac12 ,du)],dtheta$



$int_0^2pi[-frac273,-frac12[frac23u^frac32]_r=0^r=3 ],dtheta$



$int_0^2pi[-9,-frac12[frac23(9-r^2)^frac32]_0^3 ],dtheta$



$int_0^2pi[-9,-frac12[frac23(9-3^2)^frac32,-frac23(9-0^2)^frac32] ],dtheta$



$int_0^2pi[-9,-frac12frac23[(9-9)^frac32,-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[(0)^frac32,-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[-27] ],dtheta$



$int_0^2pi[-9,+9],dtheta$



$int_0^2pi0,dtheta$



$=0$



So as you can see I can't proceed to the third integral since the second integral equals zero



Any help would be greatly appreciated :)







share|cite|improve this question












I'm stuck on what the boundaries are for the volume bounded by the cone $z=-sqrt(x^2+y^2)$ and the surface $z=-sqrt(9-x^2-y^2)$ $,,$-essentially an upside down ice cream cone



Remember that $r^2=x^2+y^2$



I assumed for cylindrical coordinates the triple integral boundaries would be



$-sqrt(9-r^2)le z le -r$



$0le r le 3$



$0le theta le 2pi$



And for spherical coordinates the triple integral boundaries would be



$0le r le 3$



$pi/2le phi le pi$



$0le theta le 2pi$



However upon entering these values into MATLAB, the cylindrical coordinates integral equals to zero, whilst the spherical coordinates integral equals to $18pi$.



So somethings wrong with my boundaries, as both integrals should equal the same volume.



This is my working out for cylindrical coordinate integral so far:



$int_0^2piint_0^3int_-sqrt9-r^2^-r r,, dzdrdtheta$



$int_0^2piint_0^3 [rz]_-sqrt9-r^2^-r ,, dzdrdtheta$



$int_0^2piint_0^3 -r^2+rsqrt9-r^2 ,, dzdrdtheta$



$int_0^2pi[(int_0^3 -r^2 ,dr)+(int_0^3 rsqrt9-r^2 ,dr)]dtheta$



Let $u=9-r^2$



$du=-2r,dr$



$int_0^2pi[[frac-r^33]_0^3,-frac12int_0^3 u^frac12 ,du)],dtheta$



$int_0^2pi[-frac273,-frac12[frac23u^frac32]_r=0^r=3 ],dtheta$



$int_0^2pi[-9,-frac12[frac23(9-r^2)^frac32]_0^3 ],dtheta$



$int_0^2pi[-9,-frac12[frac23(9-3^2)^frac32,-frac23(9-0^2)^frac32] ],dtheta$



$int_0^2pi[-9,-frac12frac23[(9-9)^frac32,-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[(0)^frac32,-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[-(9)^frac32] ],dtheta$



$int_0^2pi[-9,-frac13[-27] ],dtheta$



$int_0^2pi[-9,+9],dtheta$



$int_0^2pi0,dtheta$



$=0$



So as you can see I can't proceed to the third integral since the second integral equals zero



Any help would be greatly appreciated :)









share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Apr 7 '16 at 8:15









AVelj

3610




3610











  • Hi again. I don't think $18pi$ is correct either. Consider a sphere with radius of $3$. The volume would be $frac43pitimes3^3=36pi$. Your answer is half of this while your shape is clearly less than half a sphere. The reason for your spherical answer giving this is incorrect limits on $phi$. You should use $frac3pi4leqphileqpi$ as your cone has an angle of $fracpi4$. (I'll try to give you an actual answer once I get back to my computer.)
    – Ian Miller
    Apr 7 '16 at 8:23











  • Please, if you are ok, you can accept the answer and set it as solved. Thanks! cdn.sstatic.net/img/faq/faq-accept-answer.png
    – gimusi
    Feb 5 at 23:33

















  • Hi again. I don't think $18pi$ is correct either. Consider a sphere with radius of $3$. The volume would be $frac43pitimes3^3=36pi$. Your answer is half of this while your shape is clearly less than half a sphere. The reason for your spherical answer giving this is incorrect limits on $phi$. You should use $frac3pi4leqphileqpi$ as your cone has an angle of $fracpi4$. (I'll try to give you an actual answer once I get back to my computer.)
    – Ian Miller
    Apr 7 '16 at 8:23











  • Please, if you are ok, you can accept the answer and set it as solved. Thanks! cdn.sstatic.net/img/faq/faq-accept-answer.png
    – gimusi
    Feb 5 at 23:33
















Hi again. I don't think $18pi$ is correct either. Consider a sphere with radius of $3$. The volume would be $frac43pitimes3^3=36pi$. Your answer is half of this while your shape is clearly less than half a sphere. The reason for your spherical answer giving this is incorrect limits on $phi$. You should use $frac3pi4leqphileqpi$ as your cone has an angle of $fracpi4$. (I'll try to give you an actual answer once I get back to my computer.)
– Ian Miller
Apr 7 '16 at 8:23





Hi again. I don't think $18pi$ is correct either. Consider a sphere with radius of $3$. The volume would be $frac43pitimes3^3=36pi$. Your answer is half of this while your shape is clearly less than half a sphere. The reason for your spherical answer giving this is incorrect limits on $phi$. You should use $frac3pi4leqphileqpi$ as your cone has an angle of $fracpi4$. (I'll try to give you an actual answer once I get back to my computer.)
– Ian Miller
Apr 7 '16 at 8:23













Please, if you are ok, you can accept the answer and set it as solved. Thanks! cdn.sstatic.net/img/faq/faq-accept-answer.png
– gimusi
Feb 5 at 23:33





Please, if you are ok, you can accept the answer and set it as solved. Thanks! cdn.sstatic.net/img/faq/faq-accept-answer.png
– gimusi
Feb 5 at 23:33











2 Answers
2






active

oldest

votes

















up vote
0
down vote













The surfaces intersect when
$$-r=-sqrt9-r^2$$
which is $r^2=frac92$, not $r^2=9$ as you have in your cylindrical attempt.



For spherical coordinates $phi$ should be from $frac34pi$ to $pi$. I believe the rest is correct, as long as you are writing $r^2=x^2+y^2+z^2$ in the spherical case. (It is common to call this $rho^2$ in order to distinguish it from $r^2=x^2+y^2$.)






share|cite|improve this answer



























    up vote
    0
    down vote













    In polar coordinates the set up of the integral should be



    $$int_0^2piint_-3^-frac3sqrt2int_0^sqrt9-z^2 r,, dzdrdtheta+int_0^2piint_-frac3sqrt2^0int_0^-z r,, dzdrdtheta$$






    share|cite|improve this answer






















      Your Answer




      StackExchange.ifUsing("editor", function ()
      return StackExchange.using("mathjaxEditing", function ()
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      );
      );
      , "mathjax-editing");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "69"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );








       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1731695%2ffind-the-volume-of-ice-cream-cone-using-cylindrical-spherical-coordinates%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      The surfaces intersect when
      $$-r=-sqrt9-r^2$$
      which is $r^2=frac92$, not $r^2=9$ as you have in your cylindrical attempt.



      For spherical coordinates $phi$ should be from $frac34pi$ to $pi$. I believe the rest is correct, as long as you are writing $r^2=x^2+y^2+z^2$ in the spherical case. (It is common to call this $rho^2$ in order to distinguish it from $r^2=x^2+y^2$.)






      share|cite|improve this answer
























        up vote
        0
        down vote













        The surfaces intersect when
        $$-r=-sqrt9-r^2$$
        which is $r^2=frac92$, not $r^2=9$ as you have in your cylindrical attempt.



        For spherical coordinates $phi$ should be from $frac34pi$ to $pi$. I believe the rest is correct, as long as you are writing $r^2=x^2+y^2+z^2$ in the spherical case. (It is common to call this $rho^2$ in order to distinguish it from $r^2=x^2+y^2$.)






        share|cite|improve this answer






















          up vote
          0
          down vote










          up vote
          0
          down vote









          The surfaces intersect when
          $$-r=-sqrt9-r^2$$
          which is $r^2=frac92$, not $r^2=9$ as you have in your cylindrical attempt.



          For spherical coordinates $phi$ should be from $frac34pi$ to $pi$. I believe the rest is correct, as long as you are writing $r^2=x^2+y^2+z^2$ in the spherical case. (It is common to call this $rho^2$ in order to distinguish it from $r^2=x^2+y^2$.)






          share|cite|improve this answer












          The surfaces intersect when
          $$-r=-sqrt9-r^2$$
          which is $r^2=frac92$, not $r^2=9$ as you have in your cylindrical attempt.



          For spherical coordinates $phi$ should be from $frac34pi$ to $pi$. I believe the rest is correct, as long as you are writing $r^2=x^2+y^2+z^2$ in the spherical case. (It is common to call this $rho^2$ in order to distinguish it from $r^2=x^2+y^2$.)







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Apr 7 '16 at 8:24









          David

          66.1k662125




          66.1k662125




















              up vote
              0
              down vote













              In polar coordinates the set up of the integral should be



              $$int_0^2piint_-3^-frac3sqrt2int_0^sqrt9-z^2 r,, dzdrdtheta+int_0^2piint_-frac3sqrt2^0int_0^-z r,, dzdrdtheta$$






              share|cite|improve this answer


























                up vote
                0
                down vote













                In polar coordinates the set up of the integral should be



                $$int_0^2piint_-3^-frac3sqrt2int_0^sqrt9-z^2 r,, dzdrdtheta+int_0^2piint_-frac3sqrt2^0int_0^-z r,, dzdrdtheta$$






                share|cite|improve this answer
























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  In polar coordinates the set up of the integral should be



                  $$int_0^2piint_-3^-frac3sqrt2int_0^sqrt9-z^2 r,, dzdrdtheta+int_0^2piint_-frac3sqrt2^0int_0^-z r,, dzdrdtheta$$






                  share|cite|improve this answer














                  In polar coordinates the set up of the integral should be



                  $$int_0^2piint_-3^-frac3sqrt2int_0^sqrt9-z^2 r,, dzdrdtheta+int_0^2piint_-frac3sqrt2^0int_0^-z r,, dzdrdtheta$$







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Feb 3 at 3:40

























                  answered Feb 3 at 3:20









                  gimusi

                  66.7k73685




                  66.7k73685






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1731695%2ffind-the-volume-of-ice-cream-cone-using-cylindrical-spherical-coordinates%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      這個網誌中的熱門文章

                      How to combine Bézier curves to a surface?

                      Mutual Information Always Non-negative

                      Why am i infinitely getting the same tweet with the Twitter Search API?