Vo
Nhan Vo
Dr Andrei Dragomir
BIOE 1397 CRN 37479
03 Sept 2012
Homework Assignment #1
1. A high-level programming language does not instruct a computer to compute
more than a lower-level programming language. All of programming languages
that people use a

Vo
Nhan Vo
Dr Andrei Dragomir
BIOE 1397 CRN 37479
03 Sept 2012
Homework Assignment #2
1. If every student is assigned a unique bit pattern, the number of bits required to do
this is 6, because 6 bits can perform 26=64 students and 6 is the minimum
number

Homework 5
1. Use a while loop to determine how many terms in the series 2k, k=1,2,3 are required
for the sum of the terms to exceed 2000. What is the sum for this number of terms?
2. Consider array A
Write a program that computes array B by c

Homework 6
1. Plot the function y = 10(1-e-x/4) over the interval 0 x xmax , using a while loop to
determine the value of xmax such that y(xmax) = 9.8. (Use a step of 0.01 when plotting the
function y)
2. The function f(x) = ex can be represented in a Tay

Homework 7
1) Write a MATLAB function that will calculate the training heart rate (THR). The formula is
given below:
- for female: THR = [(206 88 * AGE) RHR] * FITNESS + RHR
- for male: THR = [(220 - AGE) RHR]* FITNESS + RHR
Where AGE is the persons age,

Homework 8
1. An objects acceleration is given by a(t)=7t*sin(5*t) [m/s^2] Compute its velocity at 10 seconds if
its initial velocity is zero.
2. A certain signal y(t) is defined as y(t)=sin(2*pi*60*t)+cos(2*pi*25*t):
Apply a low pass filter at 5Hz, 40Hz