Notes, summaries, assignments, exams, and exercises for Design and Engineering for Other courses

Master Essential Git Commands for Efficient Development

Design and Engineering12.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" »

Industrial Piping Support Systems and Classifications

Design and Engineering2.81 KB

Detailed Analysis of Piping Support Systems

This document explains different piping supports in detail.

Classification Based on Function and Rigidity

Rigid Supports

These supports provide completely stiff resistance, preventing movement in specific directions. They do not allow for thermal expansion.

  • Anchor (Fixed Support): Restrains the pipe in all six degrees of freedom (three translational, three rotational). It completely locks the pipe in place.
  • Restraint / Guide: Allows the pipe to slide along its longitudinal axis but restricts lateral (side-to-side) movement.
  • Stop / Directional Anchor: Allows movement in some linear directions but blocks it completely in another (e.g., preventing forward axial movement while allowing side movement).

Elastic

...
Continue reading "Industrial Piping Support Systems and Classifications" »

Digital Marketing and Web Development Fundamentals

Design and Engineering6.17 KB

Digital Marketing (DM)

Overview

DM promotes brands through digital channels globally, offering targeted, personalized, cost-effective, and measurable marketing solutions.

Changes in E-commerce

Before

  • Audience and medium-centered
  • Periodic updates
  • Scarcity of information
  • Stages & consent-driven interactions
  • Unidirectional communication
  • Focus on information dissemination

Now

  • User-centered
  • Multimedia content
  • Content-centered
  • Real-time updates
  • Abundance of information
  • Hypertext navigation
  • Knowledge sharing
  • Two-way communication

Four DM Strategies

  1. Database Marketing (DB): Designing and communicating the brand (e.g., Coca-Cola) to increase engagement, enhance customer experience, and cater to both old and new customers.
  2. Customer Experience Design (CXD): Providing the
...
Continue reading "Digital Marketing and Web Development Fundamentals" »

Digital Electronics: DACs, ADCs, Memory, and Logic Fundamentals

Design and Engineering11 KB

This document provides a detailed, exam-ready note sheet covering essential topics in digital electronics, including key points, formulas, comparisons, and revision tips. The content is structured for quick and effective study.

R-2R Digital-to-Analog Converter (DAC)

Definition:
A digital-to-analog converter that converts a binary input to an analog voltage using only R and 2R resistors. This design is common in ICs due to its simplicity and accuracy.

Operation:

  • Each bit controls a switch connecting to Vref (1) or GND (0).
  • The ladder network ensures each bit contributes a weighted current.
  • Output voltage formula:

V_{out} = V_{ref} \times \frac{D}{2^n} \quad (D = \text{decimal equivalent of input})

Advantages:

  • Only two resistor values, simplifying IC fabrication.
...
Continue reading "Digital Electronics: DACs, ADCs, Memory, and Logic Fundamentals" »

Essential Linux & Git Commands: A Quick Reference

Design and Engineering5.77 KB

Linux

Command

Description

Command

Description

cdChange the current working directory.lsList files and directories.
pwdPrint the current working directory.cpCopy files and directories.
echoDisplay a message.mvMove or rename files and directories.
historyDisplay a list of previously executed commands.rmRemove files.
exitTerminate the current shell session.mkdirCreate a new directory.
typeDisplay information about a command.rmdirRemove a directory.
bgPut a job in the background.catConcatenate and display files.
killSend a signal to a process to terminate it.touchCreate an empty file.
waitWait for a process to complete.chmodChange file permissions.
readRead a line of input from the user.chownChange file ownership.
printfFormat and print a message to the console.
...
Continue reading "Essential Linux & Git Commands: A Quick Reference" »

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

Design and Engineering2.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" »

Network Design Optimization: Core Node Placement Model

Design and Engineering3.49 KB

Optimization Problem Setup and Initialization

The following code initializes parameters and sets up the optimization problem structure using Net2Plan's framework.

Initialization of Parameters and Variables


final double C = Double.parseDouble(algorithmParameters.get("C"));
final int K = Integer.parseInt(algorithmParameters.get("K"));
netPlan.removeAllLinks();

OptimizationProblem op = new OptimizationProblem();
final int N = netPlan.getNumberOfNodes();

// Decision Variables
op.addDecisionVariable("z_j", true, new int[] {1, N}, 0, 1); 
// z_j: 1 if location j has a core node (Array of N positions)

op.addDecisionVariable("e_ij", true, new int[] {N, N}, 0, 1); 
// e_ij: 1 if access node at location i is connected to a core node in j

Defining Input

...
Continue reading "Network Design Optimization: Core Node Placement Model" »

Synthetic Fibers and Polymer Tacticity Properties

Design and Engineering2.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" »

Core Engineering Mechanics and DC Motor Principles

Design and Engineering1.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" »

Mechanical Design Principles and Component Analysis

Design and Engineering200.83 KB

Factor of Safety in Mechanical Design

Why factor of safety is necessary in the design of mechanical elements? Discuss important factors influencing the selection of factor of safety.

Why Factor of Safety is Necessary (2 marks)

  • The factor of safety is crucial in mechanical design to account for uncertainties and potential risks.
  • It provides a buffer against failure due to variations in material properties, manufacturing inaccuracies, and unpredictable loads.
  • It ensures the reliability and safety of mechanical components, preventing damage to machinery and harm to people.

Factors Influencing Selection (3 marks)

  • Material Properties: Factors include the material's yield strength, ultimate tensile strength, fatigue strength, and ductility. Brittle materials
...
Continue reading "Mechanical Design Principles and Component Analysis" »