Project

General

Profile

Download (266 Bytes) Statistics
| Branch: | Tag: | Revision:
1
node top(xn : real) returns (yn, xnm1, xnm2, ynm1 : real);
2
let
3
  assert(xn >= -1.6 and xn <= 1.6);
4
  yn = 0. -> 0.21875*xn + 0.40625*pre xnm1 + 0.21875*pre xnm2 + 0.375*pre yn - 0.1875*pre ynm1;
5
  ynm1 = 0. -> pre yn;
6
  xnm1 = 0. -> xn;
7
  xnm2 = 0. -> pre xnm1;
8
tel
(16-16/19)