This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %driven, and the price of one gallon of gas. %usage: [total_cost_of_gas]=calcGas(distance_in_miles,miles_per_gallon_of_ve %hicle,price_of_gallon_of_gas) total_cost_of_gas=(distance_in_miles./miles_per_gallon_of_vehicle).*price_of_gallon _of_gas;...
View Full Document
This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Institute of Technology.
- Spring '08