Cost and managerial accounting