Anda di halaman 1dari 19

TUGAS

KOMPUTASI PROSES B
Problem Persamaan Linear

Soal Reklaitis P.2.14


The spent acid from a nitrating process contains 43%
H2SO4 and 36% HNO3. This dilute acid is to be
strengthened by addition of concentrated sulphuric acid
containing 91% H2SO4 and concentrated nitric acid
containing 88% HNO3. The product is to contained
41.8% H2SO4 and 40.0% HNO3. Calculate the
quantities of spent and concentrated acids that shold be
mixed to yield 1000 lbm of the fortified mixed acid.
Model Matematik
Basis Q4=1000 lbm/h
0,43(Q1) + 0,91(Q2) = 0,418(1000)
0,36(Q1) +0,88(Q3) = 0,4 (1000)
Q1+Q2+Q3 =1000

0,43 0,91 0 Q1 0,418 1000


0,36 0 0,88 Q2 0,4 1000

1 1 1 Q3 1000
Penyelesaian dengan Matlab
Hasil
Pembuktian
Problem Pers. Tak Linear bentuk Polinomial
Use the Newton-Raphson method, with 3 as starting point, to find a fraction that is
within 108 of 10.

Model Matematik
Solution
The number 10 is the unique positive solution of the equation
f(x) = 0, where
f(x) = x2 10.
Penyelesaian Menggunakan Matlab
Hasil
Pembuktian
Problem Pers. Tak Linear Bentuk
bukan polinomial
e x
xe

Model Matematik
e x
f e x
Penyelesaian dengan Matlab
Hasil
Pembuktian
Problem Pers. Tak Linear Bentuk fsolve

Reaksi reformasi kukus berlangsung menurut rangkaian reaksi kesetimbangan


berikut:
CH4(g) + H2O(g) CO(g) + 3H2(g) R-1
CO(g) + H2O(g) CO2(g) + H2(g) R-2
Pada suhu 2000 K harga konstanta kesetimbangan untuk masing-masing reaksi
adalah 1,930x10-4 dan 5,528. Tentukan komposisi kesetimbangan komponen-
komponen apabila Gas umpan berkomposisi 20% CH4(g) dan 80% H2O(g) berada
pada kondisi suhu 2000 K dan tekanan 1 atm.
Model Matematik
Misal ditetapkan basis perhitungan 10 mol gas umpan
e1 = derajat reaksi dari reaksi pertama
e2 = derajat reaksi dari reaksi kedua
Fraksi mol kesetimbangan setiap komponen dapat dinyatakan sebagai berikut:
Penyelesaian dengan Matlab

function y = KsT(e,K1,K2) %Pencari nol fungsi KsT.m


%Sistem Pers.tak linier yang akan dinolkan e = fsolve(@(e) KsT(e,K1,K2),[1 0.5])
y = [(e(1)-e(2))*(3*e(1)-e(2))^3 /((2-e(1))*(8- >>contoh2
e(1)
Masukan harga konstanta kst. reaksi 1 = 1.93e-4
- e(2))*(10+2*e(1))^2) - K1
Masukan harga konstanta kst. reaksi 2 = 5.528
e(2)*(3*e(1)+e(2)) / ((e(1)-e(2))*(8-e(1)-e(2))) -
K2]; Optimization terminated: first-order optimality is
less than
clear
options.TolFun.
clc
e=
K1 = input(Masukan konstanta kst. reaksi 1 = ');
0.7480 0.6920
K2 = input(Masukan konstanta kst. reaksi 2 = ');
Penyelesaian dengan Matlab

Anda mungkin juga menyukai