Trying to create a function that takes in a demand schedule and adds a column in the data frame that has elasticity at each point. If you run my code below, you get a data f