Notes, summaries, assignments, exams, and problems for Design and Engineering

Sort by
Subject
Level

Core Engineering Mechanics and DC Motor Principles

Posted by Anonymous and classified in Design and Engineering

Written on in English with a size of 1.75 MB

Fundamental Principles of Engineering Mechanics

Principle of Transmissibility: A force acting on a rigid body can be moved to any other point along its line of action without changing its external effect on the body. The magnitude and direction of the force remain the same during this shift. This principle is applicable only to rigid bodies and not when internal stresses or deformations are considered.

Varignon’s Theorem: The moment of a force about any point is equal to the sum of the moments of its components about the same point. In other words, if a force is resolved into components, the algebraic sum of the moments of these components about a point is equal to the moment of the original force about that point.

Parallelogram Law of Forces:

... Continue reading "Core Engineering Mechanics and DC Motor Principles" »

Human-Computer Interaction: Sensory Actuators and Semiotics

Classified in Design and Engineering

Written on in English with a size of 18.75 KB

Can also be including labels of actuators
•– Light
•– Sound
•– Vibrators
•– Solenoids
•– Servos
•– Heat/cool pads
& of Sensors
•– Heartbeat
•– Temperature
•– Skin conductance
•– Pressure and bend sensors
•– Accelerometer
•– Microphone
•– Light sensor
•– Distance
•– Gaze (eye-tracker)
•– Buttons
•– Faders


•Galvanic Skin Response (conductivity)
-offers fast response, but only changes have meaning
•Webcam
-- facial expressions directly convey emotional states, but for mobile applications it would be difficult to mount a camera…
•Speech
-- intonation, rhythm, lexical stress, and other features in speech can be used effectively, but universal affect interpretation difficult
... Continue reading "Human-Computer Interaction: Sensory Actuators and Semiotics" »

Git, Project Management, Linux, and Regex Essentials

Classified in Design and Engineering

Written on in English with a size of 210.28 KB

Git Commands and Concepts

Git key commands and concepts:

  • add (stage changes)
  • commit (with a message)
  • head (most recent commit)
  • branch (alternative history)
  • checkout (enter/exit branch)
  • merge (combine into master)
  • stash (save without commit, -u for untracked files; latest stashes (0) at the top)
  • pop (retrieve a stash)
  • fork (copy code from the source into a repository)
  • pull (pull remote changes and merge into master)
  • revert (undo commits and create a new commit)
  • log (history with most recent commits first, -p for patch details)
  • rm (--cached to remove from staging)
  • fetch (get changes from a remote repository to a local repository without merging them; useful for reviewing changes)
  • pull (fetch + merge)
  • rebase (create a clean/linear commit history by moving commits
... Continue reading "Git, Project Management, Linux, and Regex Essentials" »

Optimizing Network Throughput with Net2Plan and IPOPT

Classified in Design and Engineering

Written on in English with a size of 3.25 KB

Configuring Source Routing and Initializing Routes

To begin, we set the routing type to source routing and clear any existing routes from the design. We then calculate the shortest path for each demand based on the number of traversed links.

/* Set the routing type to source routing */
netPlan.setRoutingType(RoutingType.SOURCE_ROUTING);

/* Remove all the routes in the input design */
netPlan.removeAllRoutes();

/* Create one route for each demand, with the shortest path in number of traversed links */
for (Demand d : netPlan.getDemands()) {
    List<Link> shortestPath = GraphUtils.getShortestPath(netPlan.getNodes(), netPlan.getLinks(), d.getIngressNode(), d.getEgressNode(), null);
    if (shortestPath.isEmpty()) {
        throw new Net2PlanException(
... Continue reading "Optimizing Network Throughput with Net2Plan and IPOPT" »

Angular Data Binding and Lifecycle Hooks

Classified in Design and Engineering

Written on in English with a size of 6.1 KB

Binding

One Way Binding

{{pageTitle}}

Two Way Binding
Property Binding
Attribute BindingOk
Class Binding
Selected
ngClass

{{customer.name}}
Style Binding
ngStyle

{{customer.name}}
Component Binding
Directive Binding
Customer
Event BindingSave
$event

Lifecycle Hooks

OnInitexport class Customer implements OnInit {
ngOnInit() {}
}
OnChangesexport class Customer implements OnChanges {
ngOnChanges() {}
}
AfterViewInitexport class Customer implements AfterViewInit {
ngAfterViewInit() {}
}
OnDestroyexport class Customer implements OnDestroy {
ngOnDestroy() {}
}

Pipes

Upper Case

{{customer.name | uppercase}}

Lower Case

{{customer.name | lowercase}}

Date

{{orderDate | date:'medium'}}

Date Format

{{orderDate | date:'yMMMd'}}

Currency

{{price | currency}}

Percent

{{taxes | percent:

... Continue reading "Angular Data Binding and Lifecycle Hooks" »

Programmable Logic Devices: FPGA, CPLD, SPLD Explained

Classified in Design and Engineering

Written on in English with a size of 2.73 KB

Fixed-function Circuits

Fixed-function circuits. They are manufactured to implement a specified logic function that cannot be altered.

Programmable Logic

Programmable logic uses devices which are manufactured to be programmed and implement different logic functions (they are alterable).

SPLD, CPLD, FPGA

SPLD — Simple Programmable Logic Device. CPLD — Complex Programmable Logic Device. FPGA — Field Programmable Gate Array.

Common Programmable Array Combinations

  • PROM / RAM (Programmable Read Only Memory / Random Access Memory) — also known as a LUT (look-up table).
  • Fixed AND array and programmable OR arrayFPLA / PLA (Fully Programmable Logic Array / Programmable Logic Array). Both arrays, AND and OR, are programmable.

Programming Links and

... Continue reading "Programmable Logic Devices: FPGA, CPLD, SPLD Explained" »

Structural Stability and Influence Lines Analysis

Classified in Design and Engineering

Written on in English with a size of 2.8 KB

Structural Stability

Stability depends on the capacity of the support. Ensure that the system is a structure, not a mechanism. Structures become unstable due to inadequate external support or loading.

Determining Stability

To determine stability, imagine a rigid body in a 2D coordinate system where each point is able to translate and rotate. We calculate the degree of freedom (DOF) using the following formula:

DOF = 3Rb - R - 2H

Conditions for Structural Instability

  • Parallel reactions
  • Concurrent forces

Influence Lines (IL)

An Influence Line (IL) is a graphic representation of the relationship between a component force, restraint reaction, or displacement value and the position of a unit force. There are two primary methods for development: the equilibrium... Continue reading "Structural Stability and Influence Lines Analysis" »

Linear Programming Constraints and Variables: Definitions and Effects

Classified in Design and Engineering

Written on in English with a size of 2.44 KB

Binding Constraint: LHS equals to RHS at optimal ;  Non-binding constraint: LHS is not equal to RHS at optimal

Shadow Price: Amount by which OFV changes if RHS is increased by one unit

Basic Variable: A decision variable which has non-zero value at optimal ;  Non-basic Value: A decision variable which has a value of zero at optimal

Reduced cost: Amount by which the objective function coefficient needs to be decreased before the variable becomes basic

  • Basic var: "Final Value" >0 and "Reduced cost"=0; With allow inc/dec, optimal solution (Final Value) doesn't change, OFV change by (change)*(Final Value); Beyond allow inc/dec, optimal solution and OFV changes by RESOLVE.
  • Non basic var:  "Final Value"=0 and "Reduced cost"≠0; In a MIN,"Reduced
... Continue reading "Linear Programming Constraints and Variables: Definitions and Effects" »

Digital Registers and Logic Family Specifications

Classified in Design and Engineering

Written on in English with a size of 2.95 KB

Digital Registers

As a flip-flop (FF) can store only one bit of data (a 0 or a 1), it is referred to as a single-bit register. A register is a set of FFs used to store binary data. The storage capacity of a register is the number of bits (1s and 0s) of digital data it can retain.

Loading a Register

Loading a register means setting or resetting the individual FFs—inputting data into the register so that their states correspond to the bits of data to be stored. Loading may be serial or parallel:

  • Serial loading: Data is transferred into the register in serial form, i.e., one bit at a time.
  • Parallel loading: Data is transferred into the register in parallel form, meaning all the FFs are triggered into their new states at the same time.

Types of Registers

  1. Buffer
... Continue reading "Digital Registers and Logic Family Specifications" »

Port Sizing and Operations: Key Factors and Considerations

Classified in Design and Engineering

Written on in English with a size of 1.81 KB

Port Sizing: Key Factors

Physical Factors

1. Oceanographic and Meteorological Conditions

These conditions define navigational restrictions. Wind conditions are classified as:

  • Soft: Up to 36 kph
  • Moderate: 36 - 63 kph
  • Severe: 63 - 108 kph

2. Vessel Dimensions

Design vessel dimensions (LOA, breadth, freeboard, draft) are crucial for port design.

3. Vessel Maneuverability

  • High: Light war vessels, cruises, bulk carriers, Ro-Ro vessels, first-generation containerships
  • Medium: Modern war vessels, oil carriers (T-2), bulk carriers, second-generation containerships
  • Low: Aircraft carriers, VLCC tankers, third and fourth-generation containerships, older or damaged vessels

4. Vessel Squat

Two main effects:

  • Vertical movement (sinking)
  • Longitudinal rotation

5. Vessel Movements

Tide... Continue reading "Port Sizing and Operations: Key Factors and Considerations" »