Coding assignment
I need to write those questions on matlab..
Meme MATLAB Assignment #1 Chapter 16, Review Question 8 8. 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 woeld 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 males per gallon. The Microjoule runs on ethanol. Write a MATLAB program to ermine low Nkrojoule will travel in kilometers given a user-specified amount of ethanol provided in units of grams For your test case, you may assume that the user provides 100 grams of ethanol. The specific gravity of ethanol is 0.789 Chapter 16, Review Question 9 9. Write a program to determine the mass of oxygen gas formulas Os molecular weight- 32 grams per mole) in units of the user will provide the volume of the container in units of gallons, the temperature in the container in degrees Celsius, and the pressure in the container in units of atmospheres. For your test case, you may assume that the user providies 1.25 gallons for the volume of the container, 125 degrees Celsius for the temperature, and 2.5 atmospheres for the in a container. You may assume that pressure in the container. Chapter 16, Review Question 11 11. Write a program to determine how long, in units of seconds, itwill take a motor to raise a load into the air. Assume the user will specity the power of the motor in units of watts, the rated efficiency as a pencentage (in whole mumber form-for example 50for 50%), the mass ofthe load in kilograms, and the heightthe load is raised in the air in units of meters. As a test case, you may assume the user peovides 100 watts for the power of the motor, 60% for the ethiency ofthe motor, 100 kilograms for the mass of the load, and 3 meters for the height the load is raised 2 o0o