tecno

Exercici 1: Màquina de vapor

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...

See on Xuletas »

Micro

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 :

  1. Supports Object Oriented Programming.
  2. Code reuse using inheritance.
  3. Fast execution.
  4. Data security through encapsulation.
  5. Portable language.
  6. Supports function and operator overloading.

2) Difference between Procedural and Object Oriented Programming

Procedural Programming

Object Oriented Programming

Program divided

...

See on Wikiteka »

micro cheat

Q.2 (a) What is Raft Foundation? Under what circumstances is it adopted?

A raft foundation, also known as a mat foundation, is a type of shallow foundation that consists of a large reinforced concrete slab covering the entire area of a building. This slab supports and distributes the load of all columns and walls uniformly over the whole foundation area.

Instead of providing separate footings for each column, a single thick concrete slab (raft) is constructed to support the structure.

Circumstances

...

See on Student Notes »

biologu

🔹 Ionic Bonds What happens:

One atom loses electrons. Another atom gains electrons. This creates ions Positive ion (cation)/ Negative ion (anion)

Opposite charges attract → bond forms.   

Ionic bonds are relatively weak in water. Water can break them apart (dissociation)

Why? Because water is polar and surrounds charged ions.

.🔹 Covalent Bonds

What happens: Atoms share electrons. Usually between two non-metals. Much stronger than ionic bonds///

Two types: Nonpolar covalent Equal sharing

...

See on Student Notes »

Nabucco

N.1. Introduzione Heft 1


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

...

See on Wikiteka »

Pharm

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,

...

See on Wikiteka »

sdasdsad

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....

See on Wikiteka »

jkkkl

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,

...

See on Student Notes »

CS2040 mye

Sorting

Stable vs In-Place

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.

sy6xAAAAABJRU5ErkJggg==



tjMaqeYQAAAABJRU5ErkJggg==

Sorting Explanations

Merge: For arrays it need a lot of space

...

See on Wikiteka »