function cost = road_trip_cost ( mpg, miles, gas_price )

  gallons = miles / mpg;
  cost = gallons * gas_price;

  return
end

