STA5106_FRADE_HW1

STA5106_FRADE_HW1 - STA5106: Dr. Srivastava Homework 1...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
STA5106: Dr. Srivastava Homework 1 Jaime Frade 1. x = (5298,0) y = (8012,0) z= (6024,0) ((x+y)* + z)* (x+y)* = (5298,0) + (8012, 0) = (1331,1) ((x+y)*+z)* = (1331,1) + (6024,0) = (1331,1) + (0602,1) = (1933,1) (x+(y+ z)*)* (y+z)* = (8012, 0) + (6024,0) = (1402,1) (x+(y+ z)*)* = (5298,0) + (1402,1) = (0530,1) + (1402,1) = (1934,1) Therefore, ((x+y)* + z)* (x+(y+ z)*)* 2. Value of t on my computer is 53 CODE x=1.5; alpha=1.0; t=0; u=1.0; while x>alpha u=u/2; x=alpha+u; t=t+1; end disp([ 'Value of t on my computer is ' , num2str(t)]); At the eighth step, function 1 fails to give the correct value for the given x.
Background image of page 1

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

View Full DocumentRight Arrow Icon
STA5106: Dr. Srivastava Homework 1 Jaime Frade 3a. n x f 1 (x) f 2 (x) f 3 (x) 1 0.1 0.499583472197429 0.499583472197423 0.499583472197423 2 0.01 0.499995833347366 0.499995833347222 0.499995833347222 3 0.001 0.499999958325503 0.499999958333335 0.499999958333335 4 0.0001 0.499999996961265 0.499999999583333 0.499999958333335 5 0.00001 0.500000041370185 0.499999999995833
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/14/2011 for the course STAT 5106 taught by Professor Staff during the Fall '08 term at FSU.

Page1 / 4

STA5106_FRADE_HW1 - STA5106: Dr. Srivastava Homework 1...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online