Notes, summaries, assignments, exams, and problems for University

Numerical Linear Algebra: Floating-Point Stability, Solvers and SVD (Study Notes)

MathematicsUpdated on 2.78 MB

Floating-Point Arithmetic and Stability

wCgqVXThjkjFQAAAABJRU5ErkJggg==

Eigendecomposition: Symmetric & Positive Definite (PD)

Exponent bias: b = 011111111111 = 1023

Grampian matrix: 8Coj0fVISuIFQAAAAASUVORK5CYII=

Maximum exponent: maxp = 1023 v0fN56DRlPBFnMAAAAASUVORK5CYII=

Minimum exponent: minp = -1023 - 51

L2 Induced Matrix Norm: tGTqpQ1MsAAAAASUVORK5CYII=

8AA5DM53COpDsAAAAASUVORK5CYII= DzmtbcOUm1CWAAAAAElFTkSuQmCC

Precision range: 2**-52 <= s < 2

Note on stability: A stable algorithm cannot overcome an ill-conditioned system; it can only guarantee precision when the system is not ill-conditioned.

Special Floating-Point Values:

  • np.Inf: 0111111111110
  • np.NaN: 0111111111111
  • np.Inf - np.Inf: NaN
  • np.Inf / np.Inf: NaN
  • np.Inf * 0: NaN
  • np.NaN + any: NaN

Backward Error: Back-calculating from the computed result to find the equivalent perturbation of the input.

Analytical inverse and the Woodbury matrix identity are both effective...

Continue reading "Numerical Linear Algebra: Floating-Point Stability, Solvers and SVD (Study Notes)" »

Geodetic Calculations: Earth Measurement Formulas and Surveying Principles

GeographyUpdated on 10.05 KB

Soil Volume Calculation for Excavation

This section details the calculation of soil volume extracted between two distinct profiles, a common task in civil engineering and surveying projects.

Profile Dimensions and Separation

  • First Profile Surface Area (St): 32 m²
  • Second Profile Cross-Section: A trapezoid with a height of 3m, a lower base of 6m, and an upper base of 17m.
  • Distance Separating Profiles (d): 54m

Calculating the Second Profile's Surface Area (Sd)

The area of the trapezoidal second profile is calculated as:

Sd = [(Lower Base + Upper Base) / 2] × Height
Sd = [(6 + 17) / 2] × 3 = 34.5 m²

Calculating Partial Volumes (Vt and Vd)

Using a specific volume computation method for irregular shapes:

Vt = 0.5 × (St)² / (St + Sd) × d
Vt = 0.5 × (32)
...
Continue reading "Geodetic Calculations: Earth Measurement Formulas and Surveying Principles" »

MEFF: Spanish Financial Futures and Options Exchange

EconomicsUpdated on 3.06 KB

Companies that make up BME: MEFF

MEFF is the Spanish Market of Financial Futures and Options. It began operating in November 1989 and is part of the BME (Bolsas y Mercados Españoles) holding.

Its main activities are the negotiation, settlement, and clearing of futures and options on bonds and stock indices, such as the IBEX-35 and S&P Europe 350 (including sectoral indices), as well as futures and stock options. MEFF acts as both a market and a clearing house.

Joining the MEFF Market

To join the market, a company must submit an application to the Governing Body. Approval or rejection depends on fulfilling all requirements, as outlined in the Market Regulations. The following entities may be eligible:

  • Securities companies and dealers
  • Banks
  • Credit
...
Continue reading "MEFF: Spanish Financial Futures and Options Exchange" »

Thoreau's Civil Disobedience and Margaret Fuller: Romantic Reform in America

HistoryUpdated on 2.23 KB

THOREAU’S CIVIL DISOBEDIENCE

Perhaps the most famous text in the literature of romantic reform is Henry David Thoreau’s essay, Resistance to Civil Government (1849), better known as Civil Disobedience. The occasion of the essay was Thoreau’s refusal to pay a poll tax in the town of Concord in protest of the United States war with Mexico (1846– 1848). Thoreau regarded the war as a conspiracy to seize Mexican lands and enable the expansion of southern slavery. Thoreau was jailed for his refusal to pay the tax. His essay is a defense of his actions as well as a treatise on the moral and political responsibilities of the citizen. In Civil Disobedience, Thoreau argues that, in an ideal world, governments would be rendered unnecessary;

MARGARET

...
Continue reading "Thoreau's Civil Disobedience and Margaret Fuller: Romantic Reform in America" »

LEGv8 Architecture and Assembly: Performance, Registers, Instructions and Branching

Computer scienceUpdated on 239.58 KB

Performance Metrics

  • Elapsed Time: Represents overall system performance. It is the total time taken to complete a task.
  • User CPU Time: Indicates CPU performance. It is the time the task actively runs on the CPU, excluding idle time.
  • CPU Time: The time the CPU spends executing instructions, either from the task or the operating system, excluding idle time.
  • Clock Speed: 1 MHz equals 1 million clock cycles per second. 1 GHz equals 1 billion clock cycles per second.
  • Response Time: Equivalent to execution time.
  • Throughput: Equivalent to bandwidth.
  • Performance Comparison: (PerfA) / (PerfB) = (ExecTimeB) / (ExecTimeA) = n

Impact of Processor Upgrades

  • Replacing a processor with a faster one decreases response time and increases throughput.
  • Adding an additional
...
Continue reading "LEGv8 Architecture and Assembly: Performance, Registers, Instructions and Branching" »

Obligations in Civil Law: Real Rights vs. Personal Rights and Sources

LawUpdated on 3.24 KB

Obligations

  • General obligations
  • Real right: It is one that directly and immediately gravitates on a certain thing, and that requires everyone's equal respect, but purely passive.
  • Credit or personal law: It is a special relationship between two specific individuals, one of whom may require the other, determined to provide what under common law is due.

Example: Right to ownership, right to credit a sum of money due to us under a loan.

  • The requirement: A link right on the necessity compels us to pay for a thing. The creditor is the active subject of the relationship, and the debtor has liabilities. The lender expects or hopes that the debtor complies with what has been committed to.
  • Elements of the obligation: It has two subjects, one active and
...
Continue reading "Obligations in Civil Law: Real Rights vs. Personal Rights and Sources" »

Core Concepts in Law, Ethics, Morality and Philosophy: Definitions

Philosophy and ethicsUpdated on 3.18 KB

Fundamental Principles of Self-Governance and Authority

Autonomy

The ability to set one's own standards without influence from external or internal pressures.

Heteronomy

Being under the authority or mandate of another person.

Emancipation

Relates to any action that allows a person or group of people access to a state of autonomy by ceasing subjection to any authority.

Characteristics of Legal and Social Norms

The following terms describe the nature and enforcement mechanisms of rules and mandates:

  • Coercibility

The threat to use violence of any kind, with the aim of constraining the behavior of individuals.

  • Irrepressibility

A characteristic meaning the rule cannot be enforced by means of force; it must be obeyed spontaneously.

  • Bilaterality

The characteristic...

Continue reading "Core Concepts in Law, Ethics, Morality and Philosophy: Definitions" »

Radio Silent Morning Programme Schedule: Listening Test Exercise

EnglishUpdated on 2.51 KB

Part One: Radio Silent Morning Schedule

You are going to hear a radio announcer giving information about the morning's programmes on a local radio station, Radio Silent. As you listen, choose the best way to fill in the missing information in the following summary. Mark A, B, or C on your answer sheet.

The Morning's Radio Programmes

  • 8:00 (1) __________

    1. National news
    2. Local news
    3. Financial news
  • 8:10 Weather Forecast

  • 8:15 Start the Day – with David Humphrey talking about (2) __________

    1. His book on the Queen
    2. A musician
    3. The environmental conference in Japan
  • (3) __________ Round the Centre – A look at Bournemouth’s new Convention Centre

    1. 9:10
    2. 9:20
    3. 9:30
  • 10:00 Your Choice – with (4) __________, local news, and comments

    1. Travel information
    2. Interviews
    3. Music
  • 10:45 The

...
Continue reading "Radio Silent Morning Programme Schedule: Listening Test Exercise" »

Religious Groups in Spain: Legal Status and the Catholic Church Agreements

LawUpdated on 2.75 KB

Legal Distinctions for Religious Groups in Spain

Spanish law makes two key distinctions regarding religious groups:

  1. Public Response & Religious Freedom

    Groups have the right to religious freedom, extending to individuals and religious groups. However, this right is not absolute. If public order is disrupted, actions are unlawful, and the right to religious freedom will not apply. (Article 16.1 EC)

  2. Legal Personality & Registration

    (Art 5 LORL) Groups are registered with the Registry of Religious Entities. Not all registered faiths have the same legal status:

    • Confessions with roots in Spain: These have access to cooperative agreements with the State (e.g., the Catholic Church, ERDF, CIE, FCI). The Catholic Church has a unique system of agreements
...
Continue reading "Religious Groups in Spain: Legal Status and the Catholic Church Agreements" »

Photomultiplier Dark Current, Gain, Lifetime and Harmonics Measurements

PhysicsUpdated on 5.36 KB

Photomultiplier Characteristics

What is dark current?

The dark current is a small amount of current flowing in the photomultiplier even when it is not illuminated. This current should be minimized for accurate measurements. The region between 800 V and 1300 V is often ideal for operating the photomultiplier.

The primary source of dark current is the thermionic emission rate from the photocathode and dynodes. Other sources include:

  • Leakage current
  • Incandescent lighting phenomena
  • Field emission
  • Current from residual gas ionization
  • Radioactive contamination within the device materials

What is the photomultiplier gain?

The gain (G) of a photomultiplier is the ratio between the number of electrons at the output and the number of photons incident on the photocathode....

Continue reading "Photomultiplier Dark Current, Gain, Lifetime and Harmonics Measurements" »