Consider the following first-order ODE which represents the rate of formation of compound y: dy dt Зу = t from t = 1 to t = 2.2 with y(1) = 1 t dy 3y t² from t1 to t = 2.2 with y(1) = 1 dt t a.) Solve the ODE with the 2nd Order Runge- Kutta Method (Midpoint Version) using a step size of h = 0.3. b.) The analytical solution of the ODE in part a.) above is: y 1/5 =증(+3) 6 y 1/5 == +t3 6 3 In each part, calculate the error between the true solution and the numerical solution at the points where the numerical solution is determined Runge-Kutta Method (Modified Euler version) Xi+1 = Xi th K₁ = f(xi, yi) K₂ = f(x¡ + h, y₁ + K₁h) 1 Yi+1 = Yi + (K₁ + K₂)h z
Consider the following first-order ODE which represents the rate of formation of compound y: dy dt Зу = t from t = 1 to t = 2.2 with y(1) = 1 t dy 3y t² from t1 to t = 2.2 with y(1) = 1 dt t a.) Solve the ODE with the 2nd Order Runge- Kutta Method (Midpoint Version) using a step size of h = 0.3. b.) The analytical solution of the ODE in part a.) above is: y 1/5 =증(+3) 6 y 1/5 == +t3 6 3 In each part, calculate the error between the true solution and the numerical solution at the points where the numerical solution is determined Runge-Kutta Method (Modified Euler version) Xi+1 = Xi th K₁ = f(xi, yi) K₂ = f(x¡ + h, y₁ + K₁h) 1 Yi+1 = Yi + (K₁ + K₂)h z
Introduction to Chemical Engineering Thermodynamics
8th Edition
ISBN:9781259696527
Author:J.M. Smith Termodinamica en ingenieria quimica, Hendrick C Van Ness, Michael Abbott, Mark Swihart
Publisher:J.M. Smith Termodinamica en ingenieria quimica, Hendrick C Van Ness, Michael Abbott, Mark Swihart
Chapter1: Introduction
Section: Chapter Questions
Problem 1.1P
Related questions
Question

Transcribed Image Text:Consider the following first-order ODE which
represents the rate of formation of compound y:
dy
dt
Зу
= t
from t = 1 to t = 2.2 with y(1) = 1
t
dy
3y
t²
from t1 to t = 2.2 with y(1) = 1
dt
t
a.) Solve the ODE with the 2nd Order Runge-
Kutta Method (Midpoint Version) using a step
size of h = 0.3.
b.) The analytical solution of the ODE in part a.)
above is:
y
1/5
=증(+3)
6
y
1/5
==
+t3
6
3
In each part, calculate the error between the true
solution and the numerical solution at the points
where the numerical solution is determined
Runge-Kutta Method
(Modified Euler version)
Xi+1 = Xi th
K₁ = f(xi, yi)
K₂ = f(x¡ + h, y₁ + K₁h)
1
Yi+1 = Yi + (K₁ + K₂)h
z
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

Introduction to Chemical Engineering Thermodynami…
Chemical Engineering
ISBN:
9781259696527
Author:
J.M. Smith Termodinamica en ingenieria quimica, Hendrick C Van Ness, Michael Abbott, Mark Swihart
Publisher:
McGraw-Hill Education

Elementary Principles of Chemical Processes, Bind…
Chemical Engineering
ISBN:
9781118431221
Author:
Richard M. Felder, Ronald W. Rousseau, Lisa G. Bullard
Publisher:
WILEY

Elements of Chemical Reaction Engineering (5th Ed…
Chemical Engineering
ISBN:
9780133887518
Author:
H. Scott Fogler
Publisher:
Prentice Hall

Introduction to Chemical Engineering Thermodynami…
Chemical Engineering
ISBN:
9781259696527
Author:
J.M. Smith Termodinamica en ingenieria quimica, Hendrick C Van Ness, Michael Abbott, Mark Swihart
Publisher:
McGraw-Hill Education

Elementary Principles of Chemical Processes, Bind…
Chemical Engineering
ISBN:
9781118431221
Author:
Richard M. Felder, Ronald W. Rousseau, Lisa G. Bullard
Publisher:
WILEY

Elements of Chemical Reaction Engineering (5th Ed…
Chemical Engineering
ISBN:
9780133887518
Author:
H. Scott Fogler
Publisher:
Prentice Hall


Industrial Plastics: Theory and Applications
Chemical Engineering
ISBN:
9781285061238
Author:
Lokensgard, Erik
Publisher:
Delmar Cengage Learning

Unit Operations of Chemical Engineering
Chemical Engineering
ISBN:
9780072848236
Author:
Warren McCabe, Julian C. Smith, Peter Harriott
Publisher:
McGraw-Hill Companies, The