Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. (15 points) (a) Fill in the values of the vector e to convert 'SUMMER' into TPQJAY >> x = SUMMER'; >> e= [1-5-4-3-u >>y-

image text in transcribed

3. (15 points) (a) Fill in the values of the vector e to convert 'SUMMER' into "TPQJAY >> x = SUMMER'; >> e= [1-5-4-3-u >>y- charxte) y = TPQJAY ? ]; ? Fill in values ? Resulting display (b) The statements below calculate the approximate area under the curve y = (x+1) , in the range 1 function and only two intervals. The quad function result is close to the exact area. x 5, using MATLAB's trapz x-1:2:5; y (x+1). 3/4; trapz(x, y), quad(x+1). 3/4', 1,5) What is the approximate percent error using trapz? % error (2 intervals) 21 Change the code and determine the percent error for four intervals. Show only the change in code % error (4 intervals) (c) Create and plot the function y f(x) -sin(x +3 sin(x+1) Choose enough points to get a smooth curve, and include a grid. From your plot, estimate the roots of the equation f(x)-0 in the given range of x. Roots: (there may be more than one)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions

Question

How are we going to work together?

Answered: 1 week ago

Question

Does the writer use an emotional appeal or a logical appeal? Why?

Answered: 1 week ago