Discretize using a forward-Euler scheme

  • Thread starter Thread starter Linder88
  • Start date Start date
  • Tags Tags
    discretization
Click For Summary
The discussion centers on discretizing the differential equation y''' - y'' = u using a forward-Euler scheme with a sampling period of Δ = 1. The Laplace transform leads to the equation s^3Y(s) - s^2Y(s) = U(s), and substituting s with (z-1)/Δ results in a transformed equation. The participant struggles to derive the transfer function between u(k) and y(k) from the equation (z-1)^3y_k - (z-1)^2y_k = u_k, ultimately leading to the expression y_{k+3} - y_{k+2} = u_k. Clarification is sought on the correct approach to express the transfer function, indicating confusion about the relationship between y(k) and u(k). The thread highlights the complexities of applying the forward-Euler method in this context.
Linder88
Messages
25
Reaction score
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
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 ?} $$
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
2
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
7K
  • · Replies 10 ·
Replies
10
Views
5K
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K