How to Shade Rectangular Regions

calioranged shared this question 10 months ago
Answered

Apologies if this is a rather basic question, but I am new to GeoGebra and haven't been able to find an answer to this question elsewhere.


I have the following diagram:


fc66e13bd1c9ce01dcb96f3d9906b519


Which I would very much like to turn into this:


74cb0eec4cf7ee77402eefda020a1b63


Where the rectangular regions which sit above 0.4 on the y-axis are shaded.


I have tried using the following syntax to create this effect:


Integral(f(x), 0, 1)


But unfortunately, this doesn't quite produce the right result:


caa910eb07cab18d501221112d0f30ae


This had almost the desired effect, the only issue is that the area below 0.4 on the y-axis is also shaded.


Can anybody help me with this?

Comments (2)

photo
1

you can try integral(0.4,f,0,3)

or create rectangles

photo
1

You could also make a polygon using those points.

© 2021 International GeoGebra Institute