Downloaded 0721 questions

This commit is contained in:
Federico Pizzari 2022-11-15 14:27:16 +01:00
parent eb8ea2909c
commit 935d4532aa
162 changed files with 1435 additions and 2 deletions

1
0721_6/quest.txt Normal file
View file

@ -0,0 +1 @@
Un I/O buffer è alimentato da una componente che fornisce un input periodico di periodo 2 secondi. Durante la prima metà del periodo, l'input rate è 2MB/s mentre durante la seconda metà del periodo l'input rate è 0. Quindi l'input rate medio è di 1MB/s. L' I/O buffer, a sua volta, alimenta una componente che richiede (in media) 1MB/s. Quale dei seguenti modelli Modelica è un modello ragionevole per il sistema descritto sopra ?

11
0721_6/wrong1.txt Normal file
View file

@ -0,0 +1,11 @@
class System
Real x; // MB in buffer
Real u; // input pulse
initial equation
x = 3;
u = 0;
equation
when sample(0, 1) then
u = 1 - pre(u);
end when;
der(x) = 2*u -

18
0721_6/wrong2.txt Normal file
View file

@ -0,0 +1,18 @@
0;
end System;
2.
class System
Real x; // MB in buffer
Real u; // input pulse
initial equation
x = 3;
u = 0;
equation
when sample(0, 1) then
u = 1 - pre(u);
end when;
der(x) = 2*u - 1.0;
end System;

12
0721_6/wrong3.txt Normal file
View file

@ -0,0 +1,12 @@
class System
Real x; // MB in buffer
Real u; // input pulse
initial equation
x = 3;
u = 0;
equation
when sample(0, 1) then
u = 1 - pre(u);
end when;
der(x) = 2*u + 1.0;
end System;