You are on page 1of 1

INPUT

START
BUAT FILE OUTPUT Ans.d
dx =xl / float(ni-1)
do i=1, ni
x =dx (i-1)
x

(x!-x") and
x

x!
#(i)=$!/x"(x-x!%x")
Yes
No
x

x! and
x

(x!%x")
#(i)=$!/x"(x-x!%x")
Yes
No
#(i)=&.
ti'(=&) tt = tint
tt tint
No
Yes
#n(i) (*ETO+E NU*ERI,)
A
do i=2, ni-1
#(I) = #n(i)
ti'(= ti'(%dt
tt = tt %dt
A
tt = &
ti'( (ti'(
EN+
YES
NO do i=1) ni
-.it((/&)) i)ti'() #(i)
do i=0) ni-1
B
B
OUTPUT