Add 06/21 by Matteo

This commit is contained in:
Marco Realacci 2022-11-14 16:30:34 +01:00
parent 970467fe89
commit 1be2085d94
169 changed files with 962 additions and 0 deletions

View file

@ -0,0 +1 @@
La variabile x è nell'intervallo [0, 5].

View file

@ -0,0 +1,17 @@
Si consideri il monitor seguente che ritorna true appena i requisiti per il sistema monitorato sono violati.
<html>
block Monitor
input Real x;
output Boolean y;
Boolean w;
initial equation
y = false;
equation
w = ((x < 0) or (x > 5));
algorithm
when edge(w) then
y := true;
end when;
end Monitor;
</html>
Quale delle seguenti affermazioni meglio descrive il requisito monitorato.

View file

@ -0,0 +1 @@
La variabile x è fuori dall'intervallo [0, 5].

View file

@ -0,0 +1 @@
La variable x è minore di 0.