Ticket #2561: SingularInitial.mo

File SingularInitial.mo, 408 bytes (added by Jens Frenkel, 11 years ago)

example singular initial system

Line 
1model SingularInitial
2 Real x,y,z;
3initial equation
4 z = 4;
5equation
6 z = time * 2;
7 y = z * z;
8 der(x) = x + y;
9 annotation(Icon(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2})), Diagram(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2})));
10end SingularInitial;
11