Enunciat: Una màquina de vapor que extreu Qh=700 MJ de la font calenta (Th=600 ºC), fa un treball net W=300 MJ. La font freda està a Tc=120 ºC. Determineu:
a) Rendiment de Carnot (Teoric): E_c = 1 - (Tc_K / Th_K) = 1 - (393 / 873) = 0,5498 = 54,98%
b) Treball màxim: W_max = Qh * E_c = 700 * 0,5498 = 384,86 MJ
c) Rendiment real: E_r = W / Qh = 300 / 700 = 0,4285 = 42,85%
d) Treball perdut: W_i = W_max - W = 384,86 - 300 = 84,86 MJ
Exercici 2 (Q4): Compressor...
1) What is C++? Write advantages of C++.
C++ is an object-oriented programming language developed by Bjarne Stroustrup. It is an extension of C language.
Advantages :
2) Difference between Procedural and Object Oriented Programming
|
Procedural Programming |
Object Oriented Programming |
|
Program divided |
Opposite charges attract → bond forms.
Ionic bonds are relatively weak in water. Water can break them apart (dissociation)
.🔹 Covalent Bonds
Gli arredi festivi giù cadano infranti,10
Il popol di Giuda di lutto s'ammanti!
Ministro dell'ira del Nume sdegnato
Il rege d'Assiria su noi già piombò!
Di barbare schiere l'atroce ululato
Nel santo delubro del Nume tuonò!
I candidi veli, fanciulle, squarciate,12
Le supplici braccia gridando levate;
D'un labbro innocente la viva preghiera
È dolce profumo gradito al Signor.
Pregate, fanciulle! in voi della fiera
Falange nemica s'acqueti al furor!
Deh! l'empio non gridi con
CNO Principles: Authority, valid order, therapeutic relationship, appropriate scope, Do NOT perform if unclear orders. Competence: Know drug, assess client, educate patient, know limits. Nurse must ensure knowledge, skill, judgement. Safety: Prevent errors, monitor effects, report adverse reactions, ensure storage security. Nurse must act to min harm from errors/reactions. Scope Of Practice: Definition; Nursing=promote health, care, treatment. RPNRN Controlled acts; Injections, INH meds,
1. The main issue with hydrogen fuel cells is that hydrogen is rarely found as a free element; it is usually found chemically combined with other elements, making it difficult to obtain. High cost: Due to this issue, producing, storing, and transporting hydrogen is expensive, and fuel-cell vehicles themselves cost more to make. Difficult storage: Hydrogen is very light and reactive, so it must be stored in strong tanks at very high pressures or extremely low temperatures, which is costly and complex....
logicdefinition: comes from the greek word logos which means the art or craft of speech. logic is the area of philosophy that studies correct reasoning and sound judgment. logicians study logic.
inductive reasoning definition: this kind of reasoning is based on “induction,” the process of observing particular things and making generalizations. it goes from the little picture to the big picture.example: my cat purrs. my friend’s cat purrs. my neighbour’s cat purrs. garfield also purrs. therefore,
Stable: Relative order of elements with the same key value is preserved by the algorithm
If after 1st sort, that element is at the final position and subsequent iterations does not change its position anymore
In-Place: Requires only a constant amount, i.e. O(1), of extra space during the sorting process.
Assigning an temporary variable do take up a bit of constant space but is still counted as in-place.
Merge: For arrays it need a lot of space