This document provides instructions for a computing engineering laboratory assignment involving root finding methods in MATLAB. It consists of 9 tasks testing skills with false position, Newton-Raphson, secant, and modified secant methods. Students are asked to write M-files to locate roots of equations describing physical systems like bungee jumping, chemical reactions, and tank volumes. They must analyze solutions, compare methods, and debug provided code. The tasks involve both numerical techniques and plotting/graphical analysis skills relevant to engineering applications.
I am Bryan K. I am a Matlab Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Matlab, University of Florida, USA. I have been helping students with their homework for the past 7 years. I solve assignments related to Discrete Fourier Transform.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com.
You can also call on +1 678 648 4277 for any assistance with Discrete Fourier Transform Assignments.
I am Simon M. I am an Environmental Engineering Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Environmental Engineering, Glasgow University, UK. I have been helping students with their assignments for the past 8 years. I solve assignments related to Environmental Engineering.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com. You can also call on +1 678 648 4277 for any assistance with Environmental Engineering Assignments.
I am Joe B. I am a Logistics Assignment Expert at statisticshomeworkhelper.com. I hold a Bachelor's Degree in Business Logistics Management, from Texas University, USA. I have been helping students with their homework for the past 3 years. I solve assignments related to business and logistics.
Visit statisticshomeworkhelper.com or email info@statisticshomeworkhelper.com.
You can also call on +1 678 648 4277 for any assistance with Logistic Assignment.
I am Kefa J. I am a Computer Science Assignment Help Expert at programminghomeworkhelp.com. I hold an Ph.D. in Programming, Princeton University, USA Profession.. I have been helping students with their homework for the past 5 years. I solve assignments related to Computer Science.
Visit programminghomeworkhelp.com or email support@programminghomeworkhelp.com.
You can also call on +1 678 648 4277 for any assistance with Computer Science assignments.
I am Nikita L. I am a Digital Signal Processing Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Matlab, University of Alberta, Canada. I have been helping students with their homework for the past 5 years. I solve assignments related to Digital Signal Processing.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com.
You can also call on +1 678 648 4277 for any assistance with Digital Signal Processing Assignments.
I am Kennedy L. I am a Digital Signal Processing Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Matlab, Monash University, Australia. I have been helping students with their homework for the past 6 years. I solve assignments related to Digital Signal Processing.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com.
You can also call on +1 678 648 4277 for any assistance with Digital Signal Processing Assignments.
I am Jack U. I am a Matlab Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Matlab, Middlesex University, UK. I have been helping students with their homework for the past 8 years. I solve assignments related to Data Analysis.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com. You can also call on +1 678 648 4277 for any assistance with Data Analysis Assignments.
I am Dennis K. I am a Logistics Management Homework Expert at statisticshomeworkhelper.com. I hold a master's in logistics, from Warwick University, UK. I have been helping students with their homework for the past 5 years. I solve homework related to logistics management.
Visit statisticshomeworkhelper.com or email info@statisticshomeworkhelper.com.
You can also call on +1 678 648 4277 for any queries.
I am Bryan K. I am a Matlab Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Matlab, University of Florida, USA. I have been helping students with their homework for the past 7 years. I solve assignments related to Discrete Fourier Transform.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com.
You can also call on +1 678 648 4277 for any assistance with Discrete Fourier Transform Assignments.
I am Simon M. I am an Environmental Engineering Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Environmental Engineering, Glasgow University, UK. I have been helping students with their assignments for the past 8 years. I solve assignments related to Environmental Engineering.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com. You can also call on +1 678 648 4277 for any assistance with Environmental Engineering Assignments.
I am Joe B. I am a Logistics Assignment Expert at statisticshomeworkhelper.com. I hold a Bachelor's Degree in Business Logistics Management, from Texas University, USA. I have been helping students with their homework for the past 3 years. I solve assignments related to business and logistics.
Visit statisticshomeworkhelper.com or email info@statisticshomeworkhelper.com.
You can also call on +1 678 648 4277 for any assistance with Logistic Assignment.
I am Kefa J. I am a Computer Science Assignment Help Expert at programminghomeworkhelp.com. I hold an Ph.D. in Programming, Princeton University, USA Profession.. I have been helping students with their homework for the past 5 years. I solve assignments related to Computer Science.
Visit programminghomeworkhelp.com or email support@programminghomeworkhelp.com.
You can also call on +1 678 648 4277 for any assistance with Computer Science assignments.
I am Nikita L. I am a Digital Signal Processing Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Matlab, University of Alberta, Canada. I have been helping students with their homework for the past 5 years. I solve assignments related to Digital Signal Processing.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com.
You can also call on +1 678 648 4277 for any assistance with Digital Signal Processing Assignments.
I am Kennedy L. I am a Digital Signal Processing Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Matlab, Monash University, Australia. I have been helping students with their homework for the past 6 years. I solve assignments related to Digital Signal Processing.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com.
You can also call on +1 678 648 4277 for any assistance with Digital Signal Processing Assignments.
I am Jack U. I am a Matlab Assignment Expert at matlabassignmentexperts.com. I hold a Ph.D. in Matlab, Middlesex University, UK. I have been helping students with their homework for the past 8 years. I solve assignments related to Data Analysis.
Visit matlabassignmentexperts.com or email info@matlabassignmentexperts.com. You can also call on +1 678 648 4277 for any assistance with Data Analysis Assignments.
I am Dennis K. I am a Logistics Management Homework Expert at statisticshomeworkhelper.com. I hold a master's in logistics, from Warwick University, UK. I have been helping students with their homework for the past 5 years. I solve homework related to logistics management.
Visit statisticshomeworkhelper.com or email info@statisticshomeworkhelper.com.
You can also call on +1 678 648 4277 for any queries.
I am Stacy W. I am a Statistical Physics Assignment Expert at statisticsassignmenthelp.com. I hold a Masters in Statistics from, University of McGill, Canada
I have been helping students with their homework for the past 7years. I solve assignments related to Statistical.
Visit statisticsassignmenthelp.com or email info@statisticsassignmenthelp.com.
You can also call on +1 678 648 4277 for any assistance with Statistical Physics Assignments.
Numerical Methods in Mechanical Engineering - Final ProjectStasik Nemirovsky
Final Project for the class of "Numerical Methods in Mechanical Engineering" - MECH 309.
In this project, various engineering problems were analyzed and solved using advanced numerical approximation methods and MATLAB software.
A Novel Cosine Approximation for High-Speed Evaluation of DCTCSCJournals
This article presents a novel cosine approximation for high-speed evaluation of DCT (Discrete Cosine Transform) using Ramanujan Ordered Numbers. The proposed method uses the Ramanujan ordered number to convert the angles of the cosine function to integers. Evaluation of these angles is by using a 4th degree Polynomial that approximates the cosine function with error of approximation in the order of 10^-3. The evaluation of the cosine function is explained through the computation of the DCT coefficients. High-speed evaluation at the algorithmic level is measured in terms of the computational complexity of the algorithm. The proposed algorithm of cosine approximation increases the overhead on the number of adders by 13.6%. This algorithm avoids floating-point multipliers and requires N/2log2N shifts and (3N/2 log2 N)- N + 1 addition operations to evaluate an N-point DCT coefficients thereby improving the speed of computation of the coefficients .
M166Calculus” ProjectDue Wednesday, December 9, 2015PROJ.docxinfantsuk
M166
“Calculus” Project
Due: Wednesday, December 9, 2015
PROJECT WORTH 50 POINTS –
1) NO LATE SUBMISSIONS WILL BE ACCEPTED
2) COMPLETED PROJECTS NEED TO BE LEGIBLE
I. Computing Derivatives (slope of curve at a point) of polynomial functions.
For each of the following functions in a.-e. below perform the following three steps:
1. compute the difference quotient
2. simplify expression from part 1. such that h has been canceled from the denominator
3. substitute and simplify
a.
b.
c.
d.
e. consider , using the results from parts a. through d.,
f. find a general formula for (steps 1 through 3 performed).
II. Show that
Consider the unit circle with in standard position in QI.
a. show that the area of the right triangle (see diagram) is
b. show that the area of the sector (see diagram) is
c. show that the area of the acute triangle (see diagram)
d. set up the inequality
e. multiply the inequality in part d. by . (direction of inequalities is unchanged)
f. take the reciprocal of each term from part e. The direction of the inequality must be reversed because .
g. plug in 0 for for only. The result should be
III. Show that
a. multiply by
b. use trigonometric identity to rewrite the numerator of the expression in part a. in terms of
c. factor the expression in part b. with one factor equal to . (find remaining factor).
d. use the fact that and substitute in the second factor (result is 0)
IV. Show that derivative of
a. find the difference quotient for
(use sum angle formula )
b. factor out of the two terms in the numerator with in part a
c. split up the expression in part b with each term over the denominator h
d. use identities to simplify part c. to
Thus you have shown that if .
0
=
h
c
x
f
=
)
(
b
ax
x
f
+
=
)
(
c
bx
ax
x
f
+
+
=
2
)
(
d
cx
bx
ax
x
f
+
+
+
=
2
3
)
(
(
)
3
2
2
3
3
3
3
:
int
h
xh
h
x
x
h
x
H
+
+
+
=
+
0
1
1
1
.....
)
(
a
x
a
x
a
x
a
x
f
n
n
n
n
+
+
+
+
=
-
-
0
)
(
)
(
)
(
®
-
+
=
h
as
h
x
f
h
x
f
x
f
0
1
sin
®
=
q
q
q
as
q
2
tan
q
=
Triangle
Right
Area
2
q
=
Sector
Area
2
sin
q
=
Triangle
Acute
Area
2
sin
2
2
tan
q
q
q
³
³
q
sin
2
b
a
b
a
b
a
if
1
1
0
,
<
®
<
®
>
q
q
cos
0
1
sin
1
®
£
£
q
q
q
as
0
0
cos
1
®
=
-
q
q
q
as
q
q
cos
1
-
q
q
cos
1
cos
1
+
+
1
sin
cos
2
2
=
+
q
q
q
2
sin
q
q
sin
0
1
sin
®
=
q
q
q
as
0
=
q
q
q
cos
sin
=
h
f
h
f
f
)
(
)
(
)
(
q
q
q
-
+
=
(
)
q
q
sin
=
f
(
)
h
h
h
sin
cos
cos
sin
sin
q
q
q
+
=
+
q
sin
q
sin
0
0
cos
1
1
sin
®
=
-
=
h
as
h
h
and
h
h
q
cos
h
x
f
h
x
f
x
f
)
(
)
(
)
(
-
+
=
q
q
q
q
q
q
cos
0
)
(
)
(
)
(
,
sin
)
(
=
®
-
+
=
=
h
as
h
f
h
f
f
then
f
MATH133: Unit 3 Individual Project 2B Student Answer Form
Name (Required): ____Michael Magro_________________________
Please show all work details with answers, insert the graph, and provide answers to all the critical thinking questions on this form for the Unit 3 IP assignment.
A version of Amdah ...
I am Stacy W. I am a Statistical Physics Assignment Expert at statisticsassignmenthelp.com. I hold a Masters in Statistics from, University of McGill, Canada
I have been helping students with their homework for the past 7years. I solve assignments related to Statistical.
Visit statisticsassignmenthelp.com or email info@statisticsassignmenthelp.com.
You can also call on +1 678 648 4277 for any assistance with Statistical Physics Assignments.
Numerical Methods in Mechanical Engineering - Final ProjectStasik Nemirovsky
Final Project for the class of "Numerical Methods in Mechanical Engineering" - MECH 309.
In this project, various engineering problems were analyzed and solved using advanced numerical approximation methods and MATLAB software.
A Novel Cosine Approximation for High-Speed Evaluation of DCTCSCJournals
This article presents a novel cosine approximation for high-speed evaluation of DCT (Discrete Cosine Transform) using Ramanujan Ordered Numbers. The proposed method uses the Ramanujan ordered number to convert the angles of the cosine function to integers. Evaluation of these angles is by using a 4th degree Polynomial that approximates the cosine function with error of approximation in the order of 10^-3. The evaluation of the cosine function is explained through the computation of the DCT coefficients. High-speed evaluation at the algorithmic level is measured in terms of the computational complexity of the algorithm. The proposed algorithm of cosine approximation increases the overhead on the number of adders by 13.6%. This algorithm avoids floating-point multipliers and requires N/2log2N shifts and (3N/2 log2 N)- N + 1 addition operations to evaluate an N-point DCT coefficients thereby improving the speed of computation of the coefficients .
M166Calculus” ProjectDue Wednesday, December 9, 2015PROJ.docxinfantsuk
M166
“Calculus” Project
Due: Wednesday, December 9, 2015
PROJECT WORTH 50 POINTS –
1) NO LATE SUBMISSIONS WILL BE ACCEPTED
2) COMPLETED PROJECTS NEED TO BE LEGIBLE
I. Computing Derivatives (slope of curve at a point) of polynomial functions.
For each of the following functions in a.-e. below perform the following three steps:
1. compute the difference quotient
2. simplify expression from part 1. such that h has been canceled from the denominator
3. substitute and simplify
a.
b.
c.
d.
e. consider , using the results from parts a. through d.,
f. find a general formula for (steps 1 through 3 performed).
II. Show that
Consider the unit circle with in standard position in QI.
a. show that the area of the right triangle (see diagram) is
b. show that the area of the sector (see diagram) is
c. show that the area of the acute triangle (see diagram)
d. set up the inequality
e. multiply the inequality in part d. by . (direction of inequalities is unchanged)
f. take the reciprocal of each term from part e. The direction of the inequality must be reversed because .
g. plug in 0 for for only. The result should be
III. Show that
a. multiply by
b. use trigonometric identity to rewrite the numerator of the expression in part a. in terms of
c. factor the expression in part b. with one factor equal to . (find remaining factor).
d. use the fact that and substitute in the second factor (result is 0)
IV. Show that derivative of
a. find the difference quotient for
(use sum angle formula )
b. factor out of the two terms in the numerator with in part a
c. split up the expression in part b with each term over the denominator h
d. use identities to simplify part c. to
Thus you have shown that if .
0
=
h
c
x
f
=
)
(
b
ax
x
f
+
=
)
(
c
bx
ax
x
f
+
+
=
2
)
(
d
cx
bx
ax
x
f
+
+
+
=
2
3
)
(
(
)
3
2
2
3
3
3
3
:
int
h
xh
h
x
x
h
x
H
+
+
+
=
+
0
1
1
1
.....
)
(
a
x
a
x
a
x
a
x
f
n
n
n
n
+
+
+
+
=
-
-
0
)
(
)
(
)
(
®
-
+
=
h
as
h
x
f
h
x
f
x
f
0
1
sin
®
=
q
q
q
as
q
2
tan
q
=
Triangle
Right
Area
2
q
=
Sector
Area
2
sin
q
=
Triangle
Acute
Area
2
sin
2
2
tan
q
q
q
³
³
q
sin
2
b
a
b
a
b
a
if
1
1
0
,
<
®
<
®
>
q
q
cos
0
1
sin
1
®
£
£
q
q
q
as
0
0
cos
1
®
=
-
q
q
q
as
q
q
cos
1
-
q
q
cos
1
cos
1
+
+
1
sin
cos
2
2
=
+
q
q
q
2
sin
q
q
sin
0
1
sin
®
=
q
q
q
as
0
=
q
q
q
cos
sin
=
h
f
h
f
f
)
(
)
(
)
(
q
q
q
-
+
=
(
)
q
q
sin
=
f
(
)
h
h
h
sin
cos
cos
sin
sin
q
q
q
+
=
+
q
sin
q
sin
0
0
cos
1
1
sin
®
=
-
=
h
as
h
h
and
h
h
q
cos
h
x
f
h
x
f
x
f
)
(
)
(
)
(
-
+
=
q
q
q
q
q
q
cos
0
)
(
)
(
)
(
,
sin
)
(
=
®
-
+
=
=
h
as
h
f
h
f
f
then
f
MATH133: Unit 3 Individual Project 2B Student Answer Form
Name (Required): ____Michael Magro_________________________
Please show all work details with answers, insert the graph, and provide answers to all the critical thinking questions on this form for the Unit 3 IP assignment.
A version of Amdah ...
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxanhlodge
SAMPLE QUESTION:
Exercise 1: Consider the function
f (x,C)=
sin(C x)
Cx
(a) Create a vector x with 100 elements from -3*pi to 3*pi. Write f as an inline or anonymous function
and generate the vectors y1 = f(x,C1), y2 = f(x,C2) and y3 = f(x,C3), where C1 = 1, C2 = 2 and
C3 = 3. Make sure you suppress the output of x and y's vectors. Plot the function f (for the three
C's above), name the axis, give a title to the plot and include a legend to identify the plots. Add a
grid to the plot.
(b) Without using inline or anonymous functions write a function+function structure m-file that does
the same job as in part (a)
SAMPLE LAB WRITEUP:
MAT 275 MATLAB LAB 1 NAME: __________________________
LAB DAY and TIME:______________
Instructor: _______________________
Exercise 1
(a)
x = linspace(-3*pi,3*pi); % generating x vector - default value for number
% of pts linspace is 100
f= @(x,C) sin(C*x)./(C*x) % C will be just a constant, no need for ".*"
C1 = 1, C2 = 2, C3 = 3 % Using commans to separate commands
y1 = f(x,C1); y2 = f(x,C2); y3 = f(x,C3); % supressing the y's
plot(x,y1,'b.-', x,y2,'ro-', x,y3,'ks-') % using different markers for
% black and white plots
xlabel('x'), ylabel('y') % labeling the axis
title('f(x,C) = sin(Cx)/(Cx)') % adding a title
legend('C = 1','C = 2','C = 3') % adding a legend
grid on
Command window output:
f =
@(x,C)sin(C*x)./(C*x)
C1 =
1
C2 =
2
C3 =
3
(b)
M-file of structure function+function
function ex1
x = linspace(-3*pi,3*pi); % generating x vector - default value for number
% of pts linspace is 100
C1 = 1, C2 = 2, C3 = 3 % Using commans to separate commands
y1 = f(x,C1); y2 = f(x,C2); y3 = f(x,C3); % function f is defined below
plot(x,y1,'b.-', x,y2,'ro-', x,y3,'ks-') % using different markers for
% black and white plots
xlabel('x'), ylabel('y') % labeling the axis
title('f(x,C) = sin(Cx)/(Cx)') % adding a title
legend('C = 1','C = 2','C = 3') % adding a legend
grid on
end
function y = f(x,C)
y = sin(C*x)./(C*x);
end
Command window output:
C1 =
1
C2 =
2
C3 =
3
More instructions for the lab write-up:
1) You are not obligated to use the 'diary' function. It was presented only for you convenience. You
should be copying and pasting your code, plots, and results into some sort of "Word" type editor that
will allow you to import graphs and such. Make sure you always include the commands to generate
what is been asked and include the outputs (from command window and plots), unless the pr.
I am Boris M. I am a Computer Science Assignment Help Expert at programminghomeworkhelp.com. I hold MSc. in Programming, McGill University, Canada. I have been helping students with their homework for the past 7 years. I solve assignments related to Computer Science.
Visit programminghomeworkhelp.com or email support@programminghomeworkhelp.com.You can also call on +1 678 648 4277 for any assistance with Computer Science assignments.
I am Andrew O. I am a Computer Science Assignment Help Expert at programminghomeworkhelp.com. I hold a Ph.D. in Programming, Southampton, UK. I have been helping students with their homework for the past 10 years. I solve assignments related to Computer Science.
Visit programminghomeworkhelp.com or email support@programminghomeworkhelp.com.You can also call on +1 678 648 4277 for any assistance with Computer Science assignments.
MATLAB DOCUMENTATION ON SOME OF THE MODULES
A.Generate videos in which a skeleton of a person doing the following Gestures.
1.Tilting his head to right and left
2.Tilting his hand to right and left
3.Walking
in matlab.
B. Write a MATLAB program that converts a decimal number to Roman number and vice versa.
C.Using EZ plot & anonymous functions plot the following:
· Y=Sqrt(X)
· Y= X^2
· Y=e^(-XY)
D.Take your picture and
· Show R, G, B channels along with RGB Image in same figure using sub figure.
· Convert into HSV( Hue, saturation and value) and show the H,S,V channels along with HSV image
E.Record your name pronounced by yourself. Try to display the signal(name) in a plot vs Time, using matlab.
F.Write a script to open a new figure and plot five circles, all centered at the origin and with increasing radii. Set the line width for each circle to something thick (at least 2 points), and use the colors from a 5-color jet colormap (jet).
G. NEWTON RAPHSON AND SECANT METHOD
H.Write any one of the program to do following things using file concept.
1.Create or Open a file
2. Read data from the file and write data to another file
3. Append some text to already existed file
4. Close the file
I.Write a function to perform following set operations
1.Union of A and B
2. Intersection of A and B
3. Complement of A and B
(Assume A= {1, 2, 3, 4, 5, 6}, B= {2, 4, 6})
MTH 2001 Project 2Instructions• Each group must choos.docxgilpinleeanna
MTH 2001: Project 2
Instructions
• Each group must choose one problem to do, using material from chapter 14 in the textbook.
• Write up a solution including explanations in complete sentences of each step and drawings or computer
graphics if helpful. Cite any sources you use and mention how you made any diagrams.
• Write at a level that will be comprehensible to someone who is mathematically competent, but may
not have taken Calculus 3. Use calculus, but explain your method in simple terms. Your report should
consist of 80−90% explanation and 10−20% equations. If you find yourself with more equations than
words, then you do not have nearly enough explanation. See the checklist at the end of this document.
• One person from each group must present the work orally to Naveed or Ali. Presenters must make an
appointment. Visit the Calc 3 tab: http://www.fit.edu/mac/group_projects_presentations.php
• Submit written work to the Canvas dropbox for Project 2 by October 7 at 9:55PM. The
deadline for the oral presentation is October 7 at 2PM.
Problems
1. You probably studied Newton’s method for approximating the roots of a function (i.e. approximating
values of x such that f(x) = 0) in Calculus 1:
(1) Guess the solution, xj
(2) Find the tangent line of f at xj,
y = f′(xj)(x−xj) + f(xj) (1)
(3) Find the tangent line’s x-intercept, call it xj+1,
0 = f′(xj)(xj+1 −xj) + f(xj)
xj+1f
′(xj) = xjf
′(xj) −f(xj)
xj+1 = xj −
f(xj)
f′(xj)
(2)
(4) If f(xj+1) is sufficiently close to 0, stop, xj+1 is an approximate solution. Otherwise, return
to step (2) with xj+1 as the guess.
See this animation for a geometric view of the process. It simply follows the tangent line to the curve
at a starting point to its x-intercept, and repeats with this new x value until we (hopefully) find a
good approximation of the solution.
Newton’s method can be generalized to two dimensions to approximate the points (x,y) where the
surfaces z = f(x,y) and z = g(x,y) simultaneously touch the xy-plane. (In other words, it can
approximate solutions to the system of equations f(x,y) = 0 and g(x,y) = 0.) Here, the method is
http://www.fit.edu/mac/group_projects_presentations.php
http://upload.wikimedia.org/wikipedia/commons/e/e0/NewtonIteration_Ani.gif
(1) Guess the solution (xj,yj)
(2) Find the tangent planes to each f and g at this point.
z = f(x,y) =
z = g(x,y) =
(3) Find the line of intersection of the planes.
(4) Find the line’s xy-intercept, call this point (xj+1,yj+1),
xj+1 =
yj+1 =
(5) If f(xj+1,yj+1) < ε and g(xj+1,yj+1) < ε for some small number ε (error tolerance), stop,
(xj+1,yj+1) is an approximate solution. Otherwise, return to step (2) with (xj+1,yj+1) as
the guess.
(a) Find equations of the tangent planes for step (2), an equation for their line of intersection for step
(3), and find formulas for xj+1 and yj+1 for step (4).
(b) What assumptions must we make about f and g in order for the method to work? How might
the method fail? Explain in words h ...
Welcome to the Digital Signal Processing (DSP) Lab Manual. This manual is designed to be your comprehensive guide throughout your DSP laboratory sessions. Digital Signal Processing is a fundamental field in electrical engineering and computer science that deals with the manipulation of digital signals to achieve various objectives, such as filtering, transformation, and analysis. In this lab, you will have the opportunity to apply theoretical knowledge to practical, hands-on exercises that will deepen your understanding of DSP concepts.
This manual is structured to provide you with step-by-step instructions, explanations, and insights into the experiments you'll be performing. Each experiment is carefully designed to reinforce your understanding of fundamental DSP principles and help you develop the skills necessary for signal processing applications. Whether you are a student or an instructor, this manual is intended to facilitate a productive and enriching DSP lab experience.
Name _______________________________ Class time __________.docxrosemarybdodson23141
Name: _______________________________ Class time: __________
Prewriting Instructions for Paper 2 (Final Paper due 4/22)
1. Your choices for Paper 2 are posted on blackboard and also listed below.
2. Choose 1 of these paper options. Notice that each choice also mentions the type of paper (comparison, etc.) My paper choice is: _________________________: paper type: _______________.
3. Read the related essay(s) in your Research and Composition textbook.
4. Thursday: write a tentative thesis for paper 2 (one sentence): ______________________________________________________________________________________________________________________________________________________________________________________________________________________.
5. Thursday: write 5 questions that you will need to answer through research to write this paper (for ex. What is the divorce rate for 2012?) Write legibly please.
1.
2.
3.
4.
5.
6. Thursday: go to the library and use the databases to locate at least three sources that will likely give you the information to answer the five questions above. At least one should be a book, at least one should be a database article. In addition, you may use your textbook, internet, or even refer to a film. Write down the all of the information about each source. You will need this information for a works cited page later or to locate the article and book again. You do not need to answer the questions right away, but if you do find the answers, take notes or make a copy of the source.
Source 1: ____________________________________________________________________________________________________________________________________________________________
Source 2: ____________________________________________________________________________________________________________________________________________________________
Source 3: ____________________________________________________________________________________________________________________________________________________________
7. Have any new questions come to mind? What are they? Write them here:
8. Have you revised your thesis? What is it? ___________________________________
_____________________________________________________________________.
9. Write a tentative first paragraph to paper 2 (this includes your thesis):
10. Turn this in Tuesday 3/25 in exchange for your last Q exercise, M&M Color Distribution.
***You need this prewriting exercise completed to receive your instructions and data for this last Q exercise and parts of this exercise will count for your attendance in a week or so.
See next page
Writing Assignment 2 Choices due on or before 4/22
Here are your choices for Writing Assignment 2 due 4/22. Additional research is required for all choices. Two visuals, tables or figures, are required. Your paper will be in MLA format with a works cited page. This paper is approximately 5 pages including a works cited page.
1. Read the essays in Chapter 8. Go .
Welcome to the Digital Signal Processing (DSP) Lab Manual. This manual is designed to be your comprehensive guide throughout your DSP laboratory sessions. Digital Signal Processing is a fundamental field in electrical engineering and computer science that deals with the manipulation of digital signals to achieve various objectives, such as filtering, transformation, and analysis. In this lab, you will have the opportunity to apply theoretical knowledge to practical, hands-on exercises that will deepen your understanding of DSP concepts.
This manual is structured to provide you with step-by-step instructions, explanations, and insights into the experiments you'll be performing. Each experiment is carefully designed to reinforce your understanding of fundamental DSP principles and help you develop the skills necessary for signal processing applications. Whether you are a student or an instructor, this manual is intended to facilitate a productive and enriching DSP lab experience.
Application of thermal error in machine tools based on Dynamic Bayesian NetworkIJRES Journal
In recent years, the growing interest toward complex manufacturing on machine tools and the
machining accuracy have solicited new efforts in the area of modeling and analysis of machine tools machining
errors. Therefore, the mathematical model study on the relationship between temperature field and thermal error
is the core content, which can improve the precision of parts processing and the thermal stability, also predict
and compensate machining errors of CNC machine tools. It is critical to obtain the thermal errors of a precision
machine tools in real-time. In this paper, based on Dynamic Bayesian Network (DBN), a pioneering modeling
method applied in thermal error research is presented. The dependence of thermal error and temperature field is
clearly described by graph theory, and the fuzzy classification method is proposed to reduce the computational
complexity, then forming a new method for thermal error modeling of machine tools.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Dr. Vinod Kumar Kanvaria
Exploiting Artificial Intelligence for Empowering Researchers and Faculty,
International FDP on Fundamentals of Research in Social Sciences
at Integral University, Lucknow, 06.06.2024
By Dr. Vinod Kumar Kanvaria
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
A workshop hosted by the South African Journal of Science aimed at postgraduate students and early career researchers with little or no experience in writing and publishing journal articles.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
1. ENG1060 – Computing for Engineers
Laboratory 7 Page 1 of 9
This laboratory comprises 2% of your final grade.
During your lab session, you will be assessed on your programming
style as well as the results produced by your programs.
Save your work in M-Files called lab7t1.m, lab7t2.m etc
The questions are designed to test your recollection of the lecture material
up to and including lecture 14.
Note: Some of the functions presented would be new to you. You can use
the MATLAB help system to learn more about them.
Task 1
Write an M-file that uses the false position method to determine the mass of the
bungee jumper with a drag coefficient (cd) of 0.25kg/m to have a velocity of 36m/s
after 4s of free fall. (Note: acceleration due to Earth’s gravity is 9.81m/s2). Solve
the equation given below for m.
)(tanh)( tvt
m
gc
c
gm
mf d
d
Your M-file should prompt the user to enter the lower limit and upper limit and
check if the initial guesses bracket a root. If not, your program should prompt the
user for new guesses until the user provides values that do bracket the root.
Your M-file should print the iteration number, xl, xu, xr and f(xr) for each iteration.
Test your M-file for a precision of 0.5% using various initial guesses.
HINT: Substitute your root back into f(m) to check your answer
HINT: You can use graphical method to obtain initial guesses
HINT: You can reuse code provided on Moodle
Faculty of Engineering
Semester 1 - 2016
ENG1060 Computing for Engineers
Laboratory 7
2. ENG1060 – Computing for Engineers
Laboratory 7 Page 2 of 9
Task 2
Consider the following function:
10002008)( 23
xxxxf
Locate the maximum of f(x) for x [-10, 10]. Do this by finding the root of the
derivative of this function. Use the Newton Raphson method to perform root finding.
Select the initial guess yourself after looking at f(x) graphically. Your solution
should achieve a precision of 0.01%. Plot f’(x) and the root on the same figure
Task 3
In a chemical engineering process, water vapor (H2O) is heated to sufficiently high
temperatures that a significant portion of the water dissociates, or splits apart, to
form oxygen (O2) and hydrogen (H2):
H2O« H2 +
1
2
O2
If it is assumed that this is the only reaction involved, the mole fraction, x, of H2O
that dissociates can be represented by:
Where K is the reaction’s equilibrium constant and pt is the total pressure of the
mixture.
If pt =3.5 atm and K = 0.04, write two M-files that uses
a) Bisection method to determine the value of x that satisfies the reaction
equation.
Your M-file should prompt the user to enter the lower limit and upper limit.
If the initial guesses do not bracket a root, your program should keep
prompting the user for new guesses until the user provides values that do
bracket the root.
Your M-file should print the iteration number, xl, xu, xr and f (xr) for each
iteration.
Test your M-file for a precision of 0.1%.
HINT: You can modify the root finding codes provided on Moodle
HINT: You can use graphical method to obtain initial guesses.
3. ENG1060 – Computing for Engineers
Laboratory 7 Page 3 of 9
b) Modified Secant method to determine the value of x that satisfies the
reaction equation.
Your M-file should prompt the user to enter the initial guess and
perturbation factor and print the root to 4 decimal places.
Test your M-file for a precision of 0.1% using various initial guesses.
HINT: You can modify the root finding codes provided on Moodle.
Task 4
You are designing a spherical tank (see figure below) of radius R = 3m, to hold
water for a remote village.
The volume of liquid it can hold can be computer as
where R is the tank radius, h is the depth of water and V is the volume of water
(a) Write an M-file to plot the function and then prompt the user to enter the
initial guess.
(b) In the same M-file, use Modified Secant function file to determine the
depth that the tank must be filled to, so that it holds 30m3 of water. Use a
precision of 0.001% and a perturbation of 0.01.
(c) Modify the modified secant function so that it outputs both the root and the
number of iterations. In the same M-file, print the number of iterations,
approximated root and fzero() root in Command Window.
4. ENG1060 – Computing for Engineers
Laboratory 7 Page 4 of 9
Task 5
A four-bar linkage system is shown above. The first link, a, is an input link (crank) of
length 1. The second link, b, is a coupler link of length 3. The third link, c, is an output
link of length 4. The forth link, d, is the fixed link (ground) of length 5. All lengths are
provided in metres.
The angular position of the output link () of a four-bar linkage corresponding to the
angular position of the input link () can be computed using the Freudenstein’s
equation:
The following parameters must be used for root finding:
x1120°, xu 165°, xi 120°, xi-1 110°, 0.01, precision of 0.05%.
a = 1; b = 3; c = 4; d = 5;
(a) Write an M-file to find the value of for 30°using the Newton-Raphson
method, Secant method and the Modified Secant method.
(Note: You may use MATLAB’s built-in function fzero() to check your
answer.)
(b) Plot the number of iteration versus the absolute percentage error. Use different
data marker and color for different method. Make certain that proper legend is
used.
(c) Compare the efficiencies of the Newton-Raphson method, Secant method and
the Modified Secant method. Which method requires the least iterations to
reach the required precision? Print your explanation in the Command Window
using short sentences. Use a new line for each sentence.
5. ENG1060 – Computing for Engineers
Laboratory 7 Page 5 of 9
Task 6
Many fields of engineering require accurate population estimates. For example,
transport engineers might find it necessary to determine separately the population
growth trends of a city and an adjacent suburb. Given that the population of a city is
declining with time according to
while the population of an adjacent suburb is growing according to
Using the following parameters:
Pc,end=75,000; kc=0.045/yr; Pc,start=100,000; Ps,end=300,000; Ps,start=10,000;
ks=0.08/yr;
Write an M-file to perform the following tasks:
(a) In order to determine the time when the suburb is 20% larger than the city, write
an anonymous function that define the root finding problem in the form of f(x)=0.
Plot a graph of f(x) where x covers 100 years period from the 1st year to the
100th year.
(b) Prompt the user to input the initial guess based on the graph plotted in (a).
(c) Use the False Position method to determine how many years later the suburb
is 20% larger than the city. Use a precision of 0.001%
(d) Assuming that the starting population of the city and suburb (Pc,start & Ps,start)
were recorded in year 2010, calculate which year (round to the nearest year)
the suburb is 20% larger than the city. Print a short sentence to show your
answer.
(e) Calculate the population of the city, Pc(t), and the suburb, Ps(t), when the
suburb is 20% larger than the city based on the answer in (c). Print another
short sentence to show these results.
6. ENG1060 – Computing for Engineers
Laboratory 7 Page 6 of 9
Optional (Ungraded Questions)
Task 7
The figure below shows a uniform beam of length, L, subject to a linearly increasing
distributed load, wo.
The equation for the resulting elastic curve is
where y is the deflection, wo is the distributed load, E is the Modulus of Elasticity
the material, I is the moment of inertia and /L is the length of the beam.
(a) Write an M-file that prompts the user to choose between using the False
Position Method or Newton-Raphson method. Both methods should be
prepared as user defined functions. (Note: At the end of the program, there
is no need to ask user if they want to try again)
(b) In the same M-file, write MATLAB program to determine the point of
maximum deflection to a precision of 1e-10 and the value of the maximum
deflection by finding the root of the derivative of the function (i.e find x where
dy/dx 0 and substitute x in the equation above to calculate y) given L =
0.6m, E = 50,000 kN/cm2, I = 30,000cm4, wo = 2.5kN/cm.
(c) Which method is provides a better solution? Justify your answer in less than
30 words. In the same M-file, print your answer in the Command Window
using fprintf() regardless of the choice of the user input.
7. ENG1060 – Computing for Engineers
Laboratory 7 Page 7 of 9
Note: Be careful with units
Task 8
A colleague new to MATLAB gave you the M-File lab7t8_bugs.m. Correct the
bugs in the file so that it performs modified secant correctly. Answer the questions
in bold as comments in your M-File.
(a) When I attempt to run the M-file, I got the following message:
??? Error: File: lab6t2_bugs.m Line: 17 Column: 34
Unbalanced or unexpected parenthesis or bracket.
At which line does this error occur? How do you correct this error?
(b) After correcting the error in part (a), I attempt to run the M-file again. This time
MATLAB complains about something else:
??? Undefined function or variable 'fxpx'.
Error in ==> lab6t2_bugs at 28
xi = xi-pert*xi*fxi/(fxpx-fxi); % Calculate new estimate
At which line does the real error occur? Why does the error occur? How
do you eliminate this error?
(c) After correcting the errors in part (b), I make my third attempt at running this M-
file. It gives me no error and printed the answer.
The root of the equation is -Inf
Wait! The answer is wrong!!!
Which line in the M-file is incorrect? What changes are required to obtain
correct answer? What was the mistake?
8. ENG1060 – Computing for Engineers
Laboratory 7 Page 8 of 9
Task 9
Aerospace engineers sometimes compute the trajectories of projectiles such as
rockets. A related problem deals with the trajectory of a thrown ball. The trajectory
of a ball is defined by the (x, y) coordinates as shown in the figure below.
The trajectory can be modeled as:
where is the angle in degrees, vo is the initial velocity, x is the distance from the
thrower to the catcher, y0 is the thrower’s elevation and y is the catcher’s elevation,
g is gravity (g = 9.81ms-2)
(a) Write a function that uses the secant method to calculate the root and
number of iterations to get the root. Your function should accept the function,
f, initial guesses xi, xi_1 and the precision as inputs.
function [root, iter] = secant (f,xi,xi_1,precision)
(b) Write an m-file that uses the function from part (a) to find the appropriate
initial throw angle and the number of iterations it takes to find the angle
given that vo = 20m/s ; x = 35m ; y0 = 2m; y = 1m and precision = 0.1%
Note: Your M-file should plot the trajectory path for 0 ≤ ≤ 60 and then prompt
the user to enter the initial guesses (they should be able to guess the initial values
after seeing the graph)
9. ENG1060 – Computing for Engineers
Laboratory 7 Page 9 of 9
Useful Information
When you demonstrate your work in this laboratory session, we will be looking out for
the following:
a) Does the code work accurately and work without intervention?
b) Are there indentations and comments explaining the functionality of the
code/function?
Hint:
% A comment field/line in MATLAB is always preceded
% with a ‘%’ symbol, after which it will turn green –
% indicating it is not a comment.
c) Are you able to create function which takes/outputs variables?
d) Are you able to perform root finding methods?
e) Are you able to justify which root finding method is better?
f) Are your functions/ iterations/ Program control statements properly indented?
After you have completed the demo. Please log on to Moodle and upload your files
there. You will only receive your demo marks if the corresponding files have been
uploaded.