Lets first understand Amdahl's law
Amdahl's law is used to find out overall speedup of the system when some part of the system is enhanced.
Here,for example we have a system in which 40% operations are floating point
Suppose we enhance floating point unit such that it becomes 30 times faster.
Now,we need to find overall speedup to the system.
So, according to formula,
here,p=40/100=0.4 (we need to express p in proportion)
s=30
Total Speedup =1/((1-0.4)+(0.4/30))
=1/((0.6)+0.014)
=1/(0.614)
=1.62
Lets take some other examples,
Here p=90%=0.9
s=30
Total speedup=1/((1-0.9)+(0.9/30))
=1/(0.1+0.03)
=1/(0.13)
=7.69
s=40
p=75%=0.75
Total speedup=1/((1-0.75)+(0.75/40))
=1/(0.26875)
=3.72