Discretize using a forward-Euler scheme

In summary, the conversation is about using the forward-Euler scheme with a sampling period of 1 to discretize a given differential equation and finding the transfer function between the input, u(k), and the output, y(k). The Laplace transform of the given equation is used to find the transfer function, but there is confusion on how to incorporate the sampling period into the equation.
  • #1
Linder88
25
0

Homework Statement


Consider the differential equation
\begin{equation}
y'''-y''=u
\end{equation}
Discretize (1) using a forward-Euler scheme with sampling period
\begin{equation}
\Delta=1
\end{equation}
and find the transfer function between u(k) and y(k)

Homework Equations


The Euler method is
$$
y_{n+1}=y_n+hf(x_n,y_n)
$$

The Attempt at a Solution


Laplace transform of (1) yields
$$
s^3Y(s)-s^2Y(s)=U(s)
$$
From my teacher I know that
$$
s=\frac{z-1}{\Delta}
$$
Using this formula on the Laplace transform of (1) yields
$$
\bigg(\frac{z-1}{\Delta}\bigg)^3y_{k}-\bigg(\frac{z-1}{\Delta}\bigg)^2{y_k}=u_k
$$
Substituting (2) in this equation yields
$$
(z-1)^3y_k-(z-1)^2y_k=u_k
$$
$$
y_{k+3}-y_{k+2}=u_k
$$
Now I want to find the transfer function between u(k) and y(k) but I don't see and y(k).
Can somebody please help me? I have my exam tomorrow!
 
Last edited:
Physics news on Phys.org
  • #2
I can't follow the step
Linder88 said:
Substituting (2) in this equation yields $$(z−1)^3 y_k − (z−1)^2 y_k =u_k $$
to $$
y_{k+3}-y_{k+2}=u_k $$Could you explain why this doesn't work out to e.g. $${y_k \over u_k}\ = \ {1\over (z−1)^3 − (z−1)^2 } {\rm\quad ?} $$
 

FAQ: Discretize using a forward-Euler scheme

What is discretization?

Discretization is the process of converting a continuous function or system into a discrete form, which can be represented by a finite set of values or intervals.

What is a forward-Euler scheme?

A forward-Euler scheme is a numerical method used to approximate the solutions of differential equations by breaking down the continuous function into smaller, discrete steps.

How does forward-Euler discretization work?

The forward-Euler discretization method uses a first-order Taylor series approximation to estimate the value of a function at a future time step based on its current value and the derivative at the current time step.

What are the advantages of using a forward-Euler scheme?

One advantage of using a forward-Euler scheme is its simplicity, making it easy to implement and understand. It also has a low computational cost and is suitable for solving simple differential equations with a single variable.

What are the limitations of using a forward-Euler scheme?

One limitation of the forward-Euler scheme is that it can produce significant errors when the time step size is too large. It is also prone to numerical instability and may not accurately capture the behavior of complex systems or functions with high curvature.

Back
Top