Math — Plot: Area Under a Curve
The definite integral as the shaded area under y = x^2.
Rendering…
Make it your own.
{
"data": [
{"type":"scatter","mode":"lines","name":"y = x^2","fill":"tozeroy","line":{"color":"#0891b2","width":3},
"x":[0,0.5,1,1.5,2,2.5,3,3.5,4],"y":[0,0.25,1,2.25,4,6.25,9,12.25,16]}
],
"layout": {"title":"Area under y = x^2 from 0 to 4","xaxis":{"title":"x"},"yaxis":{"title":"y"}}
}