Function For Revenue And Profit