编程辅导 Week 04 Examples

Week 04 Examples

Calculate the results of interval analysis for the following assignments:
a. x = ((2[2,2]*b[5,5] )[?,?] + 3[3,3] )[?,?]. # with b=[5,5]

Copyright By PowCoder代写 加微信 powcoder

b. x = 2*b + 3 # with b=[5,10]
c. x = 2*b + c # with b=[5,10] c=[-1,3]
d. x = a*b + c # with a=[1,3] b=[5,10] c=[-1,3]
e. x = (a*b)[-12,+8] + c # with a=[-2,3] b=[-4,2] c=[-1,3]
f. x = a%b # with a=[-2,13] b=[10,10]
Note for 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