9/12/2016
CS 280
Programming Language
Concepts
Command Line Arguments and
Files
1
9/12/2016
Command Line Arguments
When a program executes, the runtime
environment may pass parameters to it
These parameters are strings specified on
the command line when
9/12/2016
CS 280
Programming Language
Concepts
Programming Notes
cctype
1
9/12/2016
cctype
standard header file in C+ distribution
useful utilities for character classification
Testing letters
Does a particular variable contain a letter?
char ch;
if( c
11/21/16
CS 280
Programming Language
Concepts
About Assignment 4
1
11/21/16
Types
The language we created has two types:
string and integer
You should probably create something to
represent those types, and ALSO something
to represent a type error
Exam
9/12/2016
CS 280
Programming Language
Concepts
Strings
1
9/12/2016
Whats a string?
A sequence of characters that are grouped
together and dealt with as a single unit
Different languages handle strings in different
ways, and provide tools to help you dea
11/15/16
CS 280
Programming Language
Concepts
About Assignment 3
1
11/15/16
Notes
Its easier to do the assignment if you convert
the grammar rules to EBNF
Its easier to do the assignment by
implementing a different subclass of
ParseTree for each of the
COURSE SYLLABUS
PHYSICS 111A SECTION #
INSTRUCTOR
For example, James Bourne
OFFICE HOURS
For example, Wednesday 2:30 to 3:30 PM by appointment
TEXTBOOK
Physics 111A Laboratory Manual, 8th Edition, sold by NJIT bookstore
DESCRIPTION
This laboratory course
Physics 111: Mechanics
Lecture 2
Motion in 2-D
NJIT Physics Department
Problem-Solving Hints
Read the problem
Draw a diagram
Choose a coordinate system, label initial and final points,
indicate a positive direction for velocities and accelerations
Label a
Bohdan Morozovskyy
James Marmora
Dylan OKeefe
Nirali Trivedi
Joshua Gallic
Gao
PHYS111A-H01
10/14/16
Translational Static Equlibrium
Introduction:
In this lab, we are going to practice the addition of force vectors and to further
confirm the condition for
Bohdan Morozovskyy
Cohanoschi
PHYS121A-021
07/17/17
Lab 202: Numerical Verification of Gausss Law
Introduction:
Using MATLAB software, we will evaluate Gausss law numerically for different
surfaces and verify that the integral over the surface multiplied
Bohdan Morozovskyy
PHYS121A-021
07/25/17
Cohanoschi
Lab 215: Ohms Law - Current, Voltage, and Resistance Measurements
Introduction:
In this lab, we will set up several circuits and measure the current, voltage, and/or
resistance of said circuits. We will
Bohdan Morozovskyy
Cohanoschi
PHYS121A-021
07/25/17
Lab 205: Parallel Plate Capacitor
Introduction:
The principle of this lab is to understand the principle of a parallel plate capacitor and to
measure the value of capacitance
Experimental Procedure:
Equi
Bohdan Morozovskyy
Cohanoschi
PHYS121A-021
07/17/17
Lab 201: Electric Field by Point Charges
Introduction:
Objective: To compute electric field and corresponding field lines formed by point
charges using MATLAB
Experimental Procedure:
Equipment: MATLAB
Pr
Bohdan Morozovskyy
Cohanoschi
PHYS121A-021
07/17/17
Lab 203: Electric Potential and Electric Field
Introduction:
Using MATLAB, create electric potential and further the electric field to three different
charge configurations. Experimentally find and draw
Physics 121 - Electricity and Magnetism
Lecture 2 - Electric Charge
Y&F Chapter 21, Sec. 1 - 3
History
Electromagnetism
Electric Charge
Quantization of Charge
Structure of Matter
Conservation of Charge
Conductors and Insulators
Coulombs Law Force
Shell Th
Lab 217: RC Circuits
Physics 121A-H04
6 April 2015
Purpose
The purpose of this lab is to observe and analyze the voltage across a capacitor as a function of
time in a circuit containing a resistor and a capacitor connected in series.
Theory
At t=0, the sw
Lab 202: Numerical Verification of Gausss Law
Physsics 121A-H04
23 February 2015
Purpose
Using MATLAB software, the lab was designed to evaluate Gausss Law Numerically for
different surfaces and verify that the integral over the surface multiplied by
the
Lab 216: Circuit Analysis by Kirchhoffs Rules
Physics 121A-H04
30 March 2015
Purpose
This lab was designed to predict and measure currents and voltages in electric currents using
Kirchhoffs Junction Rule.
Theory
Kirchhoffs two rules are the junction and l
Lab 210: Magnetic Field of Helmholtz Coils Bio-Savart Law
Physics 121A-H04
27 April 2015
Purpose
This lab was designed to study the magnetic field on the axis of a coil and relate this to the
geometry of a coaxial pair of coils applying Biot-Savart Law.
T
Objective:
To verify the conservation of mechanical energy in an oscillating spring-mass system.
Theory:
(1) F = k s
Of which magnitude is F = k s
(2) F = mg
Newtons first law since the spring is hung vertically.
(3) mg = k s
Combining equations (1) and (
Objectives
1. To demonstrate the work-energy theorem by measuring the work done on an object by a
constant force and the kinetic energy of the object.
2. To understand how the total work done on the object changes the objects energy.
3. To understand the
Objective
To demonstrate that angular momentum is conserved in inelastic collision.
Theory
(1) L = Itotal
The sum of the rigid bodys rotational motion and angular velocity
(2) L = Ii i = If f
Where angular momentum is conserved and equal before and after
An elevator with m=1000kg is at rest
at one of the floors 20m above the bottom.
Then, the cable supporting
it breaks and the elevator falls freely, but has
a counter weight, M=900kg.
During the fall, what is the tension
in the cable connecting
the 2 masse
Forces: Burglars
New:
F= sum of all the
forces
a=F/(all the mass
that is moving)
Burglars falling
A burglar, M=120kg, sits on an icy
roof; another burglar, m=60kg, is
connected by a rope through a pulley over the side of a
building. M slips; m falls fo
Yasin Baala, Kadeem Spencer, Kevin Wheat, Adrien Salvador, Julian Lenartowicz
PHYS 111A-031
Lab BP: Conservation of Momentum and Energy-Ballistic Pendulum
Introduction
This experiment has two objectives. We are to better understand the laws of
conservatio
Yasin Baala, Kadeem Spencer, Kevin Wheat, Adrien Salvador, Julian Lenartowicz
PHYS111A-031
Lab 106(2): Static and Kinetic Frictions
Introduction
This lab has three objectives. First we are to measure the static and kinetic frictional
forces using a force
Yasin Baala, Kadeem Spencer, Kevin Wheat, Adrien Salvador, Julian Lenartowicz
PHYS111A-031
Lab 114: Uniform Circular Motion
Introduction
This experiment had two objectives. We were to study the motion of a body traveling with
constant speed in a circular
Yasin Baala, Kadeem Spencer, Kevin Wheat, Adrien Salvador, Julian Lenartowicz
PHYS111A-031
Lab 111 Report: Projectile Motion
Introduction
There are 3 objectives of this experiment were. First, we were to study projectile motion
and apply the linear equati
Yasin Baala, Kadeem Spencer, Kevin Wheat, Adrien Salvador, Julian Lenartowicz
PHYS 111A-031
Lab 127: Torque and Rotational Inertia
Introduction
This experiment had two objectives. First we were to experimentally determine the
rotational inertia of a rotat
Yasin Baala, Kadeem Spencer, Kevin Wheat, Adrien Salvador, Julian Lenartowicz
PHYS 111A-031
Lab 121: Rotational Static Equilibrium - Forces on a Strut
Introduction
This experiment had two objectives. We were to obtain attain a better understanding of
torq