Thursday

September 3, 2015
Total # Posts: 3

**Computer Graphics**

Q. Determine the equation for a cubic spline segment passing through two end points A (0, 5) and B (10, 20), having a slope of 2 and a curvature of -0.5 at A. Equation for cubic spline is: y=a0+a1.x+a2.x^2+a3.x^3 Slope equation is:y’=dy/dx=a1+ 2a2.x+3a3.x^2 curvature ...
*January 25, 2007*

**Computer Graphics**

Q. Determine the equation for a cubic spline segment passing through two end points A (0, 5) and B (10, 20), having a slope of 2 and a curvature of -0.5 at A. Equation for cubic spline is:
*January 25, 2007*

**Compiler Construction**

Given the following 3-address code 1: a = 1 2: b = 2 3: c = a + b 4: d = c - a 5: if( d < 20 ) goto 11 6: d = b * d 7: if( d > 20 ) goto 11 8: d = a + b 9: e = e + 1 10: goto 6 11: b = a + b 12: e = c - a 13: if( e < d ) goto 3 14: a = b * d 15: b = a – d (a) ...
*January 25, 2007*

- Pages:
**1**