Skip to main content
added 2 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179

Updated answer.

The region between Sin[x] and Cos[x] is Min[Sin[x], Cos[x]] <= y <= Max[Sin[x], Cos[x]] instead of Sin[x] <= y <= Cos[x]

BTW, since $\max(f,g)-\min(f,g)=|f-g|$,that is why your integrate work.

$$ \int_a^b |f(x)-g(x)|\,\mathrm{d}x =\int_a^b \left [ \max(f(x),g(x))-\min(f(x),g(x))\right ]\,\mathrm{d}x$$

The set $$\{ (x,y) : \sin(x)\leq y\leq \cos(x) \} $$ is equivalent to $$\{ (x,y) : \sin(x) \leq y\; \text{and} \; y\leq \cos(x) \}$$ which implicitimplicitly satisfy a another condition say $\sin(x)\leq \cos(x)$

regionOne = 
      ImplicitRegion[Sin[x] <= y <= Cos[x], {{x, 0, 3/2 \[Pi]}, y}];
    regionTwo = 
      ImplicitRegion[
       Min[Sin[x], Cos[x]] <= y <= 
        Max[Sin[x], Cos[x]], {{x, 0, 3/2 \[Pi]}, y}];
    {{RegionPlot[regionOne], 
      RegionMeasure[regionone]}, {RegionPlot[regionTwo], 
      RegionMeasure[regionTwo]}}

enter image description here

+++++++++++++++++++++++++++++++++++++++++++++++

Original answer

 reg = ImplicitRegion[y <= x <= CubeRoot[y]^2 && -1 <= y <= 1, {x, y}]
RegionPlot[
 DiscretizeRegion[reg, MaxCellMeasure -> {"Length" -> 0.012}]]
    Integrate[1, Element[{x, y}, reg]]
    Integrate[CubeRoot[y]^2 - y, {y, -1, 1}]

enter image description here

Or

reg = ImplicitRegion[y^3 <= x^3 <= y^2 && -1 <= y <= 1, {x, y}]
Integrate[1, Element[{x, y}, reg]]

Updated answer.

The region between Sin[x] and Cos[x] is Min[Sin[x], Cos[x]] <= y <= Max[Sin[x], Cos[x]] instead of Sin[x] <= y <= Cos[x]

BTW, since $\max(f,g)-\min(f,g)=|f-g|$,that is why your integrate work.

$$ \int_a^b |f(x)-g(x)|\,\mathrm{d}x =\int_a^b \left [ \max(f(x),g(x))-\min(f(x),g(x))\right ]\,\mathrm{d}x$$

The set $$\{ (x,y) : \sin(x)\leq y\leq \cos(x) \} $$ is equivalent to $$\{ (x,y) : \sin(x) \leq y\; \text{and} \; y\leq \cos(x) \}$$ which implicit satisfy a another condition say $\sin(x)\leq \cos(x)$

regionOne = 
      ImplicitRegion[Sin[x] <= y <= Cos[x], {{x, 0, 3/2 \[Pi]}, y}];
    regionTwo = 
      ImplicitRegion[
       Min[Sin[x], Cos[x]] <= y <= 
        Max[Sin[x], Cos[x]], {{x, 0, 3/2 \[Pi]}, y}];
    {{RegionPlot[regionOne], 
      RegionMeasure[regionone]}, {RegionPlot[regionTwo], 
      RegionMeasure[regionTwo]}}

enter image description here

+++++++++++++++++++++++++++++++++++++++++++++++

Original answer

 reg = ImplicitRegion[y <= x <= CubeRoot[y]^2 && -1 <= y <= 1, {x, y}]
RegionPlot[
 DiscretizeRegion[reg, MaxCellMeasure -> {"Length" -> 0.012}]]
    Integrate[1, Element[{x, y}, reg]]
    Integrate[CubeRoot[y]^2 - y, {y, -1, 1}]

enter image description here

Or

reg = ImplicitRegion[y^3 <= x^3 <= y^2 && -1 <= y <= 1, {x, y}]
Integrate[1, Element[{x, y}, reg]]

Updated answer.

The region between Sin[x] and Cos[x] is Min[Sin[x], Cos[x]] <= y <= Max[Sin[x], Cos[x]] instead of Sin[x] <= y <= Cos[x]

BTW, since $\max(f,g)-\min(f,g)=|f-g|$,that is why your integrate work.

$$ \int_a^b |f(x)-g(x)|\,\mathrm{d}x =\int_a^b \left [ \max(f(x),g(x))-\min(f(x),g(x))\right ]\,\mathrm{d}x$$

The set $$\{ (x,y) : \sin(x)\leq y\leq \cos(x) \} $$ is equivalent to $$\{ (x,y) : \sin(x) \leq y\; \text{and} \; y\leq \cos(x) \}$$ which implicitly satisfy a another condition say $\sin(x)\leq \cos(x)$

regionOne = 
      ImplicitRegion[Sin[x] <= y <= Cos[x], {{x, 0, 3/2 \[Pi]}, y}];
    regionTwo = 
      ImplicitRegion[
       Min[Sin[x], Cos[x]] <= y <= 
        Max[Sin[x], Cos[x]], {{x, 0, 3/2 \[Pi]}, y}];
    {{RegionPlot[regionOne], 
      RegionMeasure[regionone]}, {RegionPlot[regionTwo], 
      RegionMeasure[regionTwo]}}

enter image description here

+++++++++++++++++++++++++++++++++++++++++++++++

Original answer

 reg = ImplicitRegion[y <= x <= CubeRoot[y]^2 && -1 <= y <= 1, {x, y}]
RegionPlot[
 DiscretizeRegion[reg, MaxCellMeasure -> {"Length" -> 0.012}]]
    Integrate[1, Element[{x, y}, reg]]
    Integrate[CubeRoot[y]^2 - y, {y, -1, 1}]

enter image description here

Or

reg = ImplicitRegion[y^3 <= x^3 <= y^2 && -1 <= y <= 1, {x, y}]
Integrate[1, Element[{x, y}, reg]]
edited body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179

Updated answer.

The region between Sin[x] and Cos[x] is Min[Sin[x], Cos[x]] <= y <= Max[Sin[x], Cos[x]] instead of Sin[x] <= y <= Cos[x]

BTW, since $\max(f,g)-\min(f,g)=|f-g|$,Thatthat is why your integrate work.

$$ \int_a^b |f(x)-g(x)|\,\mathrm{d}x =\int_a^b \left [ \max(f(x),g(x))-\min(f(x),g(x))\right ]\,\mathrm{d}x$$

The set $$\{ (x,y) : \sin(x)\leq y\leq \cos(x) \} $$ is equivalent to $$\{ (x,y) : \sin(x) \leq y\; \text{and} \; y\leq \cos(x) \}$$ which implicit satisfy a another condition say $\sin(x)\leq \cos(x)$

regionOne = 
      ImplicitRegion[Sin[x] <= y <= Cos[x], {{x, 0, 3/2 \[Pi]}, y}];
    regionTwo = 
      ImplicitRegion[
       Min[Sin[x], Cos[x]] <= y <= 
        Max[Sin[x], Cos[x]], {{x, 0, 3/2 \[Pi]}, y}];
    {{RegionPlot[regionOne], 
      RegionMeasure[regionone]}, {RegionPlot[regionTwo], 
      RegionMeasure[regionTwo]}}

enter image description here

+++++++++++++++++++++++++++++++++++++++++++++++

Original answer

 reg = ImplicitRegion[y <= x <= CubeRoot[y]^2 && -1 <= y <= 1, {x, y}]
RegionPlot[
 DiscretizeRegion[reg, MaxCellMeasure -> {"Length" -> 0.012}]]
    Integrate[1, Element[{x, y}, reg]]
    Integrate[CubeRoot[y]^2 - y, {y, -1, 1}]

enter image description here

Or

reg = ImplicitRegion[y^3 <= x^3 <= y^2 && -1 <= y <= 1, {x, y}]
Integrate[1, Element[{x, y}, reg]]

Updated answer.

The region between Sin[x] and Cos[x] is Min[Sin[x], Cos[x]] <= y <= Max[Sin[x], Cos[x]] instead of Sin[x] <= y <= Cos[x]

BTW, since $\max(f,g)-\min(f,g)=|f-g|$,That is why your integrate work.

$$ \int_a^b |f(x)-g(x)|\,\mathrm{d}x =\int_a^b \left [ \max(f(x),g(x))-\min(f(x),g(x))\right ]\,\mathrm{d}x$$

The set $$\{ (x,y) : \sin(x)\leq y\leq \cos(x) \} $$ is equivalent to $$\{ (x,y) : \sin(x) \leq y\; \text{and} \; y\leq \cos(x) \}$$ which implicit satisfy a another condition say $\sin(x)\leq \cos(x)$

regionOne = 
      ImplicitRegion[Sin[x] <= y <= Cos[x], {{x, 0, 3/2 \[Pi]}, y}];
    regionTwo = 
      ImplicitRegion[
       Min[Sin[x], Cos[x]] <= y <= 
        Max[Sin[x], Cos[x]], {{x, 0, 3/2 \[Pi]}, y}];
    {{RegionPlot[regionOne], 
      RegionMeasure[regionone]}, {RegionPlot[regionTwo], 
      RegionMeasure[regionTwo]}}

enter image description here

+++++++++++++++++++++++++++++++++++++++++++++++

Original answer

 reg = ImplicitRegion[y <= x <= CubeRoot[y]^2 && -1 <= y <= 1, {x, y}]
RegionPlot[
 DiscretizeRegion[reg, MaxCellMeasure -> {"Length" -> 0.012}]]
    Integrate[1, Element[{x, y}, reg]]
    Integrate[CubeRoot[y]^2 - y, {y, -1, 1}]

enter image description here

Or

reg = ImplicitRegion[y^3 <= x^3 <= y^2 && -1 <= y <= 1, {x, y}]
Integrate[1, Element[{x, y}, reg]]

Updated answer.

The region between Sin[x] and Cos[x] is Min[Sin[x], Cos[x]] <= y <= Max[Sin[x], Cos[x]] instead of Sin[x] <= y <= Cos[x]

BTW, since $\max(f,g)-\min(f,g)=|f-g|$,that is why your integrate work.

$$ \int_a^b |f(x)-g(x)|\,\mathrm{d}x =\int_a^b \left [ \max(f(x),g(x))-\min(f(x),g(x))\right ]\,\mathrm{d}x$$

The set $$\{ (x,y) : \sin(x)\leq y\leq \cos(x) \} $$ is equivalent to $$\{ (x,y) : \sin(x) \leq y\; \text{and} \; y\leq \cos(x) \}$$ which implicit satisfy a another condition say $\sin(x)\leq \cos(x)$

regionOne = 
      ImplicitRegion[Sin[x] <= y <= Cos[x], {{x, 0, 3/2 \[Pi]}, y}];
    regionTwo = 
      ImplicitRegion[
       Min[Sin[x], Cos[x]] <= y <= 
        Max[Sin[x], Cos[x]], {{x, 0, 3/2 \[Pi]}, y}];
    {{RegionPlot[regionOne], 
      RegionMeasure[regionone]}, {RegionPlot[regionTwo], 
      RegionMeasure[regionTwo]}}

enter image description here

+++++++++++++++++++++++++++++++++++++++++++++++

Original answer

 reg = ImplicitRegion[y <= x <= CubeRoot[y]^2 && -1 <= y <= 1, {x, y}]
RegionPlot[
 DiscretizeRegion[reg, MaxCellMeasure -> {"Length" -> 0.012}]]
    Integrate[1, Element[{x, y}, reg]]
    Integrate[CubeRoot[y]^2 - y, {y, -1, 1}]

enter image description here

Or

reg = ImplicitRegion[y^3 <= x^3 <= y^2 && -1 <= y <= 1, {x, y}]
Integrate[1, Element[{x, y}, reg]]
edited body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179

Updated answer.

The region between Sin[x] and Cos[x] is Min[Sin[x], Cos[x]] <= y <= Max[Sin[x], Cos[x]] instead of Sin[x] <= y <= Cos[x]

BTW, since $\max(f,g)-\min(f,g)=|f-g|$,That is why your integrate work.

$$ \int_a^b |f(x)-g(x)|\,\mathrm{d}x =\int_a^b \left [ \max(f(x),g(x))-\min(f(x),g(x))\right ]\,\mathrm{d}x$$

The set $$\{ (x,y) : \sin(x)\leq y\leq \cos(x) \} $$ is equivalent to $$\{ (x,y) : \sin(x) \leq y\, \text{and} \, y\leq \cos(x) \}$$$$\{ (x,y) : \sin(x) \leq y\; \text{and} \; y\leq \cos(x) \}$$ which implicit satisfy a another condition say $\sin(x)\leq \cos(x)$

regionOne = 
      ImplicitRegion[Sin[x] <= y <= Cos[x], {{x, 0, 3/2 \[Pi]}, y}];
    regionTwo = 
      ImplicitRegion[
       Min[Sin[x], Cos[x]] <= y <= 
        Max[Sin[x], Cos[x]], {{x, 0, 3/2 \[Pi]}, y}];
    {{RegionPlot[regionOne], 
      RegionMeasure[regionone]}, {RegionPlot[regionTwo], 
      RegionMeasure[regionTwo]}}

enter image description here

+++++++++++++++++++++++++++++++++++++++++++++++

Original answer

 reg = ImplicitRegion[y <= x <= CubeRoot[y]^2 && -1 <= y <= 1, {x, y}]
RegionPlot[
 DiscretizeRegion[reg, MaxCellMeasure -> {"Length" -> 0.012}]]
    Integrate[1, Element[{x, y}, reg]]
    Integrate[CubeRoot[y]^2 - y, {y, -1, 1}]

enter image description here

Or

reg = ImplicitRegion[y^3 <= x^3 <= y^2 && -1 <= y <= 1, {x, y}]
Integrate[1, Element[{x, y}, reg]]

Updated answer.

The region between Sin[x] and Cos[x] is Min[Sin[x], Cos[x]] <= y <= Max[Sin[x], Cos[x]] instead of Sin[x] <= y <= Cos[x]

BTW, since $\max(f,g)-\min(f,g)=|f-g|$,That is why your integrate work.

$$ \int_a^b |f(x)-g(x)|\,\mathrm{d}x =\int_a^b \left [ \max(f(x),g(x))-\min(f(x),g(x))\right ]\,\mathrm{d}x$$

The set $$\{ (x,y) : \sin(x)\leq y\leq \cos(x) \} $$ is equivalent to $$\{ (x,y) : \sin(x) \leq y\, \text{and} \, y\leq \cos(x) \}$$ which implicit satisfy a another condition say $\sin(x)\leq \cos(x)$

regionOne = 
      ImplicitRegion[Sin[x] <= y <= Cos[x], {{x, 0, 3/2 \[Pi]}, y}];
    regionTwo = 
      ImplicitRegion[
       Min[Sin[x], Cos[x]] <= y <= 
        Max[Sin[x], Cos[x]], {{x, 0, 3/2 \[Pi]}, y}];
    {{RegionPlot[regionOne], 
      RegionMeasure[regionone]}, {RegionPlot[regionTwo], 
      RegionMeasure[regionTwo]}}

enter image description here

+++++++++++++++++++++++++++++++++++++++++++++++

Original answer

 reg = ImplicitRegion[y <= x <= CubeRoot[y]^2 && -1 <= y <= 1, {x, y}]
RegionPlot[
 DiscretizeRegion[reg, MaxCellMeasure -> {"Length" -> 0.012}]]
    Integrate[1, Element[{x, y}, reg]]
    Integrate[CubeRoot[y]^2 - y, {y, -1, 1}]

enter image description here

Or

reg = ImplicitRegion[y^3 <= x^3 <= y^2 && -1 <= y <= 1, {x, y}]
Integrate[1, Element[{x, y}, reg]]

Updated answer.

The region between Sin[x] and Cos[x] is Min[Sin[x], Cos[x]] <= y <= Max[Sin[x], Cos[x]] instead of Sin[x] <= y <= Cos[x]

BTW, since $\max(f,g)-\min(f,g)=|f-g|$,That is why your integrate work.

$$ \int_a^b |f(x)-g(x)|\,\mathrm{d}x =\int_a^b \left [ \max(f(x),g(x))-\min(f(x),g(x))\right ]\,\mathrm{d}x$$

The set $$\{ (x,y) : \sin(x)\leq y\leq \cos(x) \} $$ is equivalent to $$\{ (x,y) : \sin(x) \leq y\; \text{and} \; y\leq \cos(x) \}$$ which implicit satisfy a another condition say $\sin(x)\leq \cos(x)$

regionOne = 
      ImplicitRegion[Sin[x] <= y <= Cos[x], {{x, 0, 3/2 \[Pi]}, y}];
    regionTwo = 
      ImplicitRegion[
       Min[Sin[x], Cos[x]] <= y <= 
        Max[Sin[x], Cos[x]], {{x, 0, 3/2 \[Pi]}, y}];
    {{RegionPlot[regionOne], 
      RegionMeasure[regionone]}, {RegionPlot[regionTwo], 
      RegionMeasure[regionTwo]}}

enter image description here

+++++++++++++++++++++++++++++++++++++++++++++++

Original answer

 reg = ImplicitRegion[y <= x <= CubeRoot[y]^2 && -1 <= y <= 1, {x, y}]
RegionPlot[
 DiscretizeRegion[reg, MaxCellMeasure -> {"Length" -> 0.012}]]
    Integrate[1, Element[{x, y}, reg]]
    Integrate[CubeRoot[y]^2 - y, {y, -1, 1}]

enter image description here

Or

reg = ImplicitRegion[y^3 <= x^3 <= y^2 && -1 <= y <= 1, {x, y}]
Integrate[1, Element[{x, y}, reg]]
added 197 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading
added 154 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading
added 79 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading
added 461 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading
edited body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading
added 194 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading
deleted 10 characters in body
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading
Source Link
cvgmt
  • 84.1k
  • 6
  • 97
  • 179
Loading