Area Under a Snowflake

Ever want to calculate the area under a curve in SQL? I know, I know.. who hasn’t right? It’s pretty straightforward to approximate the area under a curve in SQL…