Plot1 complete

completed code and generated graph