While this approach feels more complicated than plotting functions you might find in a spreadsheet program ... and then try ...