Professional Documents
Culture Documents
CL314 Assignment 4
CL314 Assignment 4
Full Marks: 40
[For the MATLAB program Q1 and Q2 and so on (highlighted in yellow) you give the name
of the program as “yourname_A4Q1” and “yourname_A4Q2” respectively and upload the
program in the following link given. In the starting of the program by “commenting”, you
should put your name and roll number as well]
https://drive.google.com/drive/folders/12H0YWDr5iyX6uR19jI_Yrg7YFDFcbkuu?usp=sharing
Q1. Binary mixture of A and B follows Roults law.Vapour pressure of the pure species
are given by Antoine equations:
2945.47
𝑙𝑛𝑃𝐴𝑠𝑎𝑡 = 14.2724 −
𝑇 − 49.15
2972.64
𝑙𝑛𝑃𝐵𝑠𝑎𝑡 = 14.2043 −
𝑇 − 64.15
P are in kPa unit and T is in K.
Write a program to calculate and plot a temp vs xA, yA at a total pressure of 70 kPa.
[20]
Q2. Wrte a program for secant method and find a root of the equation 𝑥 3 − 2𝑥 2 + 𝑥 − 2 =
0 assuming initial two guess as 1 and 3. [10]
Q3. Write a program for Newton Raphson method and solve the equation 𝑥 2 − 5𝑥 + 6 = 0
Assume two different initial guesses as 0.2 and 4 and find out the roots. [10]