mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-03-14 18:06:15 +01:00
13 lines
248 B
Text
13 lines
248 B
Text
|
Si consideri il seguente modello Modelica:
|
||
|
<html>
|
||
|
class System
|
||
|
Integer x;
|
||
|
initial equation
|
||
|
x = 0;
|
||
|
equation
|
||
|
when sample(0, 2) then
|
||
|
x = 1 - pre(x);
|
||
|
end when;
|
||
|
end System;
|
||
|
</html>
|
||
|
Quale delle seguenti affermazioni è vera per la variabile intera x?
|