Inventory Management Models: EOQ, Reorder Point, and More

Inventory Management Models

Model 1: Single Period Model (Normal Distribution)

  • Purchase price (P): Given as a constant, let’s use p. Selling price (S): Given as a constant, let’s use s. Salvage value (V): Given as a constant, let’s use v. Demand (D): Given as a constant, let’s use d. Standard Deviation of Demand (σ): Given as a constant, let’s use σ. Overage Cost (Co): Co = p – v Underage Cost (Cu): Cu = s – p Critical Ratio (CR): CR = Cu / (Cu + Co) which expands to CR = (s-p) / ((s-p) + (p-v))
Read More

RCCB vs ELCB, Transistor Configurations, Op-Amp Characteristics & More

RCCB vs ELCB Comparison

FeatureRCCB (Residual Current Circuit Breaker)ELCB (Earth Leakage Circuit Breaker)
DefinitionRefers to Residual Current Circuit Breaker.Refers to Electric Leakage Circuit Breaker.
Operation TypeCurrent-operated device.Voltage-operated earth leakage device.
Leakage DetectionEnsures 100% detection of leakage current; senses both AC and DC leakage.Can only detect current flowing back through the main earth wire.
Connection with Earth WireNot connected to the earth wire; trips when
Read More

Circuit Theorems: Vaschy, Thevenin, Norton, and Power Transfer

Vaschy’s Theorems for Null-Action Sources

9k=

Vaschy’s Theorem About Electromotive Sources

Enounce: If we add electromotive voltage sources with equal values on all sides converging to a node by serial connection, the source having identical orientations reported to the common node, then the currents from the sides of the circuit remain unchanged.

Vaschy’s Theorem About Current Sources

Enounce: If along a loop of a circuit we add current sources connected in parallel with the sides of the respective loop,

Read More

Physiology: Homeostasis, Nervous, Sensory, Muscle, Bone, Endocrine, Energetics, Digestive, Respiratory, Cardiovascular, Reproductive, Renal, Immune Systems

Homeostasis, Nervous, and Sensory Systems

Homeostasis and Feedback Loops:

  • Negative Feedback Loops: Essential for maintaining homeostasis. The effector decreases the stimulus. The set point is crucial.
  • Positive Feedback Loops: Typically detrimental, the effector increases the stimulus. The set point is less critical.
  • Pathophysiology: The opposite of homeostasis.

Reflexes: Involuntary, unlearned responses to specific stimuli.

Nervous System Divisions:

  • CNS: Brain and spinal cord.
  • PNS: Peripheral nerves, sensory,
Read More

Motivation and Emotion: Key Concepts and Theories

For hunger, which of the following best illustrates the brain principle *Day-to-day events stir biochemical agents into action”: Food deprivation (dieting) increases ghrelin.

The smell of food, the appearance of food, the time of day, and the presence of other people who are eating all contribute to and regulate the rise and fall of hunger and eating: extra-organismic mechanisms.

The negative feedback systems that regulate and lessen the experience of thirst and inhibit drinking are found in the

Read More

Livestock Diseases, Management, and Production

Livestock Diseases

Anthrax: A peracute, acute, or subacute soil-borne bacterial disease affecting mammals. It is characterized by exudation of dark, tarry blood from natural orifices.

Blackleg: A soil-borne bacterial disease mostly affecting animals aged 2-4 years.

Pneumonic Pasteurellosis: A highly contagious bacterial disease affecting bovines, characterized by bronchitis and pleurisy. Transmission occurs through direct contact.

Contagious Bovine Pleuropneumonia: Caused by Mycoplasma mycoides subsp.

Read More

Database Concurrency, Locking, and Optimization Techniques

Concurrency Control in Databases

Concurrency control addresses issues arising when multiple transactions access a shared database simultaneously. Key problems include:

  • Lost Update Problem: Occurs when two transactions update the same record concurrently, leading to one update being overwritten.
  • Uncommitted Dependency: Happens when a transaction reads data modified by another uncommitted transaction.
  • Inconsistent Analysis: Arises when a transaction reads multiple values, and another transaction modifies
Read More

Project Management: Activity Relationships, Planning, and Agile Methods

Activity Relationships

Activity Relationships

Finish-to-start (FS) Finish-to-finish (FF) Start-to-start (SS) Start-to-finish (SF)

FS: A logical link between two activities in which a successor endeavor cannot begin until the predecessor activity is complete. The most prevalent logical relationship is Finish to Start. The FS connection, F represents the end of action A, and it is at this point that activity B can begin. The second character “S” is the successor rule, making it dependent on the final

Read More

Requirements Engineering: Key Concepts and Practices

Single Statement of Need (SSON) and Non-Functional Requirements (NFR)

SSON (Single Statement of Need) | (Invariant) Forbidden transformations (failure description). NFR: Qualities a system must have: Usability, International, Performance, Environmental, Legal, Security.

Clear, concise, system’s overall goal. Must have: Usability, International, Performance, Environmental, Legal, Security.

How it will accomplish. Stakeholder: Development, Deployment, Maintenance. NFR has two parts:

Source of knowledge.

Read More

Java Code Examples: Network Algorithms & Protocols

Bellman-Ford Algorithm in Java

This code implements the Bellman-Ford algorithm, which is used to find the shortest paths from a single source vertex to all other vertices in a weighted directed graph. It can handle graphs with negative edge weights.

import java.util.Scanner;

public class BellmanFord {
    private int distances[];
    private int numberofvertices;
    public static final int MAX_VALUE = 999;

    public BellmanFord(int numberofvertices) {
        this.numberofvertices = numberofvertices;
Read More