how is managerial economics related to mathematics