Lab 8: Forces on Submerged Objects
A. Background Information
When an object is submerged in a fluid (liquid or gas), it will experience a force due to the
pressure exerted by the fluid on the object. The amount of force depends on the density of the
fluid
ENED 1091 HW #6
NOTE: you will need to download the Homework_6.xlsx file from Blackboard in order to
complete these problems.
Problem 1: The maximum height (H) an object can reach when thrown can be determined from
the velocity (V) and the launch angle wi
Exam 2 Study Guide: Programming in ECE - 2014
Exam #2 Objects (Arrays, Classes and C+ Strings)
We will have exam 2 on March 12 or March 14 during the normal class period in 645 Baldwin Hall.
The exam will cover material from chapters 6, 7, 10, 11 and 13.
1080C Programming in ECE - Exam #2 March 27, 2015
NAME: _ SECTION: _
A
Instructions:
Please read this exam very carefully before starting.
You have 55-minutes to complete this exam.
This exam is closed book.
You will be given a C+ Quick Reference Guid
Guide to GUIs
Getting Started
Creating a GUI
1. At the command prompt, type > guide
2. Select Create New GUI - Blank GUI (Default)
3. Drag and Drop all the components you wish to use into
the layout.
Creating a GUI
Right click on any
component to open the
ENED 1091 HW#4
Due on Recitation Day Week of February 20th
Position(cm)
Problem 1: The graph below shows position measurements (in cm) collected every 0.5 seconds
over a 10 second interval of time.
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PositionMeasurem
/Author : mais saleh
/Filenmae: dice_game.cpp
/description: this game uses switch/case
#include <iostream>
using namespace std;
int main() cfw_
int die1, die2, total;
int play = 1;
while (play = 1)cfw_
cout<"Die 1:";
cin > die1;
cout< "Die 2:"<endl;
cin >
/Author : mais saleh
/Filenmae: dice_game.cpp
/description: this game uses if/else statements to play the dice game.
#include <iostream>
using namespace std;
int main() cfw_
int die1, die2, total;
int play = 1;
while (play = 1)cfw_
cout<"Die 1:";
cin > di
#include <cmath>
#include <string>
using namespace std;
const double PI = atan(1.0)*4.0;
const double PRECISION = 0.00001;
double factorial(double n)cfw_
if (n <0) return -1;
int res = 1,i;
cfw_
for (i=1;i<=n;i+)
res *= i;
return res;
/double check this
Lab 12: CVG Airport Weather Data
You will be working with a dataset of daily weather statistics taken over the last sixty seven
years at the CVG (Cincinnati/Northern Kentucky) Airport. The source of the weather data is the
National Oceanic and Atmospheric
Lab 10: Spreading of a Virus
Background Information
In every field of engineering, it is often necessary to analyze the behavior of extremely complex
systems. Examples of such systems include the cooling of a metal rod in a pool of liquid, the
transfer of
ENED 1090: Engineering Models I
Homework Assignment #8
Due: Week of November 7th at the beginning of your Recitation Section
Problem 1: Work through the following MATLAB code by hand and fill in the table. Then
check your results using MATLAB.
M = [-1 5 2
ENED 1090: Engineering Models I
Homework Assignment #9
Due: Week of November 14th at the beginning of your Recitation Section
Problem 1: (Min and Max Functions)
Create the following matrix in MATLAB:
M =
1
1
6
-4
8
0
-1
-1
-1
-3
3
-4
0
-2
6
7
For each of
ENED 1090: Engineering Models I
Homework Assignment #6
Due: Week of October 24th at the beginning of your Recitation Section
Problem 1: Consider the code show below. Complete the table showing the values for the
variables at the end of each iteration thro
ENED 1090: Engineering Models I
Homework Assignment #1
Due: Week of September 5th at the beginning of your Recitation Section
Instructions:
1. Before you begin editing this document, you must SAVE this document to your laptop or
you will end up losing all
Lab 2: Plotting and Graphical Solutions
I. Getting Started
1. Save this document to your own computer preferably in that Models I folder you
created in recitation last week.
2. As you work through the lab, fill in tables and copy and paste results from MA
ENED 1090: Engineering Models I
Homework Assignment #7
Due: Week of October 31st at the beginning of your Recitation Section
Problem 1: Array Indexing
For this problem, you will need to download the HW7.mat file from Blackboard. Drop it in your
current MA
ENED 1090: Engineering Models I
Homework Assignment #3
Due: Week of September 19th at the beginning of your Recitation Section
Problem 1: Simple Harmonic Motion
Sinusoids are used to model simple harmonic motion as illustrated in the figure below that sho
ENED 1090: Engineering Models I
Homework Assignment #2
Due: Week of September 12th at the beginning of your Recitation Section
Instructions:
1. In addition to this HW2 document, you will also need the excel file posted with HW2:
HydrogenPeroxide.xlsx. Sav
Lab 5: Elastic and Inelastic Collisions (1-d)
The diagram below shows two objects. Object 1 has a mass, m1 (kg) and an initial velocity, v1
(m/s) and Object 2 has a mass, m2 (kg) and an initial velocity, v2 (m/s). A positive velocity
indicates that the ob
Lab 6: Monte Carlo Simulation using Random Values
A. Background Information
One of the powerful uses of computers is to perform simulations of experiments or systems prior
to going to the lab or building a prototype to prove that an idea might work. Many
ENED 1090: Engineering Models I
Homework Assignment #5
Due: Week of October 3rd at the beginning of your Recitation Section
Problem 1: Consider the code show below. Complete the table showing the values for the
variables as the loop progresses. Do this wi
ENED 1090: Engineering Models I
Homework Assignment #4
Due: Week of September 26th at the beginning of your Recitation Section
Problem 1: Grade Calculator
Write a script file that will do the following:
1. Prompt the user using input statements for the fo
Lab 3: Importing CO2 Emission Data and Curve Fitting the Data
Getting Started:
1. Save this lab document on your computer
2. Download the Excel File: UNdata.xlsx located in the Recitation Folder on the metasite
under Lab 3
3. Open the Excel File and take
Lab 11: Traffic Simulation
A. Background Information
As we saw earlier in the semester, one of the powerful uses of the computer is to perform
simulations of real-world systems without needing to create the physical system. These systems
can be as simple
Lab 7: Iterative Algorithms Using While Loops
Introduction:
Computers, microprocessors, and calculators can add, subtract, multiply, and divide. These
operations are done in binary, of course, since numbers are stored in binary.
With this rather limited s
Lab 4: Two Link Robot Arm
Figure 1 shows a diagram of a two-link robot arm and includes the equations for the joint and
gripper positions that were derived in Lecture 4.
Description:
For this lab, you will be creating a function that will include an anima