udibehar
(Ehud Behar)
1
I want to plot the region between the two functions as in the image below:
I tried
RegionPlot[ 11.61 + 3.555 x < y && y < 2.094 + 2.761 x, {x, 0, 20}, {y, 0, 80}]
but I get a blank plot.
Any idea why?
In Desmos this was achieved using
11.61+3.555x<y<2.094+2.761x
Both predicates cannot be satisfied. Have to invert
RegionPlot[11.61 + 3.555 x > y && y > 2.094 + 2.761 x, {x, 0, 20}, {y, 0, 80},
BoundaryStyle -> Dashed]
I want to plot the region between the two functions …
One more approach:
Plot[{11.61 + 3.555 x, 2.094 + 2.761 x}, {x, 0, 20},
PlotRange -> {0, 80}, AspectRatio -> 1,
PlotStyle -> Directive[Dashed, Blue], Filling -> {1 -> {2}},
FillingStyle -> Directive[Blue],
GridLines -> {Range[0, 100, 2], Range[0, 100, 5]}]