Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask MATLAB Expert

problem 1: Non-Ideal Gas (van der Waals equation): An equation of state for a non-ideal which is commonly used is the van der Waals equation for 1 mol of gas:
 
P = (R*T)/(V-b) - a/(V^2)

P = Pressure in Atmospheres 
R = 0.0821 Atm*Liters/Mol*Kelvin
T = Temperature in Kelvin 
V= Volume (in Liters)

The a and b values are:

Ideal Gas: a = 0, b = 0 (so it reduces to ideal gas equation)
Nitrogen: a = 16.4349 b = 0.0386 
Oxygen: a = 16.5896 b = 0.0318

A) For T = 300 K and V = 10L, find out the pressure for nitrogen and oxygen and compare the results with ideal gas

B) Plot the pressure for oxygen & nitrogen for a range of volumes from 0.1L to 10L (in steps of 0.05L) and compare to ideal gas.

C) Plot the ratio of the pressure of nitrogen to oxygen and note what happens as the gas is compressed to about 1 L. At this volume, the partial pressure of nitrogen would be much larger than that of oxygen. This is why a scuba diver must be careful when they dive too deep.

problem 2: Wind Chill Calculation

Both the temperature and wind speed combine to give a temperature called the wind chill. The "standard" formula used to find out wind chill (WC), for a given temperature (t, in degrees F) and wind speed (v, in MPH) is
 
WC = .0817*(3.71 * sqrt(v) + 5.81 -.25*v)*(t-91.4)+91.4 
 
This results in wind chill tables as below (linked from USA Today):

1341_wind chill tables.jpg

Use Matlab to do the following:

A) find out the wind chill (WC) for a temp & wind speed (and compare it to table to make sure it is correct)

B) What is the result for wind speed < 5 MPH

C) Make plot of WC versus wind speed:

  • Make a vector of wind speeds (from 5 - 40 MPH in steps of 5). 
  • find out WC for these speeds at a given temperature (will need to use array arithmetic).
  • Plot curve of WindSpeed versus WC for this temperature. 
  • find out WC for another temperature & overlay on this graph. 
  • Label your graph appropriately.

 

D) Repeat the step above by making a script file which:

  • Asks for Temperature. 
  • Creates a vector of wind speeds (5-40 MPH). 
  • find outs wind chill at this temp. 
  • Plots and labels the graph. 

 

E) Repeat the previous plot for speeds of 5 - 200 MPH and note what this means?

F) Make surface plot of WC versus wind speed & temperature:

  • Use meshgrid to find out table of WC versus wind speed & temp. 
  • Plot the surface. 

 

G) Print out WC table after appending on a row of wind speeds and column of temperatures.

H) Print out a subrange from 15-30 MPH.

I) Use the solve command to determine the wind speed needed to give a particular wind chill at a given temperature (or at given wind speed). 

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M91063

Have any Question? 


Related Questions in MATLAB

Question 1 a what is the period of the forced oscillation

Question 1. (a) What is the period of the forced oscillation? What is the numerical value (modulo 2Π) of the angle α defined by? (b) In this question you are asked to modify the file LAB06ex1.m in order to plot the compl ...

Problem 1 10pts the csu-chill radar made observations of

Problem 1 [10pts.]: The CSU-CHILL radar made observations of the Ponnequin Wind Farm located on the boarder of Wyoming and Colorado near I-25. The wind farm is approximately 62 km away from the radar. Complex valued digi ...

Instructions for each of the following exercise create an

Instructions: For each of the following exercise, create an M-file to store the MATLAB commands. Copy and paste the M-file into a text document. Include in the text document the pictures produced by MATLAB. Resize and cr ...

Use matlab to solve the following equations please i plot

Use Matlab to solve the following equations. Please (i) plot the solution as a function of t for t  ∈ [0, 100]. (ii) draw the phase diagram of the ODE. 1. dy/dt = y 2 + y with y(0) = 1         dy 1 /dt = y 2 2.           ...

Matlabproject descriptionwrite a mileage per gallons and

MATLAB Project description: Write a mileage per Gallons and miles per dollar calculator program using two functions, one to calculate MPG and one to calculate MPD. The application will prompt the user to type the odm rea ...

Plotting and computer animation in matlabinstructions for

Plotting and computer animation in MATLAB Instructions: For each of the following exercise, create an M-file to store the MATLAB commands. Copy and paste the M-file into a text document. For problems 1 and 2, include in ...

1 calculate the following for the function f x e-3x -

1) Calculate the following for the function f (x) = e -3x - 2x a. Calculate the derivative of the function by hand. Write a MATLAB function that calculates the derivative of this function and calculate the derivative at ...

Question 1backgroundyou have been asked to manage a project

QUESTION 1 Background You have been asked to manage a project to install a pipeline from an offshore gas platform to an onshore gas processing plant, and to find the cheapest design that is possible. The platform is Q km ...

Question 1backgroundclimate change is a change in global or

QUESTION 1 Background Climate change is a change in global or regional climate patterns, in particular a change apparent from the mid to late 20th century onwards and attributed largely to the increased levels of atmosph ...

Car parking systema building of 10 floors is used for

CAR PARKING SYSTEM A building of 10 floors is used for parking cars. The area of each floor can be used for parking 100 cars. An automatic parking system is used to detect which parking slot is free at each moment. So, t ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro