You are on page 1of 2

Question 1

Perform 1st order and 2nd order derivation on following image strip
2 3 4 5 5 5 0 0 6 0

Use forward and backward pass. Write analysis of above scenario In your own words.
 First order deivation:

First order derivation is done using forward pass:


2 3 4 5 5 5 0 0 6 0
Colour indicates it starts from front digit 3
3-2= 1 , 4-3= 1 , 5-4= 1 , 5-5= 0 , 5-5= 0 , 0-5= -5 , 0-0= 0 , 6-0= 6 , 0-6= -6

Answer:
1 1 1 0 0 -5 0 6 -6

First order derivation is done using backward pass:


2 3 4 5 5 5 0 0 6 0

Colour indicates it starts from back digit 6


6-0=6 , 0-6= -6 , 0-0= 0 , 5-0=5 , 5-5=0 , 5-5=0 , 4-5= -1 , 3-4= -1 , 2-3= -1
Answer:
-1 -1 -1 0 0 5 0 -6 6

 Second order Derivation:

2 3 4 5 5 5 0 0 6 0
(5+0)-2(5)
(2+4)-2(3) (4+5)-2(5) 5-10= -5
6-6= 0 9-10= -1
(5+0)-2(0)
(3+5)-2(4) (5+5)-2(5) =5
8-8=0 10-10= 0 (0+6)-2(0)
=6
(0+0)-2(6) = -12

Answer:
0 0 -1 0 -1 -5 5 6 -12

You might also like