You are on page 1of 6

Mapúa University

School of Chemical, Biological, and Materials Engineering and Sciences

EXERCISE 1: Charles, Boyles, and IDG


Law

Prepared by:

Habiling, Jhoneliza B.

MSE-4/ 2014108882

MSE113-2L/E01
INTRODUCTION
The three fundamental gas laws discover the relationship of pressure,

temperature, volume and amount of gas. Boyle's Law tells us that the volume of gas

increases as the pressure decreases. Charles' Law tells us that the volume of gas

increases as the temperature increases. And Avogadro's Law tell us that the volume

of gas increases as the amount of gas increases. The ideal gas law is the combination

of the three simple gas laws.

For Boyle’s Law, the correlation between Pressure (P), Volume (V), assume

that temperature and amount of gas remain constant. Pressure is inversely

proportional to volume, thus

𝑃1 𝑉1 = 𝑃2 𝑉2 -------------------------------------------------------------------- (eq.1)

Charle’s Law on the other hand, is the correlation between Temperature and

Volume, assuming pressure and amount of gas remain constant. Volume is directly

proportional to Temperature, gives an equation,

𝑉1 /𝑇1 = 𝑉2 /𝑇2 ---------------------------------------------------------------- (eq. 2)

And for Avogadro’s Law, it is the correlation between the Amount of gas (n) and

Volume (V), assuming temperature and pressure remains constant. Volume is

directly proportional to the Amount of gas (n), therefore


𝑃1 /𝑛1 = 𝑃2 /𝑛2 ---------------------------------------------------------------- (eq. 3)

Lastly, combining the three simple gas laws will give us the Ideal Gas Laws. By

setting all three laws directly or inversely proportional to Volume, and replacing the

directly proportional to a sign with constant (R) you get

PV=nRT ---------------------------------------------------------------------- (eq. 4)

Where R is the gas constant 8.314 Joules/mol*K units.

OBJECTIVES

In this exercise the main objective is to provide a graph for each gas laws.

PROGRAM

T1 = 10
T2 = 20
x = 0
L1 = linspace(0,30,31)
ko = 1
a = 2

T = (-ko + sqrt(((ko)^2 + 2*a*((-


ko*T2)+(a*(T2^2)-T1))./L1)).*L1 + 2*a*T1)/a

plot(T,L1)
xlabel('Distance')
ylabel('Temperature')
title('Temperature Profile')
OUTPUT
ANALYSIS
The exercise is a preparation or a practice for the students to learn the basics

in plotting and getting a graph using equations. All the figures above agrees to the

law of the simple gas laws. The first figure shows that as the temperature increases,

the volume also increases which agree to the Charle’s law. Second figure shows that

as you increase the volume, the pressure decreases, which is a Boyle’s law. Lastly,

the third figure shows that all three laws directly or inversely proportional to

Volume.
FLOWHART

Plot the figure with


Declaration of Input the equation
relative to each gas
Variables in each gas law
law

Customoization of
Program then plots
the legend and
the function
title of the graph

You might also like