# [Desmos](https://www.desmos.com/api/v1.5/docs/index.html "Desmos")
Desmos is the dead-simple way to embed rich, interactive math into your web page or web app.
## Installation and usage
The easiest way to use **desmos** is to install it from npm and build it into your app with Webpack.

`npm install desmos --save`

Then use it in your app:
```javascript
import Desmos from 'desmos'

const elt = document.createElement('div')
elt.style.width = '600px'
elt.style.height = '400px'

const calculator = Desmos.GraphingCalculator(elt)
calculator.setExpression({ id: 'graph1', latex: 'y=x^2' })

document.body.prepend(elt)
```

![desmos-example-1](https://user-images.githubusercontent.com/36731196/76689557-6ec45980-6650-11ea-8fff-55dbf71a04c7.png)

------------


### [Demo](https://www.desmos.com/calculator "Demo")
[https://www.desmos.com/calculator](https://www.desmos.com/calculator "https://www.desmos.com/calculator")
### [Docs](https://www.desmos.com/api/v1.5/docs/index.html "Docs")
[https://www.desmos.com/api/v1.5/docs/index.html](https://www.desmos.com/api/v1.5/docs/index.html "https://www.desmos.com/api/v1.5/docs/index.html")
