Find a function of depth with respect to time when filling a cone












0












$begingroup$


The task is about filling containers of different shape (cone, sphere, etc) – to find a function of depth $h(t)$ when filling a container with a constant rate of liquid supply.



The problem is that all the tutorials I've seen split into two groups: the ones that show calculations but no charts, and the ones that show just charts, with no math background.



So, let's start with an inverted cone. All the pictures that show up in google are showing non-linear functions, which is natural to me – the time to fill the cone increases as the height of the cone increases: image. That chart looks like some kind of $f(x)=sqrt{x}$ function.



But in tutorials with math only, folks come up with some constant rate (for instance, $frac{dh}{dt} = frac{1}{pi}$ $ft/sec$) at some instance of time. But how would I find a function that represents that rate?



Currently, I'm stuck in here:



We are given several initial constants, such as radius and height – $r$ and $h$. Also we are given the constant liquid supply rate $c$ ($ft^3 s^{-1}$). Cone volume function is $V = frac{1}{3}pi r^2 h$



To find $h'(t)$, one has to solve an equation: $frac{dV}{dt} = frac{dh}{dt} frac{d}{dh} [frac{1}{3} pi r^2 h]$.



Let's say $r=h$, then the equation would look like:



$frac{dV}{dt} = frac{dh}{dt} frac{d}{dh} [frac{1}{3} pi h^3]$



If $frac{dV}{dt} = c$, then



$c = frac{dh}{dt} pi h^2$



Therefore $frac{dh}{dt} = frac{c}{pi h^2}$ where h is also a constant.



So we come up with some constant value, which is a derivative of $h(t)$. We need to find a function that represents that rate. Thus, by integrating that value, we get $h(t) = int{h'(t)dt}$. But by doing so, we receive a linear function $h(t) = frac{c}{pi h^2} t$, which is obviously some kind of miscalculation – it can't be linear, because the time to fill the volume increases with height of cone.



Perhaps, I mixed up all the calculus concepts and did it all wrong, but the question remains: how to find a function that represents the rate of depth with respect to time in cone, and how the other folks came up with that kind of non-linear charts (image)?



In addition, what about the other shapes, such as sphere? Is the concept alike?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Do you mean how to find $h$ such that $h'=f(h)$?
    $endgroup$
    – Guacho Perez
    Dec 16 '18 at 19:11










  • $begingroup$
    I'm not sure what you mean... h is a function – why would you pass a height function inside some other function? I need to find h(t) with h'(t) given. I can't do it by simply integrating, cause it gives some weird result.
    $endgroup$
    – krlc
    Dec 16 '18 at 19:19
















0












$begingroup$


The task is about filling containers of different shape (cone, sphere, etc) – to find a function of depth $h(t)$ when filling a container with a constant rate of liquid supply.



The problem is that all the tutorials I've seen split into two groups: the ones that show calculations but no charts, and the ones that show just charts, with no math background.



So, let's start with an inverted cone. All the pictures that show up in google are showing non-linear functions, which is natural to me – the time to fill the cone increases as the height of the cone increases: image. That chart looks like some kind of $f(x)=sqrt{x}$ function.



But in tutorials with math only, folks come up with some constant rate (for instance, $frac{dh}{dt} = frac{1}{pi}$ $ft/sec$) at some instance of time. But how would I find a function that represents that rate?



Currently, I'm stuck in here:



We are given several initial constants, such as radius and height – $r$ and $h$. Also we are given the constant liquid supply rate $c$ ($ft^3 s^{-1}$). Cone volume function is $V = frac{1}{3}pi r^2 h$



To find $h'(t)$, one has to solve an equation: $frac{dV}{dt} = frac{dh}{dt} frac{d}{dh} [frac{1}{3} pi r^2 h]$.



Let's say $r=h$, then the equation would look like:



$frac{dV}{dt} = frac{dh}{dt} frac{d}{dh} [frac{1}{3} pi h^3]$



If $frac{dV}{dt} = c$, then



$c = frac{dh}{dt} pi h^2$



Therefore $frac{dh}{dt} = frac{c}{pi h^2}$ where h is also a constant.



So we come up with some constant value, which is a derivative of $h(t)$. We need to find a function that represents that rate. Thus, by integrating that value, we get $h(t) = int{h'(t)dt}$. But by doing so, we receive a linear function $h(t) = frac{c}{pi h^2} t$, which is obviously some kind of miscalculation – it can't be linear, because the time to fill the volume increases with height of cone.



Perhaps, I mixed up all the calculus concepts and did it all wrong, but the question remains: how to find a function that represents the rate of depth with respect to time in cone, and how the other folks came up with that kind of non-linear charts (image)?



In addition, what about the other shapes, such as sphere? Is the concept alike?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Do you mean how to find $h$ such that $h'=f(h)$?
    $endgroup$
    – Guacho Perez
    Dec 16 '18 at 19:11










  • $begingroup$
    I'm not sure what you mean... h is a function – why would you pass a height function inside some other function? I need to find h(t) with h'(t) given. I can't do it by simply integrating, cause it gives some weird result.
    $endgroup$
    – krlc
    Dec 16 '18 at 19:19














0












0








0





$begingroup$


The task is about filling containers of different shape (cone, sphere, etc) – to find a function of depth $h(t)$ when filling a container with a constant rate of liquid supply.



The problem is that all the tutorials I've seen split into two groups: the ones that show calculations but no charts, and the ones that show just charts, with no math background.



So, let's start with an inverted cone. All the pictures that show up in google are showing non-linear functions, which is natural to me – the time to fill the cone increases as the height of the cone increases: image. That chart looks like some kind of $f(x)=sqrt{x}$ function.



But in tutorials with math only, folks come up with some constant rate (for instance, $frac{dh}{dt} = frac{1}{pi}$ $ft/sec$) at some instance of time. But how would I find a function that represents that rate?



Currently, I'm stuck in here:



We are given several initial constants, such as radius and height – $r$ and $h$. Also we are given the constant liquid supply rate $c$ ($ft^3 s^{-1}$). Cone volume function is $V = frac{1}{3}pi r^2 h$



To find $h'(t)$, one has to solve an equation: $frac{dV}{dt} = frac{dh}{dt} frac{d}{dh} [frac{1}{3} pi r^2 h]$.



Let's say $r=h$, then the equation would look like:



$frac{dV}{dt} = frac{dh}{dt} frac{d}{dh} [frac{1}{3} pi h^3]$



If $frac{dV}{dt} = c$, then



$c = frac{dh}{dt} pi h^2$



Therefore $frac{dh}{dt} = frac{c}{pi h^2}$ where h is also a constant.



So we come up with some constant value, which is a derivative of $h(t)$. We need to find a function that represents that rate. Thus, by integrating that value, we get $h(t) = int{h'(t)dt}$. But by doing so, we receive a linear function $h(t) = frac{c}{pi h^2} t$, which is obviously some kind of miscalculation – it can't be linear, because the time to fill the volume increases with height of cone.



Perhaps, I mixed up all the calculus concepts and did it all wrong, but the question remains: how to find a function that represents the rate of depth with respect to time in cone, and how the other folks came up with that kind of non-linear charts (image)?



In addition, what about the other shapes, such as sphere? Is the concept alike?










share|cite|improve this question









$endgroup$




The task is about filling containers of different shape (cone, sphere, etc) – to find a function of depth $h(t)$ when filling a container with a constant rate of liquid supply.



The problem is that all the tutorials I've seen split into two groups: the ones that show calculations but no charts, and the ones that show just charts, with no math background.



So, let's start with an inverted cone. All the pictures that show up in google are showing non-linear functions, which is natural to me – the time to fill the cone increases as the height of the cone increases: image. That chart looks like some kind of $f(x)=sqrt{x}$ function.



But in tutorials with math only, folks come up with some constant rate (for instance, $frac{dh}{dt} = frac{1}{pi}$ $ft/sec$) at some instance of time. But how would I find a function that represents that rate?



Currently, I'm stuck in here:



We are given several initial constants, such as radius and height – $r$ and $h$. Also we are given the constant liquid supply rate $c$ ($ft^3 s^{-1}$). Cone volume function is $V = frac{1}{3}pi r^2 h$



To find $h'(t)$, one has to solve an equation: $frac{dV}{dt} = frac{dh}{dt} frac{d}{dh} [frac{1}{3} pi r^2 h]$.



Let's say $r=h$, then the equation would look like:



$frac{dV}{dt} = frac{dh}{dt} frac{d}{dh} [frac{1}{3} pi h^3]$



If $frac{dV}{dt} = c$, then



$c = frac{dh}{dt} pi h^2$



Therefore $frac{dh}{dt} = frac{c}{pi h^2}$ where h is also a constant.



So we come up with some constant value, which is a derivative of $h(t)$. We need to find a function that represents that rate. Thus, by integrating that value, we get $h(t) = int{h'(t)dt}$. But by doing so, we receive a linear function $h(t) = frac{c}{pi h^2} t$, which is obviously some kind of miscalculation – it can't be linear, because the time to fill the volume increases with height of cone.



Perhaps, I mixed up all the calculus concepts and did it all wrong, but the question remains: how to find a function that represents the rate of depth with respect to time in cone, and how the other folks came up with that kind of non-linear charts (image)?



In addition, what about the other shapes, such as sphere? Is the concept alike?







calculus integration ordinary-differential-equations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 16 '18 at 19:03









krlckrlc

32




32












  • $begingroup$
    Do you mean how to find $h$ such that $h'=f(h)$?
    $endgroup$
    – Guacho Perez
    Dec 16 '18 at 19:11










  • $begingroup$
    I'm not sure what you mean... h is a function – why would you pass a height function inside some other function? I need to find h(t) with h'(t) given. I can't do it by simply integrating, cause it gives some weird result.
    $endgroup$
    – krlc
    Dec 16 '18 at 19:19


















  • $begingroup$
    Do you mean how to find $h$ such that $h'=f(h)$?
    $endgroup$
    – Guacho Perez
    Dec 16 '18 at 19:11










  • $begingroup$
    I'm not sure what you mean... h is a function – why would you pass a height function inside some other function? I need to find h(t) with h'(t) given. I can't do it by simply integrating, cause it gives some weird result.
    $endgroup$
    – krlc
    Dec 16 '18 at 19:19
















$begingroup$
Do you mean how to find $h$ such that $h'=f(h)$?
$endgroup$
– Guacho Perez
Dec 16 '18 at 19:11




$begingroup$
Do you mean how to find $h$ such that $h'=f(h)$?
$endgroup$
– Guacho Perez
Dec 16 '18 at 19:11












$begingroup$
I'm not sure what you mean... h is a function – why would you pass a height function inside some other function? I need to find h(t) with h'(t) given. I can't do it by simply integrating, cause it gives some weird result.
$endgroup$
– krlc
Dec 16 '18 at 19:19




$begingroup$
I'm not sure what you mean... h is a function – why would you pass a height function inside some other function? I need to find h(t) with h'(t) given. I can't do it by simply integrating, cause it gives some weird result.
$endgroup$
– krlc
Dec 16 '18 at 19:19










1 Answer
1






active

oldest

votes


















0












$begingroup$

Remember that $h$ is a function of $t,$ so we can't assume that $$intfrac{c}{pi h^2},dt=frac{c}{pi h^2}t,$$ as would be the case if $h$ were not a function of $t.$ Instead, we need to rearrange a bit, to get $$h^2frac{dh}{dt}=frac{c}{pi}.$$ Observing that $h^2=frac{d}{dh}left[frac13h^3right],$ then by Chain Rule, we can rewrite the equation above as $$frac{d}{dt}left[frac13h^3right]=frac{c}{pi},$$ so that $$frac13h^3=frac{c}pi t+K$$ for some constant $K.$ Assuming that $h(0)=0,$ the $K$ must be $0,$ so that $$h(t)=sqrt[3]{frac{3ct}pi}.$$






share|cite|improve this answer









$endgroup$













    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f3043018%2ffind-a-function-of-depth-with-respect-to-time-when-filling-a-cone%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0












    $begingroup$

    Remember that $h$ is a function of $t,$ so we can't assume that $$intfrac{c}{pi h^2},dt=frac{c}{pi h^2}t,$$ as would be the case if $h$ were not a function of $t.$ Instead, we need to rearrange a bit, to get $$h^2frac{dh}{dt}=frac{c}{pi}.$$ Observing that $h^2=frac{d}{dh}left[frac13h^3right],$ then by Chain Rule, we can rewrite the equation above as $$frac{d}{dt}left[frac13h^3right]=frac{c}{pi},$$ so that $$frac13h^3=frac{c}pi t+K$$ for some constant $K.$ Assuming that $h(0)=0,$ the $K$ must be $0,$ so that $$h(t)=sqrt[3]{frac{3ct}pi}.$$






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      Remember that $h$ is a function of $t,$ so we can't assume that $$intfrac{c}{pi h^2},dt=frac{c}{pi h^2}t,$$ as would be the case if $h$ were not a function of $t.$ Instead, we need to rearrange a bit, to get $$h^2frac{dh}{dt}=frac{c}{pi}.$$ Observing that $h^2=frac{d}{dh}left[frac13h^3right],$ then by Chain Rule, we can rewrite the equation above as $$frac{d}{dt}left[frac13h^3right]=frac{c}{pi},$$ so that $$frac13h^3=frac{c}pi t+K$$ for some constant $K.$ Assuming that $h(0)=0,$ the $K$ must be $0,$ so that $$h(t)=sqrt[3]{frac{3ct}pi}.$$






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        Remember that $h$ is a function of $t,$ so we can't assume that $$intfrac{c}{pi h^2},dt=frac{c}{pi h^2}t,$$ as would be the case if $h$ were not a function of $t.$ Instead, we need to rearrange a bit, to get $$h^2frac{dh}{dt}=frac{c}{pi}.$$ Observing that $h^2=frac{d}{dh}left[frac13h^3right],$ then by Chain Rule, we can rewrite the equation above as $$frac{d}{dt}left[frac13h^3right]=frac{c}{pi},$$ so that $$frac13h^3=frac{c}pi t+K$$ for some constant $K.$ Assuming that $h(0)=0,$ the $K$ must be $0,$ so that $$h(t)=sqrt[3]{frac{3ct}pi}.$$






        share|cite|improve this answer









        $endgroup$



        Remember that $h$ is a function of $t,$ so we can't assume that $$intfrac{c}{pi h^2},dt=frac{c}{pi h^2}t,$$ as would be the case if $h$ were not a function of $t.$ Instead, we need to rearrange a bit, to get $$h^2frac{dh}{dt}=frac{c}{pi}.$$ Observing that $h^2=frac{d}{dh}left[frac13h^3right],$ then by Chain Rule, we can rewrite the equation above as $$frac{d}{dt}left[frac13h^3right]=frac{c}{pi},$$ so that $$frac13h^3=frac{c}pi t+K$$ for some constant $K.$ Assuming that $h(0)=0,$ the $K$ must be $0,$ so that $$h(t)=sqrt[3]{frac{3ct}pi}.$$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 16 '18 at 19:21









        Cameron BuieCameron Buie

        85.6k772160




        85.6k772160






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3043018%2ffind-a-function-of-depth-with-respect-to-time-when-filling-a-cone%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Plaza Victoria

            Puebla de Zaragoza

            Musa