Question: Create a matrix that records taking three trips in your car where each trip has a row name of the destination. The columns of the

Create a matrix that records taking three trips in your car where each trip has a row name of the destination. The columns of the matrix should indicate the miles you drove, the number of gallons of gas you used and the cost of gas per gallon. Label these appropriately. Enter some numbers that you feel are reasonable for each of the three trips. Now calculate:

  1. the cost of each trip
  2. the total distance for the three trips
  3. the average distance on the three trips
  4. the average cost per gallon of gas for the three trips
  5. the cost per mile for the three trips
  6. convert the miles in your matrix to kilometers (1 mile = 1.67 kilometers) using matrix multiplication (Hint: build a matrix that only changes the miles column)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!