# What does the 'sqrt' equation mean?

**URL:** <https://discourse.processing.org/t/what-does-the-sqrt-equation-mean/32875>\
**Category:** Beginners\
**Created:** [October 17, 2021, 1:41am UTC](https://discourse.processing.org/t/what-does-the-sqrt-equation-mean/32875 "2021-10-17T01:41:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [October 17, 2021, 6:21am UTC](https://discourse.processing.org/t/what-does-the-sqrt-equation-mean/32875/2 "2021-10-17T06:21:17Z")

</div>

Hi and welcome

This might explain how to us it

> [@Terrain Generation](https://discourse.processing.org/t/terrain-generation/28740):
>
> hi all how to make this shape if any one can help [1-norm] i found this equation : centerpoint (x1, y1) and a radius r, the height of the hill at the point (x2, y2) is equivalent to: [equation] how to use it to form this terrain can and how if i can using it in this code // Daniel Shiffman // http://codingtra.in // http://patreon.com/codingtrain // Code for: https://youtu.be/IKB1hWWedMk int cols, rows; int scl = 20; int w = 2000; int h = 1600; float flying = 0; float[][] terrain; voi…

---

_[View the full topic](https://discourse.processing.org/t/what-does-the-sqrt-equation-mean/32875)._
