Study Guide for Final Exam
Disclaimer: this guide is based on the topics listed on the Meta site, by no means does it
guarantee that studying just this guide will give you a good grade. You still need to review old
homeworks, labs, and notes. Also, you ma

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 1090: Engineering Models I
Homework Assignment #2
Due: Week of September 14th at the beginning of your Recitation Section
Problem 1: 1-d Arrays (Vectors)
(a) What MATLAB command will create a vector, t, that starts at 0, increments by 0.25, and
ends

ENED 1090: Engineering Models I
Homework Assignment #5
Due: Week of October 5th 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 #6
Due: Week of October 26th 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 #4
Due: Week of September 28th at the beginning of your Recitation Section
Problem 1: Indexing into 1-d Arrays & Conditional Statements
Create a script file which does the following:
Creates a vector t

ENED 1090: Engineering Models I
Homework Assignment #3
Due: Week of September 21st at the beginning of your Recitation Section
Problem 1: To Dot or Not To Dot
The purpose of this problem is to help you understand when the entry by entry operators are
requ

ENED 1090: Engineering Models I
Homework Assignment #7
Due: Week of November 2nd 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 #9
Due: Week of November 16th at the beginning of your Recitation Section
Problem 1: (Min and Max Functions)
Create the following matrix in MATLAB:
M =
3
3
8
-2
6
0
-3
-3
1
-2
5
-2
-2
-4
4
5
For each of

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

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 9th 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 2 5

ENED 1090: Engineering Models I
Homework Assignment #1
Due: Week of September 7th 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

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

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 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

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

Lab 2: Intersection of Lines
There are a variety of applications for finding the intersection point between two lines. This can range from
finding the time when two objects moving at constant speeds will reach each other to determining the distance
of obj

Lab 1: Introduction to User Defined Functions
Part I: Geometric Series
A simple geometric series is describe by:
If the absolute value of r is less than 1, then the series converges to 1/(1 r).
Write a MATLAB function that:
1. Has one input argument the v