Notes, summaries, assignments, exams, and problems for Other courses

Caesar Cipher Cryptanalysis & Frequency Analysis

Mathematics6.56 KB

Caesar Cipher: Formal Representation

Plain alphabet: P = {sequence of plaintext letters}. Key: k ∈ {i | 0 ≤ i ≤ 25}. If k = 25, the shift maps a → z, b → a, and so on. Encryption: E(p) = (p + k) mod 26. Decryption: D(c) = (26 + c − k) mod 26.

Attacking the Caesar Cipher

Common methods to solve or attack a Caesar (shift) cipher include:

  1. Brute force: Try all possible keys (0–25) and inspect the results.
  2. Statistical (frequency) analysis: Use letter frequency distributions of the language to infer likely mappings.

Frequency Analysis: Basic Idea

Certain letters appear more frequently than others in a given language. By comparing ciphertext letter frequencies to natural language frequencies, you can match ciphertext characters to likely plaintext

...
Continue reading "Caesar Cipher Cryptanalysis & Frequency Analysis" »

Essential Muscle Anatomy: Origin, Insertion, and Action Reference

Physical Education4.14 KB

Major Muscle Origin, Insertion, and Action (OIA)

Muscles of the Neck and Torso

Sternocleidomastoid

  • Origin (O): Manubrium of sternum and medial clavicle
  • Insertion (I): Mastoid process
  • Action (A): Rotates the head (unilaterally)

Pectoralis Major

  • Origin (O): Sternum, medial clavicle, and costal cartilages 2-6
  • Insertion (I): Intertubercular sulcus of the humerus
  • Action (A): Flexes and adducts the arm

Trapezius

  • Origin (O): Occipital bone, ligamentum nuchae, and C7-T12 vertebrae
  • Insertion (I): Clavicle, acromion, and scapular spine
  • Action (A): Elevates, superiorly rotates, retracts, and depresses the scapula

Latissimus Dorsi

  • Origin (O): Spinous processes of T7-L5, ribs 10-12, and iliac crest
  • Insertion (I): Intertubercular sulcus of the humerus
  • Action (A): Extends,
...
Continue reading "Essential Muscle Anatomy: Origin, Insertion, and Action Reference" »

Reported Speech: A Comprehensive Guide with Examples

English3.58 KB

Reported Speech

Types of Reported Speech

Yes/No Questions

Structure: S + reporting verb + if/whether + S + past tense verb

Example: He asked if he was late.

Wh- Questions

Structure: S + reporting verb + wh-word + S + past tense verb

Example: He asked where he had left his keys.

Orders and Requests

Structure: S + reporting verb + object + (not) + to + infinitive

Note: Use "told" for orders.

Example: He told me to be quiet.

Suggestions

Structure 1: S + suggest (tense) + (not) + verb-ing

Structure 2: S + suggest + that + S + should + infinitive

Example: She suggested going for a walk.

Reporting Verbs

Verbs followed by "to + infinitive"

Examples: agree, offer, refuse, promise, threaten

Example: We agreed not to buy a car.

Additional verbs with object: advise, invite,...

Continue reading "Reported Speech: A Comprehensive Guide with Examples" »

Understanding Spain's Political System: From the Canovas System to Opposition Movements

Spanish3.92 KB

1. The Canovas System and Its Foundations

1.1. Bases of the Canovas System

Cánovas' ideology drew inspiration from French doctrinal liberalism and Spanish moderatism. He advocated for a British-style system based on bipartisanship, where the Conservative Party and the Liberal Party would alternate in power and opposition.

This bipartisanship excluded Carlists and Republicans from the political system.

The intended peaceful alternation of power under Cánovas' system did not work as expected and became a facade. Both parties used pacts and a tacit agreement based on:

  • Peaceful transfer of power
  • Calling elections
  • Electoral fraud

Electoral fraud involved caciquismo, encasillado, and pucherazo. Caciquismo refers to a pyramidal patronage network where high-...

Continue reading "Understanding Spain's Political System: From the Canovas System to Opposition Movements" »

Accounting Principles and Financial Statement Analysis

Economy4.47 KB

Cash Flows and Dividends

1. Norris Company Dividends: Norris Company declared cash dividends of $60,000, payable as follows: $20,000 at the beginning of the year and $25,000 at the end of the year. (Calculation: $60,000 + $20,000 = $80,000; $80,000 - $25,000 = $55,000)

2. Indirect Method Cash Flow Statement: On the statement of cash flows prepared by the indirect method, the amortization of premium or discount on bonds payable is added back to net income.

8. Cash Receipts from Issuance: Cash receipts received from the issuance of stock are classified as financing activities.

11. Ten-Year Bond Issuance: A ten-year bond issued at par for $250,000 cash is classified as a financing activity.

17. Inflow of Cash: Issuance of long-term debt represents...

Continue reading "Accounting Principles and Financial Statement Analysis" »

Understanding Working Hours in Los Angeles: Regulations and Rights

Medicine & Health3.09 KB

Understanding Working Hours in Los Angeles

1. Working Hours

Working hours in Los Angeles (LA) refer to the time an employee spends working, calculated on a daily, weekly, or annual basis. The maximum duration is 40 hours per week, with no more than 9 hours per day, unless there is an agreement for an uneven distribution of hours throughout the year. Rest periods must be respected. Periods devoted to movement, changing clothes, etc., are not considered actual working time. Children under 18 cannot work more than 8 hours a day, including time spent on training.

The Law on the Settlement of Personal, Family, and Labor Life states that work schedules can be adapted, subject to agreement between both parties.

1.1. Extension or Reduction of Working Hours

Working...

Continue reading "Understanding Working Hours in Los Angeles: Regulations and Rights" »

Cold War Ideologies: Comparing the USA and USSR Blocs

History3.8 KB

The Two Cold War Blocs: USA vs. USSR

USA (Western Bloc)

  • Political System: Popular Sovereignty and Democracy
  • Economic System: Capitalist Economy
  • Supported private property rights.
  • Limited state participation in the economy.
  • Separation of Powers (Power distribution).
  • Political Freedoms and Elections are available.
  • Citizens are granted fundamental rights and obligations.

USSR (Communist Bloc)

  • Political System: Single-Party State (Dictatorship)
  • Economic System: Communist Economy (Centrally Planned)
  • Little to no private property.
  • States participate in mandatory Five-Year Economic Plans.
  • No separation of power; authority is held by the dictatorship.
  • Political freedoms and elections are restricted or unavailable.
  • Individual rights and obligations are often suppressed
...
Continue reading "Cold War Ideologies: Comparing the USA and USSR Blocs" »

Legal Mechanisms: Acquisition and Extinction of Individual Rights

Law & Jurisprudence3.31 KB

Acquisition and Extinction of Individual Rights

Acquisition of Individual Rights

The acquisition of individual rights can be categorized into two main types: original and derivative.

Original Acquisition (Origins)

A right is acquired independently of any previous holder.

  • Rights of Personality: Acquired simply by being born.
  • Finding Unowned Property: Finding something that is not abandoned (res nullius) or unowned.
  • Acquisitive Prescription (Usucaption): Through public, peaceful, continuous, and uninterrupted possession, held as an owner, for a legally defined period, one can become the owner of something that previously belonged to another person.

Derivative Acquisition

The right is acquired from a previous holder (transferor).

Example: Purchase, bequest,...

Continue reading "Legal Mechanisms: Acquisition and Extinction of Individual Rights" »

Lipid Recognition and Saponification Lab Procedures

Chemistry3.09 KB

Recognition of Lipids

Laboratory Materials

  • Test tubes
  • Rack
  • Glass rods
  • Lighter
  • Beakers
  • Pipettes
  • 20% NaOH solution
  • Sudan III solution
  • Red ink
  • Ether, chloroform, or acetone
  • Olive oil

2.1 Saponification

Basis

Hot fat reacts with sodium or potassium hydroxide, decomposing into two elements: glycerol and fatty acids. These ions combine with the hydroxide to produce soaps, which are sodium or potassium salts of fatty acids. In living organisms, the hydrolysis of triglycerides is facilitated by specific enzymes called lipases, which form fatty acids and glycerol.

Technique

  1. Place 2ml of oil and 2ml of 20% NaOH in a test tube.
  2. Shake vigorously and place the tube in a water bath for 20 to 30 minutes.
  3. Afterward, three phases will be visible in the tube: a clear bottom layer
...
Continue reading "Lipid Recognition and Saponification Lab Procedures" »

Chief Seattle's Enduring Message: Honoring Nature's Sacred Balance

History3.29 KB

Chief Seattle's Enduring Wisdom on Nature

Chief Seattle, leader of the Suquamish tribe in Washington State, USA, articulated a profound philosophy in his 1855 letter to then-President Franklin Pierce. This powerful document, often referred to as 'A Simple Philosophy,' champions the conservation of nature and the vital importance of maintaining natural balance.

The Interconnectedness of Life

Seattle's letter eloquently portrays the oneness of all life and the symbiotic relationship between humanity and other creatures. It serves as a poignant plea, particularly to the white man, to cease the relentless exploitation of Mother Earth driven by greed. Instead, it advocates for the preservation of nature and a peaceful, harmonious coexistence with all...

Continue reading "Chief Seattle's Enduring Message: Honoring Nature's Sacred Balance" »