PhET does not currently have a mature library for graphs. A prototype called "bamboo" does exist, at https://github.com/phetsims/bamboo. But beware that this repository is in it's very early stages, and is likely to change.
If you decide to give bamboo a try, look at the examples in bamboo/js/demo/, especially DemoLinePlot.js. You'll need to compute points for your functions (there is no specific support for the functions that you mentioned), and those points will be an array of dot/js/Vector2 (2-D vectors). Pass that array to bamboo/js/LinePlot, which will handle rendering of the points. And you'll need to set some other things up before LinePlot can do the rendering -- again, look at the examples.
If you decide not to use bamboo, then you can use scenery/js/nodes/Path to render a kite/js/Shape. The API for Shape allows you to describe any 2-D shape. Again, you'll have to compute the points that describe the Shape.
I hope this helps,
Chris Malley
PixelZoom, Inc.