440:127 Introduction to Computers for Engineers Fall 2011
Course Description:
This course is an introduction to MATLAB, a powerful programming language and development
environment for engineers and scientists. Programming concepts in MATLAB are illustrate
MATLAB
The Language of Technical Computing
Programming Tips
Version 7
How to Contact The MathWorks:
www.mathworks.com
comp.softsys.matlab
Web
Newsgroup
info@mathworks.com
Technical support
Product enhancement suggestions
Bug reports
Documentation error r
MATLAB
The Language of Technical Computing
Computation
Visualization
Programming
Programming
Version 7
How to Contact The MathWorks
Web
Newsgroup
www.mathworks.com/contact_TS.html Technical Support
www.mathworks.com
comp.softsys.matlab
suggest@mathworks.
2125.
z
Determine the projected component of force FAC along the
axis of strut AO. Express the result as a Cartesian vector.
3 ft
B
4 ft
C
5 ft
FAB 70 lb
FAC 60 lb
60
SOLUTION
Unit Vectors: The unit vectors uAC and uAO must be determined first. From Fig.
582.
z
Determine the tensions in the cables and the components of
reaction acting on the smooth collar at A necessary to hold
the 50lb sign in equilibrium. The center of gravity for the
sign is at G.
3 ft
C
2 ft
4 ft
2 ft
E
SOLUTION
TDE
B
A
3 ft
2
2
1
=
440:221 Intro to Engineering Mechanics: Statics
Alberto Cuitino, Kevin Lu
Instructors
Cevat Akin, Yang Zhang
Assistants
Lecture 2
Vector operations
Fall 2012
Based on Textbook Material: Engineering Mechanics Statics, 12th Edition, R.C. Hibbeler, Pearson 2
440:221 Intro to Engineering Mechanics: Statics
Alberto Cuitino, Kevin Lu
Instructors
Cevat Akin, Yang Zhang
Assistants
Lecture 1
Introduction to Mechanics
Fall 2012
Based on Textbook Material: Engineering Mechanics Statics, 12th Edition, R.C. Hibbeler, P
440:221 Intro to Engineering Mechanics: Statics
Alberto Cuitino, Kevin Lu
Instructors
Cevat Akin, Yang Zhang
Assistants
Lecture 6
Equilibrium of Particle Systems
Spring 2012
Based on Textbook Material: Engineering Mechanics Statics, 12th Edition, R.C. Hib
4154.
Replace the distributed loading by an equivalent resultant
force and specify where its line of action intersects member
AB, measured from A.
SOLUTION
)3ng = 2sz FRx =1000N
+lFRy= XFy: FRy=900N
FR = W = 1345le
FR = 1.35 kN
900
9 = tartcfw_ = 420 ?
g
Problem 1 (35 points)
If the resultant force acting on the hook
is W = cfw_200X + 800 + 150 cfw_ I
a) Express as a cartesian vector
b) Determine the magnitude of force
c) Determine the coordinate direction
angles of force (,)
Problem 2 (35 points)
The sy
Recitation Problems Week 9
440:127 Spring 2016 M. Gruteser and S. Khan
Please do the following problems during your recitation session, including any additional problems given to you
by your TA. Within 72hrs of your recitation session, you must upload the
Rutgers University
School of Engineering
Fall 2011
14:440:127  Introduction to Computers for Engineers
Sophocles J. Orfanidis
ECE Department
orfanidi@ece.rutgers.edu
week 2
Weekly Topics
Week 1  Basics variables, arrays, matrices, plotting (ch. 2 & 3)
W
Rutgers University
School of Engineering
Fall 2011
14:440:127  Introduction to Computers for Engineers
Sophocles J. Orfanidis
ECE Department
orfanidi@ece.rutgers.edu
week 8
Weekly Topics
Week 1  Basics variables, arrays, matrices, plotting (ch. 2 & 3)
W
Rutgers University
School of Engineering
Fall 2011
14:440:127  Introduction to Computers for Engineers
Sophocles J. Orfanidis
ECE Department
orfanidi@ece.rutgers.edu
week 9
Weekly Topics
Week 1  Basics variables, arrays, matrices, plotting (ch. 2 & 3)
W
Recitation 1
Purpose
a) Learn how to use MATLAB desktop and its various windows (command, workspace, etc.)
b) Learn how to get help (helpdesk, doc, etc.)
Problems (Note, remember to get help from Matlab, when you meet difficulties.)
1. Use Matlab to calcu
Recitation1
yun
Yun Jiang
Teaching Assistant
Introduction to Computers for Engineers
Email: yunjiang@rci.rutgers.edu
Office: Engineering Building
AWing 210
Office Hours: W 9:30am11:30am
How to access MATLAB
remotely
Using SSH to access
http:/ecs.rutg
Recitation
40mins
Practice Exercises 2.3
Page 23
2.3
2.6
Please save your work as
2.10
yourname_rec1.m
2
3
and upload it on sakai> Dropbox
40mins
40mins
Practice Exercises 2.4
2.8
2.12
2.17
Page 30
What does a.*b mean?
a = [1 2 3 4];
% row vector
b = [5
Recitation
60 mins
Practice Exercises
20 mins
1
3.21
Please save your work as
yourname_rec2.m
and upload it on sakai> Dropbox
You can find the solutions of all the Practice Exercises on your
book Appendix B.
% Practice Exercise 3.2
What is the function t
% Practice Exercise 3.2
What is the function that gives the absolute value?
How to find the square root of 3?
Create a vector x from 9 to 12 with increment of 3.
What is the function that gives the remainder of x divided by 2?
What is the function that g
RecitationWeek7
Please prepare a pen or pencil.
Get your handouts!
Today, we will be quite busy!
Logical Operators &, , ~, &, 
~1
0 logically means False (0)
Any nonzeros logically means True (1)
~0
1&1
1&0
&
0&0
Logical AND
both true are true

1
Recitation Problems Week 8
440:127 Fall 2011 S. J. Orfanidis
Please do the following problems during your recitation session, including any additional problems given
to you by your TA.
1. Consider the linear system:
4x1 + 2x2 + x3 = 11
x1 + 2x2 = 3
2x1 +
clc
clear all
%Riken Patel
%Matlab #8
ection 11
%Question #1a
D = linspace(0,10,101); %gives equally spaced values
f = @(x) x./(x.^2+10);
y = f(D);
[y0,i0] = max(y) %gives max value
x0 = D(i0)
% #1b
[q,u] = fminbnd(@(x)  f(x),0,10) 0inds the min value
u