Calculating list of areas between the curves in an intersection regionintersection between function and...

How do I fight with Heavy Armor as a Wizard with Tenser's Transformation?

How do I make my single-minded character more interested in the main story?

Calculating list of areas between the curves in an intersection region

Why is Shelob considered evil?

Is it possible to detect 100% of SQLi with a simple regex?

How do I add a strong "onion flavor" to the biryani (in restaurant style)?

Is there any way to play D&D without a DM?

How can I give a Ranger advantage on a check due to Favored Enemy without spoiling the story for the player?

How can changes in personality/values of a person who turned into a vampire be explained?

Will the duration of traveling to Ceres using the same tech developed for going to Mars be proportional to the distance to go to Mars or not?

Is there a way to pause a running process on Linux systems and resume later?

Could a civilization in medieval fantasy world sustain itself by occupying important trade hubs and taxing trade?

What is the meaning of "usr"?

Is layered encryption more secure than long passwords?

1990s-2000s horror alien movie with slugs infecting people through the mouth

Boss asked me to sign a resignation paper without a date on it along with my new contract

What could cause an entire planet of humans to become aphasic?

Is the tritone (A4 / d5) still banned in Roman Catholic music?

Is the UK legally prevented from having another referendum on Brexit?

Manager has noticed coworker's excessive breaks. Should I warn him?

How to know if I am a 'Real Developer'

How can I handle players killing my NPC outside of combat?

Is the percentage symbol a constant?

How can I differentiate duration vs starting time



Calculating list of areas between the curves in an intersection region


intersection between function and planehow to find intersection between a parametric trajectoy and a pointHow to find the intersection of a Line with the boundary of a Region?How to get the intersection of three different curvesEquation for the line of intersection between two planesInserting cones at intersection points two curvesHalfplane region intersection anomalyIntersection between knot and planeDetermine intersection between a circle and list of data pointsFind/Plot intersection between interval/region and equations system













2












$begingroup$


I have 2 tables;



table 1:



ctr = {(Exp[Pi*0.5] + 1)/2, 0};
radius = (Exp[Pi*0.5] - 1)/2;
pp = PolarPlot[
Evaluate@Table[Exp[(t + 2*Pi*i/120)*0.5], {i, 1, 120}], {t, -Pi,
Pi}, RegionFunction -> (Norm[{#, #2} - ctr] <= radius &)]
Total[ArcLength /@ Cases[pp, _Line, All]]


spiral



and table 2:



ctr = {(Exp[Pi*0.5] - 1)/2, 0};
radius = (Exp[Pi*0.5] - 1)/2;
pp2 = ParametricPlot[
Evaluate[Table[{t, t (Tan[2 j Pi / 120])}, {j, 1, 60}]], {t, -5, 5},
RegionFunction -> (Norm[{#, #2} - ctr] <= radius &),
PlotRange -> All]
Total[ArcLength /@ Cases[pp2, _Line, All]]


Line



I want to calculate each area between the curves and show them in histogram so I can evaluate maximum and minimum gaps between the tables. I illustrated what I want as below:



gradient



can you show me how?










share|improve this question









$endgroup$

















    2












    $begingroup$


    I have 2 tables;



    table 1:



    ctr = {(Exp[Pi*0.5] + 1)/2, 0};
    radius = (Exp[Pi*0.5] - 1)/2;
    pp = PolarPlot[
    Evaluate@Table[Exp[(t + 2*Pi*i/120)*0.5], {i, 1, 120}], {t, -Pi,
    Pi}, RegionFunction -> (Norm[{#, #2} - ctr] <= radius &)]
    Total[ArcLength /@ Cases[pp, _Line, All]]


    spiral



    and table 2:



    ctr = {(Exp[Pi*0.5] - 1)/2, 0};
    radius = (Exp[Pi*0.5] - 1)/2;
    pp2 = ParametricPlot[
    Evaluate[Table[{t, t (Tan[2 j Pi / 120])}, {j, 1, 60}]], {t, -5, 5},
    RegionFunction -> (Norm[{#, #2} - ctr] <= radius &),
    PlotRange -> All]
    Total[ArcLength /@ Cases[pp2, _Line, All]]


    Line



    I want to calculate each area between the curves and show them in histogram so I can evaluate maximum and minimum gaps between the tables. I illustrated what I want as below:



    gradient



    can you show me how?










    share|improve this question









    $endgroup$















      2












      2








      2





      $begingroup$


      I have 2 tables;



      table 1:



      ctr = {(Exp[Pi*0.5] + 1)/2, 0};
      radius = (Exp[Pi*0.5] - 1)/2;
      pp = PolarPlot[
      Evaluate@Table[Exp[(t + 2*Pi*i/120)*0.5], {i, 1, 120}], {t, -Pi,
      Pi}, RegionFunction -> (Norm[{#, #2} - ctr] <= radius &)]
      Total[ArcLength /@ Cases[pp, _Line, All]]


      spiral



      and table 2:



      ctr = {(Exp[Pi*0.5] - 1)/2, 0};
      radius = (Exp[Pi*0.5] - 1)/2;
      pp2 = ParametricPlot[
      Evaluate[Table[{t, t (Tan[2 j Pi / 120])}, {j, 1, 60}]], {t, -5, 5},
      RegionFunction -> (Norm[{#, #2} - ctr] <= radius &),
      PlotRange -> All]
      Total[ArcLength /@ Cases[pp2, _Line, All]]


      Line



      I want to calculate each area between the curves and show them in histogram so I can evaluate maximum and minimum gaps between the tables. I illustrated what I want as below:



      gradient



      can you show me how?










      share|improve this question









      $endgroup$




      I have 2 tables;



      table 1:



      ctr = {(Exp[Pi*0.5] + 1)/2, 0};
      radius = (Exp[Pi*0.5] - 1)/2;
      pp = PolarPlot[
      Evaluate@Table[Exp[(t + 2*Pi*i/120)*0.5], {i, 1, 120}], {t, -Pi,
      Pi}, RegionFunction -> (Norm[{#, #2} - ctr] <= radius &)]
      Total[ArcLength /@ Cases[pp, _Line, All]]


      spiral



      and table 2:



      ctr = {(Exp[Pi*0.5] - 1)/2, 0};
      radius = (Exp[Pi*0.5] - 1)/2;
      pp2 = ParametricPlot[
      Evaluate[Table[{t, t (Tan[2 j Pi / 120])}, {j, 1, 60}]], {t, -5, 5},
      RegionFunction -> (Norm[{#, #2} - ctr] <= radius &),
      PlotRange -> All]
      Total[ArcLength /@ Cases[pp2, _Line, All]]


      Line



      I want to calculate each area between the curves and show them in histogram so I can evaluate maximum and minimum gaps between the tables. I illustrated what I want as below:



      gradient



      can you show me how?







      regions intersection






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 hours ago









      Alper91Alper91

      1235




      1235






















          1 Answer
          1






          active

          oldest

          votes


















          3












          $begingroup$

          You could define a ParametricRegion , examplary between curves #10 and #11



          reg10 = ParametricRegion[{{Cos[t], Sin[t]} Exp[(t + 2*Pi*ii/120)/2], (Sqrt[#.#] < radius) &[{Cos[t],Sin[t]} Exp[(t + 2*Pi*ii/120)/2] - ctr]}
          , {{t, -Pi, Pi}, {ii, 10, 11}}]
          DiscretizeRegion[reg10]


          enter image description here



          Area[DiscretizeRegion[reg10]]
          (*0.0592725*)





          share|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: "387"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f192068%2fcalculating-list-of-areas-between-the-curves-in-an-intersection-region%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









            3












            $begingroup$

            You could define a ParametricRegion , examplary between curves #10 and #11



            reg10 = ParametricRegion[{{Cos[t], Sin[t]} Exp[(t + 2*Pi*ii/120)/2], (Sqrt[#.#] < radius) &[{Cos[t],Sin[t]} Exp[(t + 2*Pi*ii/120)/2] - ctr]}
            , {{t, -Pi, Pi}, {ii, 10, 11}}]
            DiscretizeRegion[reg10]


            enter image description here



            Area[DiscretizeRegion[reg10]]
            (*0.0592725*)





            share|improve this answer









            $endgroup$


















              3












              $begingroup$

              You could define a ParametricRegion , examplary between curves #10 and #11



              reg10 = ParametricRegion[{{Cos[t], Sin[t]} Exp[(t + 2*Pi*ii/120)/2], (Sqrt[#.#] < radius) &[{Cos[t],Sin[t]} Exp[(t + 2*Pi*ii/120)/2] - ctr]}
              , {{t, -Pi, Pi}, {ii, 10, 11}}]
              DiscretizeRegion[reg10]


              enter image description here



              Area[DiscretizeRegion[reg10]]
              (*0.0592725*)





              share|improve this answer









              $endgroup$
















                3












                3








                3





                $begingroup$

                You could define a ParametricRegion , examplary between curves #10 and #11



                reg10 = ParametricRegion[{{Cos[t], Sin[t]} Exp[(t + 2*Pi*ii/120)/2], (Sqrt[#.#] < radius) &[{Cos[t],Sin[t]} Exp[(t + 2*Pi*ii/120)/2] - ctr]}
                , {{t, -Pi, Pi}, {ii, 10, 11}}]
                DiscretizeRegion[reg10]


                enter image description here



                Area[DiscretizeRegion[reg10]]
                (*0.0592725*)





                share|improve this answer









                $endgroup$



                You could define a ParametricRegion , examplary between curves #10 and #11



                reg10 = ParametricRegion[{{Cos[t], Sin[t]} Exp[(t + 2*Pi*ii/120)/2], (Sqrt[#.#] < radius) &[{Cos[t],Sin[t]} Exp[(t + 2*Pi*ii/120)/2] - ctr]}
                , {{t, -Pi, Pi}, {ii, 10, 11}}]
                DiscretizeRegion[reg10]


                enter image description here



                Area[DiscretizeRegion[reg10]]
                (*0.0592725*)






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 43 mins ago









                Ulrich NeumannUlrich Neumann

                8,956516




                8,956516






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematica 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%2fmathematica.stackexchange.com%2fquestions%2f192068%2fcalculating-list-of-areas-between-the-curves-in-an-intersection-region%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

                    Szabolcs (Ungheria) Altri progetti | Menu di navigazione48°10′14.56″N 21°29′33.14″E /...

                    Discografia di Klaus Schulze Indice Album in studio | Album dal vivo | Singoli | Antologie | Colonne...

                    How to make inet_server_addr() return localhost in spite of ::1/128RETURN NEXT in Postgres FunctionConnect to...