Professional Documents
Culture Documents
Aqeel Computational Assignment Final
Aqeel Computational Assignment Final
Aqeel Computational Assignment Final
Assignment
Question No 01
The x-y data of a system is given below. Plot the data and
properly label it within x = 0 to x =1.4. find area under curve
within this range as well.
Question No 03
1. Create following matrices in Matlab/octave
Question No 04
A vector x is given as
x=[5,7,9,-3,0,-8,-1,12,-6,4,-4,-7,16]
Write a program as script file that double the elements that are
positive and divisible by 3 and raise the power to 2.5 of elements
that are negative but greater than -2.
Question No 05
if y=exp(-x^2), y(0)=1
Write a script file using for loop to use Euler method to solve this
equation. Plot x,y and report the results up to 3 decimal points
using fprintf command.
Question No 06
Determine the bubble point temperature of a binary mixture
containing 20 mol% benzene (A) and 80 mol% toluene (B) at