Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

USE MATLAB TO ANSWER!! Please follow instructions as stated in the question! Task: Ft. Lauderdale International Airport (FLL) is getting a new fuel tanker truck

USE MATLAB TO ANSWER!!
Please follow instructions as stated in the question!
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Task: Ft. Lauderdale International Airport (FLL) is getting a new fuel tanker truck to speed up refueling operations. The fuel tank of the truck is a horizontal cylinder shown in the figure below. The height of liquid in the tank is measured. FLL Airport Operations Supervisor Ashamanie Heslop tasks you with developing a model of the available fuel in tanker as a function of the liquid height. Since aircraft report their fuel needs in mass ( kg ) instead of volume, (liter) a conversion between the two will be needed. Assume that Jet A1 fuel has a density of 775kg/m3. Question 1 (3pt): Write a MATLAB function file that will calculate the mass fuel in the tank as a function of fuel height. ( h ) Include a decisional structure that issues warnings if the fluid height is zero and higher than the tank. (It is bad to spill jet fuel!) Be sure to add the reference of where you got your volume equation from in the comments. Question 2 (2pts): Write an m-file to makes plots of the fuel mass as a function of liquid height (h) by calling the function you wrote in question 1 . The tank length and radius must be declared as variables and passed to the function file. Include a concise title for the plot, label both axis in the plot including units and add grid lines. Question 3(0.5pt) : Use the MATLAB 'Publish' function to make a pdf-file for submission. Make sure all your code (script file, function file) and outputs are included in this file. Question 4(0.5pt) : Ashamanie Heslop asks you to comment on the shape of the curve that is generated by your analysis. Can you explain to him how the curve shape reflects what is happening as the fluid height changes? Commenting (1pt) Provide detailed comments on what is happening with your code and what your reasoning was for writing the different lines of code. Include units for all quantities you are using. These comments should be in the code. Extra Credit (1pt) In addition to the plot generated in part 2, make two additional plots: 1) detailed plot from 0 to 0.1m fuel height and 2) detailed plot from 2.1 to 2.5m fuel height. Choose the appropriate y-scaling for each detailed plot. Put all three plots in the same figure window. Make sure all plots have the correct title, axis labels with units and gridlines. Criteria for Success: To get full credit for this assignment you will have to include the following - Detailed comments - Correct Decision structure in code - Call of function file within script file - Plots that are correctly labeled and shows a physically correct function - Unaltered output from the publish function (pdffile) that includes the m-file and function codes as well as figures Note: part 4 can be submitted as separate pdf files from parts 1&2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students explore these related Databases questions