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*

*x*2 +*y*2 as an anonymous vectorized

function of two variables.

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

R 4

0 *x *log(1 +

*p*

*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

0

*e**x*

*p*

1 + *x*2

*dx:*

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

cos(*x*2 +*y*2)

, ¯nd the numerical value of *@*2*z*

*@x*2 at *x *= 1, *y *= 2.

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

*z *= *x*2 + *y*2

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(3*x *+ *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 2*g*.

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+*x*2 . You wish to have Matlab compute the formula for *y**0 *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?

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)

At 111papers.com, we value all our customers, and for that, always strive to ensure that we deliver the best top-quality content that we can. All the processes, from writing, formatting, editing, and submission is 100% original and detail-oriented. With us, you are, therefore, always guaranteed quality work by certified and experienced writing professionals. We take pride in the university homework help services that we provide our customers.

As the best homework help service in the world, 111 Papers ensures that all customers are completely satisfied with the finished product before disbursing payment. You are not obligated to pay for the final product if you aren’t 100% satisfied with the paper. We also provide a money-back guarantee if you don’t feel that your paper was written to your satisfaction. This guarantee is totally transparent and follows all the terms and conditions set by the company.

Read moreAll products that we deliver are guaranteed to be 100% original. We check for unoriginality on all orders delivered by our writers using the most advanced anti-plagiarism programs in the market. We, therefore, guarantee that all products that we submit to you are 100% original. We have a zero-tolerance policy for copied content. Thanks to our strict no plagiarized work rule, you can submit your homework to your professor without worrying.

Read moreTThis is one of the most cherished courtesy services that we provide to help ensure that our customers are completely satisfied with our finished products. Delivering the best final product to our customers takes multiple inputs. 111papers.com prides itself on delivering the best university homework help services in the writing industry. And, in part, our free revision policy is how we do it. What’s more, all our revisions are 100% free without any strings attached.

Read moreClient privacy is important to use. We know and understand just how important customers value their privacy and always want to safeguard their personal information. Thus, all the information that you share with us will always remain in safe custody. We will never disclose your personal information to any third party or sell your details to anyone. 111 Papers uses the most sophisticated, top-of-the-line security programs to ensure that our customers’ information is safe and secured.

Read morePlacing your order with us means that you agree with the homework help service we provide. We, in turn, will endear to ensure that we do everything we can to deliver the most comprehensive finished product as per your requirements. We will also count on your cooperation to help us deliver on this mandate. Yes, we also need you to ensure that you have the highest-quality paper.

Read more
The price is based on these factors:

Academic level

Number of pages

Urgency