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

Sort by
Subject
Level

Essential Git Commands for Version Control

Classified in Design and Engineering

Written on in English with a size of 4.08 KB

Essential Git Commands Reference

Core Repository Management

COMMAND NAMEUSE
git initInitialize a local Git repository.
git add <filename>Move a particular file to the staging area.
git add .Move all files to the staging area.
git commit -m "commit message"Create a new commit in Git with a descriptive message.
git statusCheck the status of the current repository and list changed files.
git logShow the list of all commits made on a branch.
git log --onelineView commit IDs in a brief, one-line format.
git diffShow the changes you have made in a file.
git diff HEADShow the difference between the working directory and the last commit.
git config --global user.name "name"Set the global Git configuration for the username.
git config --global user.email "
... Continue reading "Essential Git Commands for Version Control" »

Robotics Fundamentals and EV3 Programming Basics

Classified in Design and Engineering

Written on in English with a size of 3.24 KB

Introduction to Robotics

Defining Robots, Androids, and Cyborgs

A robot is an automatically guided machine that can perform tasks on its own or with specific guidance. Robots are used in many applications and industries.

An android is a robot designed to have human characteristics. They usually feature realistic skin and integrated sensors that enable them to react to touch.

A cyborg is a being that consists of both biological and artificial parts.

Hardware Configuration and Ports

When working with EV3 hardware, components are connected to specific ports:

  • Motors: Connected to Ports A, B, C, and D.
  • Sensors: Connected to Ports 1, 2, 3, and 4.

Input Devices and Sensors

Input devices allow a robot to receive information from its environment:

  • Camera: Used
... Continue reading "Robotics Fundamentals and EV3 Programming Basics" »

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

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