The Eco-Marathon is an annual competition sponsored by Shell Oil, in which participants build special vehicles to achieve the highest possible fuel efficiency. The Eco-Marathon is held around the world with events in the United Kingdom. Finland, France. Holland, Japan, and the United States.
A world record was set in the Eco-Marathon by a French team in 2003 called Microjoule with a performance of 10,705 miles per gallon. The Microjoule runs on ethanol, which has a specific gravity of 0.789. Write a MATLAB program to determine how far the Microjoule will travel in kilometers given a user-specified amount of ethanol, provided in units of grams. Your program should ask for the mass using an input statement and display the distance in a formatted sentence similar to the output shown below.
Sample Input/Output
Enter mass of ethanol [grams]: 100
The distance the Microjoule traveled is 577 kilometers.
Want to see the full answer?
Check out a sample textbook solutionChapter 17 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- The speed of your automobile has a huge effect on fuel consumption. Traveling at 65 miles per hour (mph) instead of 55 mph can consume almost 20% more fuel. As a general rule, for every mile per hour over 55, you lose 2% in fuel economy. For example, if your automobile gets 30 miles per gallon at 55 mph, the fuel consumption is 21 miles per gallon at 70 mph. If you take a 400-mile trip and your average speed is 80 mph rather than the posted speed limit of 70 mph, what is the extra cost of fuel if gasoline costs $4.00 per gallon? Your car gets 30 miles per gallon (mpg) at 60 mph.arrow_forwardFor the Following question Graph all 4 : [I just need all 4 graphs and please explain and make clean solution] Position vs time Velocity vs time Acceleration vs time Force vs time [For your convenience, I have solved the numerical solutions for the problem] (Please Look at the picture since it is much cleaner) Question : A 550 kilogram mass initially at rest acted upon by a force of F(t) = 50et Newtons. What are the acceleration, speed, and displacement of the mass at t = 4 second ? a =(50 e^t)/(550 ) [N/kg] v = ∫_0^t▒(50 e^t )dt/(550 )= v_0 +(50 e^t-50)/550=((e^t- 1))/11 x = ∫_0^t▒(e^t- 1)dt/(11 )= x_0 +(e^t- t - 1)/(11 ) a(4s)=(50*54.6)/550= 4.96[m/s^2 ] v(4s)=((e^4-1))/11= 4.87[m/s] x(4s)=((e^4- 4 - 1))/11= 4.51 [m]arrow_forwardMATLAB: Use a built-in MATLAB function to generate position vs. time data and plot the position of the vehicle with time for the entire journey. .arrow_forward
- MECHANICAL ENGINEERING UPVOTE WILL BE GIVEN. PLEASE WRITE THE COMPLETE SOLUTIONS LEGIBLY. SHOW THE STEP-BY-STEP PROCESS WITH SHORT COMMENT/EXPLANATION. ANSWER IN 4 DECIMAL PLACES. Two gaseous streams containing the same fluid enters a mixing chamber and leaves as a single stream. For the first gas the entrance conditions are A1=500 cm², v1=230 m/s, p1=1.60 kg/m³. For the second gas the entrance conditions are A2= 300 cm³, m2=8.84 kg/s, v2=0.502 m³/kg. The exit stream conditions is v3=130 m/s and v3=0.437 m3/kg. Determine the following: (a) the total mass flow leaving the chamber (kg/sec) (b) the velocity of the gas at 2. (m/sec)arrow_forwardTHERMODYNAMICS UPVOTE WILL BE GIVEN. PLEASE WRITE THE COMPLETE SOLUTIONS/DIAGRAMS LEGIBLY. NO LONG EXPLANATION NEEDED. USE 3 DECIMAL PLACES. BOX THE FINAL ANSWER. A pump discharges into a semi spherical tank at the bottom and cylindrical on top with a radius of 2 meters, and a total tank height of 8 meters. The flow rate is 80 gallons per minute and fluid specific gravity= 1.1. Determine the following: A) flow rate in kg/sec and time it takes to fill the tank in hours. B) the weight in tons of the liquid if full tank local gravity is 32.1 ft/sec squared. C) volume of the tank in metric gallons. D.) how many drums will be needed to transfer all of the tank contents (tank being full) to the drums?arrow_forwardEngr 215 Matlab Fahrenheit to Celsius using multiple statements Given a Fahrenheit value temperatureFahrenheit, write a statement that assigns temperatureCelsius with the equivalent Celsius value. While the equation is C = 5/9 * (F - 32), as an exercise use two statements, the first of which is "fractionalMultiplier = 5/9;"]arrow_forward
- A pendulum in your house swings from one side to the other in a span of 0.8 seconds. How long is the string that is attached to the mass?arrow_forwardA mercury thermometer, which has been on a table for some time, is registering the room temperature, 50°F. Suddenly, it is placed in a 395°F oil bath. The following data are obtained for the response of the thermometer. If after 10 seconds the thermometer reading is 176 F, determine the thermometer time constant. Round off the final ans to whole number Please show your complete solution and write readable.arrow_forwardTHERMODYNAMICS UPVOTE WILL BE GIVEN. PLEASE WRITE THE COMPLETE SOLUTIONS/DIAGRAMS LEGIBLY. NO LONG EXPLANATION NEEDED. USE 3 DECIMAL PLACES. BOX THE FINAL ANSWER. An airplane is cruising at an elevation of 35,000 feet from sea level. Determine the amount of gage pressure in bars needed to pressurize the airplane to simulate sea level conditions. The average atmospheric pressure on earth is mated as a function of altitude by the relation Patm = 101.325 (1- 0.02256z)5.256, where Patm is the atmospheric pressure in kPa and z is the altitude in km with z = 0 at sea level.arrow_forward
- THERMODYNAMICS UPVOTE WILL BE GIVEN. PLEASE WRITE THE COMPLETE SOLUTIONS/DIAGRAMS LEGIBLY. NO LONG EXPLANATION NEEDED. USE 3 DECIMAL PLACES. BOX THE FINAL ANSWER. A pump discharges into a semi spherical tank at the bottom and cylindrical on top with a radius of 2 meters, and a total tank height of 8 meters. The flow rate is 80 gallons per minute and fluid specific gravity= 1.1. Determine the following: A) flow rate in kg/sec and time it takes to fill the tank in hours. Flow Rate and Timearrow_forwardYou are the mechatronics engineer of a manufacturing plant. You decide to perform an analysis on a robot arm of the assembly line with the objective of optimizing its performance. After taking several readings of the speed of the arm’s end effector, you approximate its velocity to the function given below. v(t) = -t4 + 5t3 - 7t2 + 3t + 0.22 0 =< t =< 3 where the velocity is in ms-1 d) Knowing that the distance travelled by an object is the area under its velocity-time graph, determine the distance travelled by the end effector on the interval 0 =< t =< 1 by using the mid-ordinate rule. Simpson’s rule correct to 3 decimal places using four intervals. e) Calculate the same distance as in (d) above by using the appropriate definite integral. f) Compare the distances you calculated in (d) and (e) above and comment on the accuracy of the two methods you used in (d)arrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY