1 25 Points Write Matlab Function Called Tripcost Following Form Function Totalcost Indivi Q37235562

1. (25 points) Write a MATLAB function called tripCost with the following form function (totalcost, individualcost] tripcost(1. (25 points) Write a MATLAB function called tripCost with the following form function (totalcost, individualcost] tripcost(aileRate) end This function is used to help employees of your company in submitting expense reports. The function arguments are defined as follows: The per-mile reimbursement rate in cents ($0.01) The total cost of the trip in dollars The per-person cost of the trip in dollars mileRate . Input 1: Output 1: totalCost Output 2: individualCost The function should do the following: 1. Ask the

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.