Ask Question, Ask an Expert


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

Project 1complete parts 1a 1b and 1cprepare a report

Project 1 Complete parts 1A, 1B, and 1C Prepare a report describing your steps and results Send by email a zip or rar file that contains the report and all MATLAB files you have used. Project 1A: In this project, we cons ...

1 you are testing a theory which says that the output

1. You are testing a theory which says that the output displacement of a measurement device should vary with time according to the equation: D(x) = {x 2 cos (x)} / (x +1) So far, you have measured the following set of ex ...

Discrete communicationsobjectiverevision of fundamental

Discrete Communications Objective: Revision of fundamental concepts and demonstration of necessary foundation skills. Assessment: The assignment will comprise 20% of your final mark and all ten problems will be of equal ...

Implement copy-move image forgery detection in matlabpaper

Implement Copy-move image forgery detection in Matlab. Paper - Copy-move image forgery detection based on Gabor magnitude by Jen-Chun Lee. With advancement of media editing software, even people who are not image process ...

Question 11 introductionmeasurements have been made of a

Question 1: 1 Introduction: Measurements have been made of a cantilever beam's deflection (stored in the file ass2q1in.csv). You must determine what type of loading has been applied and the magnitude of the load. There a ...

Assignment - instructions for the overall material

Assignment - Instructions for the Overall Material Balance Work with your learning pod to perform an overall material balance for fuel-grade ethanol production.  This balance is much simplified, but will help you to revi ...

Consider the signal vt given belowwrite a matlab script to

Consider the signal v(t) given below. Write a MATLAB script to do the following (a) Display v(t) and v(2t-1) in window 1 by using subplot. (b) Display both the even component and odd component of v(t) in window 2 by usin ...

Topic matlab coding signals and systems sampling fourier

Topic: MATLAB coding, signals and systems, sampling, Fourier analysis, FFT, new transform techniques Purpose of the assessment: The purpose of this assignment is to motivate students to learn MATLAB programming and how t ...

Pre-labobjectiveslearn how to use various matlab built-in

Pre-Lab Objectives ? Learn how to use various MATLAB built-in functions ? Become familiar with vector and matrix multiplication in MATLAB The input function is a MATLAB built-in function that allows a program to accept u ...

Introduction to programming in matlab1 working with matlab

Introduction to Programming in MATLAB 1. Working with MATLAB scalars, vectors, and complex numbers. Using MATLAB, define a unique variable for the following quantities. a. 5 (ex. Define x = 5, etc.) b. 25 2 c. (3 + 4??) ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate