UNIT I
ENGINEERING ETHICS
Syllabus: Senses of 'Engineering Ethics'  variety of moral issues  types of inquiry  moral dilemmas  moral
autonomy  Kohlberg's theory  Gilligan's theory  consensus and controversy Models of Professional Roles theories abo
EE 214 Lab Exercise 3: Random Variables and Joint Distributions
General Instructions when submitting machine problems and lab exercises
1. Answers to the questions must be submitted in PDF format.
2. Your Matlab codes/scripts should be executable from the
EE 214 Homework 2: Random Variables and Distributions
Instructions: Answer each question as completely as possible. Use the normal
distribution table provided in the UVLE page.
1. In a certain junior Olympics, javelin throw distances are well
approximated
EE 214 Lab Exercise 2: Random Variables
due on Oct. 12, 2016, 6pm
General Instructions when submitting machine problems and lab exercises
1. Answers to the questions must be submitted in PDF format.
2. Your Matlab codes/scripts should be executable from t
EE 214 Problem Set 2: Bivariate Random Variables, Central Limit Theorem
and Estimation
Instructions: Answer each question as completely as possible. Use the normal
distribution table provided in the UVLE page.
1. Let X:N(2,4)1, Y:N(1,3), where the r.v.s
Mathematics 55
Exercises 9  Triple Integrals II
I. Cylindrical Coordinates
1. Use cylindrical coordinates to find the volume of the solid in the first octant bounded by the planes
y = 2z, x = 0, z = 0 and the cylinder x2 + y 2 = 4.
2. Suppose that G is t
Mathematics 55
Exercises 11  Line Integrals, Greens Theorem
I. Line Integrals
2
Z
t
~
1. Evaluate
2y ds, where C is the curve described by R(t)
=
, t , t [0, 1].
2
C
Z
t3 2
~
~
~
~
2. Evaluate
F dR, where F (x, y, z) = h2x, 0, 2zi and C is the curve de
Mathematics 55
Exercises 10  Vector Fields, FTLI
I. Curl and Divergence
1. Find the curl and divergence of F~ (x, y, z) = hex sin z, yex , z tan yi at the origin.
2. Given F~ (x, y, z) = hz y, x z, x yi, compute for div F~ and curl F~ .
3. Consider the v
Name:
SN:
EEE 13 Quiz 2
CGI, Database Concepts, and SQL
Instructions: Write all your answers on the blank space provided.
1. Why do we assign a name attribute to <input/> tags? Why should name be unique
across multiple <input/>s?
> We assign a name to <i
Mathematics 55
Triple Integrals
each of length zk .
Recall.
b
Z
1. Single Integral:
Thus, the volume of each subbox is
f (x) dx
a
Vijk = xi yj zk .
Generally, this represents the net signed area of the
region bounded by the curve y = f (x) and the xaxis o
Mathematics 55
Exercises 8  Triple Integrals I
Do as indicated.
1. Evaluate the following integrals.
ZZZ
(a)
(xy + z 2 ) dV where G = cfw_(x, y, z) : 0 x 2, 0 y 1, 0 z 3
ZG
ZZ
12xy 2 z 3 dV where G = [1, 2] [0, 3] [0, 2]
(b)
Z
G
0
Z
2e Z /3
y ln z tan x
Mathematics 55
1st Semester, A.Y. 20162017
THQ
Homework 3
Work independently. Do not consult anyone except your instructor. Provide neat and clear solutions.
Due: 04 October 2016 (Tuesday) at the start of the class. Use yellow pad for your work.
1. Let G
Mathematics 55
1st Semester, A.Y. 20162017
THQ
Homework 4
Work independently. Do not consult anyone except your instructor. Provide neat and clear solutions.
Due: 18 October 2016 (Tuesday) at the start of the class. Use yellow pad for your work.
Do as in
Mathematics 55
Triple Integrals in Spherical Coordinates
Spherical Coordinate System
Let P (x, y, z) be a point in the 3D space and P 0 Examples.
be its projection onto the xyplane.
in rectangular coordinates
1. 2, ,
4 3
2. (0, 2 3, 2) in spherical coo
EEE 10
Mechanical TVs:
German Paul Nipkow received the first patent
for a TVlike machine in 1884
used a large spinning, scanning disk that
broke a picture into pieces and then
reassembled it on a picture receiver.
John Logie Baird first (mechanical) v
EEE 10
Not really invented by Thomas
Edison but he perfected it.
At the base, it has two metal
contacts, which connect to the ends
of an electrical circuit.
The metal contacts are attached to
two stiff wires, which are attached to
a thin metal filament
EEE 10
The telegraph was first conceived of in the
1700s.
In 1837, Charles Wheatstone opened the first
commerical telegraph line between London and
Camden Town, a distance of 1.5 miles.
Samuel Morse designed a line to connect
Washington, DC and Baltimo
University of Toronto
Department of Computer Science
Engineering vs. Science
Lecture 3:
What is Engineering?
create knowledge
study the world as it is
are trained in scientific method
use explicit knowledge
are thinkers
Engineering Projects
create knowled
EEE 10
Radio began in 1888 when German
physicist Heinrich Hertz
demonstrated the existence of radio
waves (Radio waves have the
lowest frequency in the EM
spectrum)
Guglielmo Marconi built the first ever
practical radio transmitter (morse
code).
Regina
Programming Applications in Electrical and Electronics Engineering
EEEI EEE 13

Winter 2010
EEE 13
Lecture 2
GUI
HTML
CSS
User Interfaces
Method for a computer or device to interact with
a user
Device receive inputs/command
Device provides feedback/response
General types of user interface for computers
Commandline (textbased)
Graphical User In
Programming Applications in Electrical and Electronics Engineering
EEEI EEE 13

Winter 2010
Trees
Tree Properties
Level/Depth of a node one higher than the level of its
parent (root a level 0);
Height of a tree maximum of the levels of the tree's
nodes
Path length of a tree sum of the levels of all the
tree's nodes
Internal path length of a tree
Programming Applications in Electrical and Electronics Engineering
EEEI EEE 13

Winter 2010
Time, Timers and Signals
EEE 13
1
Applications of Times and
Timers
Process scheduling
Timeouts
network protocols
User input
Periodic updates and system statistics
Event management
2
POSIX Time
POSIX specifcation
Time in terms of seconds since Epoch
1 day
Programming Applications in Electrical and Electronics Engineering
EEEI EEE 13

Winter 2010
Abstract Data Types
Stacks and Queues
Abstraction
A concept, not pertaining to a particular instance
Control Abstraction
e.g. Standard library functions, Arithmetic operations
Data Abstraction
Creating new data types with new
functionalities/properties
De
Programming Applications in Electrical and Electronics Engineering
EEEI EEE 13

Winter 2010
Symbol Table ADT
Hashing
Symbol Table Implementations
KeyIndexed
Array
Insert
O(1)
Search
O(1)
Sequential
Balanced
Binary Search
Search
BST
O(1)
O(N)
O(log(N)
O(N)
O(log(N)
O(log(N)
Recall the KeyIndexed Array
It uses the search key as an array index
No
Programming Applications in Electrical and Electronics Engineering
EEEI EEE 13

Winter 2010
EEE 13
Review
C Programming Language
/* Identify and describe the parts */
#include <stdio.h>
#define HELLOCNT
5
int main(int argc, char *argv[ ])
cfw_
int i;
for (i = 0; i < HELLOCNT; i+)cfw_
printf("Hello World\n");
return 0;
Data Types
Integral types
Programming Applications in Electrical and Electronics Engineering
EEEI EEE 13

Winter 2010
Lecture 4
Introduction to Database
Database Management for
Strategic Advantage
We live in the Information Age
Information used to make us more
productive and competitive
Database can be found everywhere: POS in
Supermarket, Banks, SMS logs, Call logs,
e
Programming Applications in Electrical and Electronics Engineering
EEEI EEE 13

Winter 2010
Symbol Table ADT
Trees and BST
Searching Problem
Searching is done prior to data processing
Data is usually organized into records or items.
Each item has a "key" used to locate it
Key data is extracted from the actual data
Examples:
Managing the account
Programming Applications in Electrical and Electronics Engineering
EEEI EEE 13

Winter 2010
Linux I/O System Calls
EEE 13
Linux I/O
Linux provides uniform access to most
devices or fle
Five major functions
open()
close()
read()
write()
ioctl()
open() Syntax
NAME
open, creat
 open and possibly create a file or device
SYNOPSIS
#include <sys/types