Given ODE: \[ \frac{dy}{dx} = f(x,y) = xy^2 + 2y + x - 4.5 \] Initial condition: \[ y(0) = 1 \] Step size: \[ h = 0.5 \]
Step 1: Predictor using implicit Euler's method
Implicit Euler formula: \[ y_{1}^{(p)} = y_0 + h\, f(x_1, y_{1}^{(p)}) \] with \(x_1 = 0.5\). Thus we solve: \[ y_{1}^{(p)} = 1 + 0.5\left(0.5 (y_{1}^{(p)})^{2} + 2y_{1}^{(p)} + 0.5 - 4.5\right) \] Simplifying gives a nonlinear quadratic equation whose positive root is: \[ y_{1}^{(p)} \approx 0.873 \]
Step 2: Corrector using trapezoidal rule
Corrector formula: \[ y_1 = y_0 + \frac{h}{2}\left[f(x_0, y_0) + f(x_1, y_{1}^{(p)})\right] \] Compute values: \[ f(0,1) = 0 + 2(1) + 0 - 4.5 = -2.5 \] \[ f(0.5,0.873) = 0.5(0.873^2) + 2(0.873) + 0.5 - 4.5 \approx -0.416 \] Thus, \[ y_1 = 1 + 0.25(-2.5 - 0.416) \] \[ y_1 = 1 - 0.25(2.916) = 1 - 0.729 \] \[ y_1 \approx 0.871 \]
An ordinary differential equation (ODE), \( \dfrac{dy}{dx} = 2y\), with an initial condition \(y(0) = 1\), has the analytical solution \(y = e^{2x}\). Using Runge-Kutta second order method, numerically integrate the ODE to calculate y at \(x = 0.5\) using a step size of \(h = 0.5\).
If the relative percentage error is defined as, \[ \varepsilon = \left| \frac{y_{\text{analytical}} - y_{\text{numerical}}}{y_{\text{analytical}}} \right| \times 100, \] then the value of \(\varepsilon\) at \(x = 0.5\) is \(\underline{\hspace{2cm}}\).
An ideal monoatomic gas is contained inside a cylinder-piston assembly connected to a Hookean spring as shown in the figure. The piston is frictionless and massless. The spring constant is 10 kN/m. At the initial equilibrium state (shown in the figure), the spring is unstretched. The gas is expanded reversibly by adding 362.5 J of heat. At the final equilibrium state, the piston presses against the stoppers. Neglecting the heat loss to the surroundings, the final equilibrium temperature of the gas is __________ K (rounded off to the nearest integer).
The residence-time distribution (RTD) function of a reactor (in min$^{-1}$) is 
The mean residence time of the reactor is __________ min (rounded off to 2 decimal places).}
Ideal nonreacting gases A and B are contained inside a perfectly insulated chamber, separated by a thin partition, as shown in the figure. The partition is removed, and the two gases mix till final equilibrium is reached. The change in total entropy for the process is _________J/K (rounded off to 1 decimal place).
Given: Universal gas constant \( R = 8.314 \) J/(mol K), \( T_A = T_B = 273 \) K, \( P_A = P_B = 1 \) atm, \( V_B = 22.4 \) L, \( V_A = 3V_B \).
The following data is given for a ternary \(ABC\) gas mixture at 12 MPa and 308 K:
\(y_i\): mole fraction of component \(i\) in the gas mixture
\(\hat{\phi}_i\): fugacity coefficient of component \(i\) in the gas mixture at 12 MPa and 308 K
The fugacity of the gas mixture is __________ MPa (rounded off to 3 decimal places).