0.0. 1 math 20300 ee matlab final examination ia (spring 2007)

0.0. 1

Math 20300 EE Matlab Final Examination IA (Spring 2007)

Instructions: Answer all questions in Part I in the space provided. No calculators are permitted. Matlab is the

only computational tool permitted on the exam.

All answers are to printed legibly and completely on these sheets. Correct punctuation is important. In other

words, you must include or not include commas, brackets, colons, semi-colons, etc. where appropriate. No computer

printouts will be accepted. Unless otherwise noted, you can assume that all output is meant to be displayed.

Part I: Answer all 10 questions in this part. No partial credit for incorrect answers. Please

print legibly. Total of 60 points.

1. (5 points) State a single Matlab command that will assign to the variable x the vector

[5; 10; 15; : : : ; 990; 995; 1000] without displaying the result.


2. (5 points) What Matlab command will write the text My graph” as the title of a graph?


3. (5 points) If x = [1 2 3 4], what Matlab expression involving x will produce the output

[1 22 33 44], i.e., [1 4 27 256]?


4. (5 points) Which of the following symbols is used to begin a comment in an M-¯le? (Circle

the correct choice.)


5. (5 points) How would you create a vector containing 20 equally spaced numbers in the interval


6. (7 points) State the command constructs f(x; y) = x+y

x2 +y2 as an anonymous vectorized

function of two variables.


7. (7 points) What is the exact value of

R 4

0 x log(1 +


x) dx? (In this case a decimal answer will

not be considered exact.)


8. (7 points) Find Matlab’s numerical estimate for the value of

Z 1




1 + x2



9. (7 points) If z = sin(xy)

cos(x2 +y2)

, ¯nd the numerical value of @2z

@x2 at x = 1, y = 2.


10. (7 points) In the series of commands below, a student is trying to generate a plot of

z = x2 + y2

over the rectangle where 0 6 x 6 4, and 0 6 y 6 3, without using symbolic variables. In the

blank lines provided below, insert the appropriate command(s) needed to complete the task.


11. Suppose f(x; y) = sin(3x + y) ¡ 2 cos(x ¡ y).

a) In the spaces below, state a sequence of Matlab commands that will produce 15 labeled

contour curves for f(x; y) over the square S = f(x; y) j 0 6 x 6 2; 0 6 y 6 2g.


b) Based on the contour plot you found in a) determine whether the function has any critical

points in the square S de¯ned in 11a). If there are any such pints, provide estimates from

the graph for their x and y coordinates and provide a justi¯cation from the graph as to

whether these are relative maxima, minima or saddle points.


12. a) Let y = x sin x

1+x2 . You wish to have Matlab compute the formula for y0 and assign this

expression to a variable called dy. Give the exact code that will do this, including any commands

needed to declare symbolic variables. (It is not necessary to show the actual value of the derivative

in your answer.)


b) What Matlab command(s) will evaluate the derivative that you found in 12a) at each of the

x values 1; 2; 3; 4; : : : ; 99; 100?

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our Guarantees

101papers.com is always working towards customer satisfaction. Our professional academic writers always aim at producing comprehensive papers that possess quality and originality at pocket-friendly prices. Students are assured that all their private information is safe with us.

Money-Back Guarantee

101papers.com provides a system where students can request for money-back in case they cancel the order or in the rare instances of dissatisfaction. The refund policy adheres to the company’s term and conditions on money-back.

Read more

Zero-Plagiarism Guarantee

While providing the best professional essay writing services, we guarantee all our students of plagiarism-free papers. All papers produced by our professional academic writers are checked against all web resources and previously completed papers to avoid plagiarism.

Read more

Free Revision Policy

In our urge to provide the best professional essay writing services, we guarantee students of free revision policy. The free revision policy is a courtesy service where students can request for unlimited for their completed papers. We always aim at achieving 100% customer satisfaction rates. The free revision policy is one among many of our major advantages.

Read more

Privacy Policy

At 101papers.com, every student is entitled to total security. Our professional academic writers are always committed to protecting all private information of our customers. We do not share any personal information with third parties. Additionally, we provide safe systems for all online transactions.

Read more

Fair-Cooperation Guarantee

Working with us is the greatest step towards achieving all your academic goals. We always deliver the best professional essay writing services as promised. We, therefore, expect all students to work cooperatively with us, as we work towards achieving our goal, your satisfaction. This way, all services will be delivered accurately and on time.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages