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

Sort by
Subject
Level

Master Essential Git Commands for Efficient Development

Posted by Anonymous and classified in Design and Engineering

Written on in English with a size of 12.56 KB

Essential Git Commands and Code Examples

Package/MethodDescriptionCode Example
git addUsed to move changes from the working directory to the staging area.git add sample.md
git add .Allows moving all changed files into the staging area for GitHub repositories.git add .
git amUsed to apply patches emailed to the repository.git am < patchfile.patch
git branchAllows creating an isolated environment within the repository to make changes.git branch <new-branch>
git checkoutAllows viewing and switching between existing branches.git checkout <existing-branch>
git checkout mainAllows switching to the main branch.git checkout main
git cloneAllows creating a copy of a remote repository.git clone <repository-url>
git commitAllows taking staged
... Continue reading "Master Essential Git Commands for Efficient Development" »

Synthetic Fibers and Polymer Tacticity Properties

Posted by Anonymous and classified in Design and Engineering

Written on in English with a size of 2.78 KB

Kevlar: High-Strength Synthetic Fiber

Kevlar is a strong, lightweight synthetic fiber made from a polymer called poly-para-phenylene terephthalamide. It is formed by the polycondensation of p-phenylenediamine (C₆H₄(NH₂)₂) and terephthaloyl chloride (C₆H₄(COCl)₂). It has high strength, is lightweight, heat resistant, tough, and durable. It is used in ropes, cables, tires, sports equipment, and bulletproof vests.

Terylene (Dacron): Durable Polyester Fiber

Dacron or Terylene is a strong, wrinkle-free synthetic polyester fiber used in fabrics, ropes, and industrial materials. It is made from ethylene glycol and terephthalic acid through condensation polymerization.

Formula: [–OC–C₆H₄–CO–O–CH₂–CH₂–]ₙ

It is strong... Continue reading "Synthetic Fibers and Polymer Tacticity Properties" »

Understanding Beams, Poisson's Ratio, and Hooke's Law

Classified in Design and Engineering

Written on in English with a size of 2.33 KB

 simply supported beam is a structural element supported at both ends, typically resting on supports that allow notation but prevent vertical olisplacement. It is is free to bend under applied loads and is commonly used in bridges and buildings///continuas beam is a structural element that extends over multiple supports, with more than two supports along its length. It distributes loads. Mare evenly, reducing bending moments and deflection compared.//////Overhanging beam An overhanging beam is a beam that extends beyond one or both of its supports, creating a cantilevered section. This type of beam combines characteristics of both simply supported and cantilever beams, experiencing bending moments and shear forced in the overhanging portion.... Continue reading "Understanding Beams, Poisson's Ratio, and Hooke's Law" »

Key Terms in Production and Inventory Management

Classified in Design and Engineering

Written on in English with a size of 4.14 KB

Inventory Management

Safety Stock: The amount of inventory carried in addition to the expected demand.

Stock Keeping Unit (SKU): A common term used to identify an inventory item.

Material Requirements Planning (MRP)

Available to Promise: A feature of MRP systems that identifies the difference between the number of units currently included in the master schedule and actual (firm) customer orders.

Bill of Materials (BOM): A computer file that contains the complete product description, listing the materials, parts, and components, and the sequence in which the product is created.

Closed-loop MRP: The use of actual data from the production system to continually update the MRP system. This feedback is provided so that planning can be kept valid at all... Continue reading "Key Terms in Production and Inventory Management" »

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" »

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" »

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" »

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" »