mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-07 03:19:38 +02:00
domande matteo
This commit is contained in:
parent
ad0bc91c7d
commit
a82b455758
338 changed files with 1469 additions and 0 deletions
12
Ingegneria del Software/0621_25/correct.txt
Normal file
12
Ingegneria del Software/0621_25/correct.txt
Normal 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;
|
|
@ -0,0 +1,3 @@
|
|||
[ZoneTransfer]
|
||||
ZoneId=3
|
||||
ReferrerUrl=C:\Users\mreal\Downloads\Telegram Desktop\Domande 09_06_2021 (2).zip
|
1
Ingegneria del Software/0621_25/quest.txt
Normal file
1
Ingegneria del Software/0621_25/quest.txt
Normal 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 ?
|
|
@ -0,0 +1,3 @@
|
|||
[ZoneTransfer]
|
||||
ZoneId=3
|
||||
ReferrerUrl=C:\Users\mreal\Downloads\Telegram Desktop\Domande 09_06_2021 (2).zip
|
12
Ingegneria del Software/0621_25/wrong1.txt
Normal file
12
Ingegneria del Software/0621_25/wrong1.txt
Normal 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 - 2.0;
|
||||
end System;
|
|
@ -0,0 +1,3 @@
|
|||
[ZoneTransfer]
|
||||
ZoneId=3
|
||||
ReferrerUrl=C:\Users\mreal\Downloads\Telegram Desktop\Domande 09_06_2021 (2).zip
|
12
Ingegneria del Software/0621_25/wrong2.txt
Normal file
12
Ingegneria del Software/0621_25/wrong2.txt
Normal 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;
|
|
@ -0,0 +1,3 @@
|
|||
[ZoneTransfer]
|
||||
ZoneId=3
|
||||
ReferrerUrl=C:\Users\mreal\Downloads\Telegram Desktop\Domande 09_06_2021 (2).zip
|
Loading…
Add table
Add a link
Reference in a new issue