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

Sort by
Subject
Level

Probability and Set Theory: Key Concepts and Formulas

Classified in Mathematics

Written on in English with a size of 621.25 KB

De Morgan's Law

De Morgan's Law: (Flip if the union is true)

g8dOSouHHJeLgAAAABJRU5ErkJggg==

tEHF2bHGd7QAAAABJRU5ErkJggg==

, image of set: [min, max]; one-to-one: horizontal line test; Onto: Image must equal domain; Bijective: one-to-one and Onto


jwZqnYInIm4AAAAASUVORK5CYII=

|| EV

FbMmWWz8fkWEKgiAIwgUQ9zAFQRAE4QKIgCkIgiAIF0AETEEQBEH4UfAD9AVFr05q6ZYAAAAASUVORK5CYII=

||


Possible Outcomes and Probability Calculations

  • Repetition formula: nk
    • Example: 5 awards (k) and 30 students (n), with no limit to awards per student.
  • Permutation formula: P(n, k) = n! / (n - k)!
    • Example: Each student gets 1 award, so the number of students decreases by one each award.
  • No overlap probability: P(n, k) / repetition formula
  • Arrangements: a = slots → a! can be multiplied by arrangements within slots
  • Die sum probability:
    • List combinations that lead to the sum for each die.
    • If a die is rolled multiple times, each combination has (rolls)! permutations.
    • Add
... Continue reading "Probability and Set Theory: Key Concepts and Formulas" »

Python Classes, Objects, and Inheritance Fundamentals

Classified in Computers

Written on in English with a size of 4.11 KB

Understanding Objects in Programming

An object is a software entity that contains data (attributes) and methods. It represents a real-world entity that can be distinctly identified.

Every object has a unique:

  • Identity: The name of the object (e.g., the variable name).
  • State: The data stored in the object, which defines its properties.
  • Behavior: The actions an object can perform, defined by its methods.

Can an object be passed as an argument to a function?

Yes. In Python, objects are passed by reference. This means any changes made to the object's attributes within the function will permanently alter the original object. This behavior is similar to how lists and dictionaries are handled. Think of it as sharing a key to a single locker rather than getting... Continue reading "Python Classes, Objects, and Inheritance Fundamentals" »

Biomarkers and Therapies for Diabetes Insipidus and Kidney Stones

Classified in Medicine & Health

Written on in English with a size of 2.95 KB

Understanding Diabetes Insipidus and Renal Calculi

1. What is a Clinical Biomarker? Name Biomarkers Used to Diagnose DI & Renal Calculi.

A clinical biomarker is a measurable indicator of a biological state or condition.

For Diabetes Insipidus (DI):

  • Serum sodium
  • Osmolality
  • ADH levels
  • Urine osmolality

For Renal Calculi (Kidney Stones):

  • Serum calcium
  • Uric acid
  • Oxalate levels
  • Urine pH

2. What Does a Low Level of ADH Indicate?

A low level of Antidiuretic Hormone (ADH) indicates Diabetes Insipidus (DI) or pituitary gland dysfunction.

3. Explain the Role of Vasopressin in DI.

Vasopressin regulates water reabsorption in the kidneys. In DI, either vasopressin is deficient (central DI) or the kidneys do not respond to it (nephrogenic DI).

4. Explain the Role of Vasopressin

... Continue reading "Biomarkers and Therapies for Diabetes Insipidus and Kidney Stones" »

Numerical Computing & Linear Algebra Essentials

Classified in Mathematics

Written on in English with a size of 198.29 KB

Floating Point Systems & Numerical Error

A Floating Point (FP) System represents numbers as: x = ± (d0 + d1/β + d22 + ... + dt-1(t-1)). The Unit Roundoff (u) is defined as εmachine/2, where fl(1 + ε) > 1.

Rounding to Nearest

When rounding to the nearest representable number, fl(x) = x(1 + ε) where |ε|.

IEEE 754 Standard for Floating Point

Normalized Numbers

If the exponent (e) is not equal to 0, it's a normalized FP number. The value is x = (-1)sign ⋅ β(e - offset) ⋅ (1.d1 d2...dt-1).

Denormalized Numbers

If the exponent (e) is 0, the number is denormalized. The value is x = (-1)sign ⋅ β(e - offset + 1) ⋅ (0.d1 d2...dt-1). The sticky bit 0 is free because it is always determined by the value of exponent e.

Exceptional Values

  • If
... Continue reading "Numerical Computing & Linear Algebra Essentials" »

Orientalism's Impact on 17th-Century European Art and Ceramics

Classified in Arts and Humanities

Written on in English with a size of 3.29 KB

The Influence of Orientalism on 17th-Century European Art and Design

Understanding Orientalism

Orientalism refers to Western attitudes and representations of Asian and Middle Eastern cultures, often characterized by a romanticized and exoticized view. This portrayal emphasized the mysterious and luxurious aspects of Eastern cultures while simplifying and stereotyping their societies. Such representations were prevalent in Western art, literature, and fashion, reflecting Western fantasies more than the actual cultures.

European Trade and Cultural Exchange with Asia

European connections to Asia and the Middle East during the 17th century were facilitated by trade routes like the Silk Road and new maritime routes pioneered by explorers such as Vasco

... Continue reading "Orientalism's Impact on 17th-Century European Art and Ceramics" »

Urban Planning Concepts: Linear City & Regional Analysis

Classified in Geography

Written on in English with a size of 3.53 KB

Modified Urban Plan Characteristics

  • Increased land value
  • Increased number of floors
  • Standardized blocks (100x100m or 125x125m)
  • Wide "Rondas" (50m wide)

The Linear City Concept

Context and Origin

The Linear City was a proposal by Arturo Soria y Mata, a Spanish engineer, architect, and urban planner. He presented his project in 1882, with development commencing in 1894.

Concept and Design

Soria's project proposed an elongated city extending along a main transportation route, with a constant width, creating a linear structure instead of the traditional radial or concentric forms. The linear city was planned to extend approximately 48 km and be about 500 meters in width. An electric tram was proposed to run the entire length of the city.

Urban Characteristics

Land

... Continue reading "Urban Planning Concepts: Linear City & Regional Analysis" »

Essential Network Commands for Troubleshooting and Analysis

Classified in Computers

Written on in English with a size of 3.41 KB

Essential Network Commands

  • tracert Utility

    • Displays the route taken to a destination.
    • Identifies where delays or packet loss occur in the network path.
    • Syntax: tracert <destination>
  • netstat Utility

    • Displays active TCP connections and other network statistics.
    • Useful for monitoring network connections.
    • Syntax: netstat
  • ipconfig Utility

    • Displays IP configuration information.
    • Can be used to release and renew IP addresses.
    • Syntax:
      • Display configuration: ipconfig
      • Release IP address: ipconfig /release
      • Renew IP address: ipconfig /renew
  • nslookup Utility

    • Queries DNS to obtain domain name or IP address mappings.
    • Syntax: nslookup <domain>
  • ping Utility

    • Tests connectivity between two devices by sending ICMP echo requests.
    • Syntax: ping <destination>
    • Common Options:
... Continue reading "Essential Network Commands for Troubleshooting and Analysis" »

Madrid's Urban History: Walls, Planning, and Capital Status

Classified in History

Written on in English with a size of 3.46 KB

Madrid's Urban Evolution: Walls and Planning

Initial Urban Planning and Context

José López Sallaberry and Francisco Andrés Octavio created the initial layout of the Gran Vía in 1910, which included the relocation of the Cibeles Fountain.

Olgyay's diagram shows the type of materials and construction systems suitable for achieving thermal comfort, taking into account the external climatic conditions.

The Foundations of Mayrit (Arab Madrid)

The Mayrit of the Arabs

  • Origin: Madrid (Mayrit) was originally an Arab settlement, established around 850 by order of the Umayyad emir Muhammad I.
  • Fortifications: The initial defensive structure included a fortress and a military citadel. The Arab wall, remnants of which can be seen near the Almudena Cathedral,
... Continue reading "Madrid's Urban History: Walls, Planning, and Capital Status" »

8086 Microprocessor Interrupts: Hardware, Software, and Exceptions

Classified in Computers

Written on in English with a size of 3.1 KB

Types of Interrupts in the 8086 Microprocessor

The 8086 microprocessor utilizes various mechanisms to handle external events and internal errors. These mechanisms are categorized into three primary types of interrupts: Hardware, Software, and Internal (Exceptions).

1. Hardware Interrupts

Hardware interrupts are generated by external hardware devices to request service from the microprocessor. The 8086 supports two hardware interrupt pins:

  • INTR (Interrupt Request)

    This is a maskable interrupt, meaning it can be enabled or disabled using the IF (Interrupt Flag) in the flag register. When an external device wants to interrupt the microprocessor, it sends a signal on the INTR pin.

    The 8086 acknowledges the interrupt if the IF flag is set, and the INTA

... Continue reading "8086 Microprocessor Interrupts: Hardware, Software, and Exceptions" »

Microprocessor vs. Microcontroller: Understanding the Key Differences

Classified in Computers

Written on in English with a size of 2.45 KB

Microprocessor vs. Microcontroller

ii) Differentiate Between a Microprocessor and a Micro-Controller

Microprocessor

Definition:

A microprocessor is a central processing unit (CPU) on a single integrated circuit (IC) chip that performs the processing functions of a computer.

Functionality:
  • It only includes the CPU core and lacks other components like memory, I/O ports, timers, and other peripherals.
  • Requires external components like memory (RAM, ROM), input/output devices, timers, and other peripherals to function as a complete system.
Usage:
  • Primarily used in systems requiring high computational power and flexibility, such as desktop computers, laptops, servers, and high-end embedded systems.
  • Suited for applications where customization of peripherals
... Continue reading "Microprocessor vs. Microcontroller: Understanding the Key Differences" »