Tutorial1

# Tutorial1 - Shan Feng [email protected] 2010.1.12...

• Notes
• 14

This preview shows pages 1–14. Sign up to view the full content.

Shan Feng 2010.1.12

This preview has intentionally blurred sections. Sign up to view the full version.

ssignment 1 has been posted on the website Assignment 1 has been posted on the website Please hand in assignment 1 to drop off box in mail office in ITB Due: 4:00pm, Wednesday, Jan. 20, 2010 Assignment 1 is required to be finished independently
hich of these are presentable achine Which of these are representable machine numbers in standard IEEE 32-bit binary rmat: format:

This preview has intentionally blurred sections. Sign up to view the full version.

nly the numbers between and 0 a n d Only the numbers between -U and -L, 0 and between L and U can be represented

This preview has intentionally blurred sections. Sign up to view the full version.

rite genera lprogram evaluate function Write a general program to evaluate function using the Taylor series expansion, with being the input parameter. Using as many terms as necessary so that the first neglected term does not alter the accumulated sum. erify your program on

This preview has intentionally blurred sections. Sign up to view the full version.

erive the analytical formula (not numerical Derive the analytical formula (not numerical solution) for the

This preview has intentionally blurred sections. Sign up to view the full version.

This preview has intentionally blurred sections. Sign up to view the full version.

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: mean squared error f e linear approximation f os ) induced of the linear approximation of cos(x) induced by the Taylor series over the interval sing the symbolic computation using the symbolic computation package in MatLab. Syms x S=sin(2x) Int(S,x,0,pi/2) % calculate integral lot and visualize the error function Plot and visualize the error function using MatLab, where is the first-order Taylor approximation of cos(x), and discuss your observations. lot and visualize the mean quared error Plot and visualize the mean-squared error function computed in question 4 sing atlab and discuss your observations using Matlab, and discuss your observations. 2.5 1.5 2 1 E(x0, ) 0.5 0.2 0.4 0.6 0.8 1 1.2 1.4 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 x0 2.5 1.5 2 1 E(x0, ) 0.5 0.2 0.4 0.6 0.8 1 1.2 1.4 0.5 1 1.5 2 2.5 3 3.5 x0 Thanks ~...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern