Time complexity for data items


#1

A quadratic algorithm with processing time T(n)=cn^2 spends T(n) seconds for processing N data items.how much time will be spent for processing n=5000 data items,assuming that N=100 and T(N)=1 m/s?


#2

c=T(N)/N^2

T(n)=T(N)xn^2/N^2
=n^2/10000
T(5000)=2,500ms