Week 04 Examples
Calculate the results of interval analysis for the following assignments:
a. x = ((2[2,2]*b[5,5] )[10,10] + 3[3,3] )[13,13]. # with b=[5,5]. => b=[13,13]
Copyright By PowCoder代写 加微信 powcoder
b. x = ((2[2,2]*b[5,10] )[10,20] + 3[3,3] )[13,23] # with b=[5,10]
c. x = ((2*b[5,10] )[10,20] + c[-1,3] )[9,23] # with b=[5,10] c=[-1,3]
d. x = ((a*b)[5,30] + c[-1,3])[4,33] # with a=[1,3] b=[5,10] c=[-1,3]
e. x = ((a*b)[-12,+8] + c[-1,3] )[-13,11] # with a=[-2,3] b=[-4,2] c=[-1,3]
f. x = (a%b)[-9,9] or [0,9] # with a=[-2,13] b=[10,10]
Note for question e: a*b has end-point values:
· {+8, -4, -12, +6} So we take min and max of these.
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com