MTH603 Quiz 3 Solution and Discussion
-
givren that dy/dx= y-t/y+1 with the intial condition y=1, t=0 using euler’s method y at h=0.01; the value of y(0.01) is?
-
givren that dy/dx= y-t/y+1 with the intial condition y=1, t=0 using euler’s method y at h=0.01; the value of y(0.01) is?
@cyberian said in MTH603 Quiz 3 Solution and Discussion:
givren that dy/dx= y-t/y+1 with the intial condition y=1, t=0 using euler’s method y at h=0.01; the value of y(0.01) is?
To solve the differential equation
𝑑
𝑦
𝑑
𝑡𝑦
−
𝑡
𝑦
+
1
dt
dy
y+1
y−t
with the initial condition
𝑦
(
0
)1
y(0)=1 using Euler’s method with a step size
ℎ0.01
h=0.01, we can follow these steps:Identify the differential equation and initial condition:
𝑑
𝑦
𝑑
𝑡𝑦
−
𝑡
𝑦
+
1
dt
dy
y+1
y−t
𝑦
(
0
)1
y(0)=1
Euler’s method formula:𝑦
𝑛
+
1𝑦
𝑛
+
ℎ
⋅
𝑓
(
𝑡
𝑛
,
𝑦
𝑛
)
y
n+1
=y
n
+h⋅f(t
n
,y
n
)
where
𝑓
(
𝑡
,
𝑦
)𝑦
−
𝑡
𝑦
+
1
f(t,y)=
y+1
y−t
.Initial values:
𝑡
00
,
𝑦
01
t
0
=0,y
0
=1
Calculate
𝑦
1
y
1
using Euler’s method with
ℎ0.01
h=0.01:𝑡
1𝑡
0
+
ℎ0
+
0.010.01
t
1
=t
0
+h=0+0.01=0.01𝑦
1𝑦
0
+
ℎ
⋅
𝑓
(
𝑡
0
,
𝑦
0
)1
+
0.01
⋅
1
−
0
1
+
11
+
0.01
⋅
1
21
+
0.01
⋅
0.51
+
0.0051.005
y
1
=y
0
+h⋅f(t
0
,y
0
)=1+0.01⋅
1+1
1−0
=1+0.01⋅
2
1
=1+0.01⋅0.5=1+0.005=1.005
Therefore, the value of
𝑦
(
0.01
)
y(0.01) using Euler’s method with a step size of
ℎ0.01
h=0.01 is approximately
1.005
1.005. -
ther percentahe error in numerial integration s defined as?
-
@cyberian said in MTH603 Quiz 3 Solution and Discussion:
ther percentahe error in numerial integration s defined as?
The percentage error in numerical integration is defined as the relative difference between the exact value of the integral and the approximate value obtained using a numerical method. It is given by the formula:

-
if yn+1 = yn +1/6 (k1+2k2+2k3+k4) then k2 is
-
@cyberian said in MTH603 Quiz 3 Solution and Discussion:
if yn+1 = yn +1/6 (k1+2k2+2k3+k4) then k2 is
The formula you provided is related to the Runge-Kutta method, specifically the classical fourth-order Runge-Kutta method (RK4). The formula for
-
in solving the follwing differnital equation
y =x+y; y(0)=1
h=0.2 -
@cyberian said in MTH603 Quiz 3 Solution and Discussion:
in solving the follwing differnital equation
y =x+y; y(0)=1
h=0.2To solve the differential equation
𝑦 ′ = 𝑥 + 𝑦 y ′=x+y with the initial condition
𝑦 ( 0 ) = 1y(0)=1 using the step size
ℎ = 0.2h=0.2, we can use the Euler method. Here are the steps:
-
which of the following points the max value of 2nd deruvative of function f(x)=-(2/x) in the inteval : [1,4] exits
-
which of the following points the max value of 2nd deruvative of function f(x)=-(2/x) in the inteval : [1,4] exits
@cyberian said in MTH603 Quiz 3 Solution and Discussion:
which of the following points the max value of 2nd deruvative of function f(x)=-(2/x) in the inteval : [1,4] exits
To find where the maximum value of the second derivative of the function
𝑓 ( 𝑥 ) = − 2 𝑥 f(x)=− x 2 [ 1 , 4 ][1,4], we will first find the second derivative of the function and then determine where it achieves its maximum value within the given interval.
-
which of the following reason lead towards the numerical integration methods?
Analytical evaluation of integral is very complicated
All above choices are true
Integrand is given in tabular form
Analytical evaluation of integral is impossible@cyberian said in MTH603 Quiz 3 Solution and Discussion:
which of the following reason lead towards the numerical integration methods?
Analytical evaluation of integral is very complicated
All above choices are true
Integrand is given in tabular form
Analytical evaluation of integral is impossibleThe reasons that lead towards the use of numerical integration methods include:
Analytical evaluation of integral is very complicated
Integrand is given in tabular form
Analytical evaluation of integral is impossible
Therefore, the correct answer is: All above choices are true -
In Simpson’s 3/8 rule, the global error is of ………………
Select correct option:
O(h2)
O(h3)
O(h4)
None of the given choices -
Question # 2 of 10 ( Start time: 09:05:21 PM ) Total Marks: 1
Zero-th order divided difference is defined asSelect correct option:
y[x0]=x0
y[x0]=y1
y[x0]=y0
None of the given choice -
Question # 3 of 10 ( Start time: 09:05:56 PM ) Total Marks: 1
To take the derivative of f(x) = 2x in the interval [-3,3], which of the following partition of subintervals will be suitable?
Select correct option:
Equally spaced
Unequally spaced
Union of equally spaced and unequally spaced intervals.
Any arbitrary partition will work