hi i'm trying to plot this function and get the same result from the book
the function:
the plot in the book; 
this is my code
i need to find a way to make the plot smother
f=(k/c).*(u/c).^(k-1).*exp(-(u/c).^(k))
end
u =
0 0.7000 1.4000 2.1000 2.8000
u1 =
0 0.0100 0.0200 0.0300 0.0400 0.0500 0.0600 0.0700 0.0800 0.0900 0.1000 0.1100 0.1200 0.1300 0.1400 0.1500 0.1600 0.1700 0.1800 0.1900 0.2000 0.2100 0.2200 0.2300 0.2400 0.2500 0.2600 0.2700 0.2800 0.2900
f =
0 0.5823 0.2871 0.1218 0.0473
u =
0 0.7000 1.4000 2.1000 2.8000
u1 =
0 0.0100 0.0200 0.0300 0.0400 0.0500 0.0600 0.0700 0.0800 0.0900 0.1000 0.1100 0.1200 0.1300 0.1400 0.1500 0.1600 0.1700 0.1800 0.1900 0.2000 0.2100 0.2200 0.2300 0.2400 0.2500 0.2600 0.2700 0.2800 0.2900
f =
0 0.7341 0.3530 0.0942 0.0165
u =
0 0.7000 1.4000 2.1000 2.8000
u1 =
0 0.0100 0.0200 0.0300 0.0400 0.0500 0.0600 0.0700 0.0800 0.0900 0.1000 0.1100 0.1200 0.1300 0.1400 0.1500 0.1600 0.1700 0.1800 0.1900 0.2000 0.2100 0.2200 0.2300 0.2400 0.2500 0.2600 0.2700 0.2800 0.2900
f =
0 0.8577 0.3944 0.0511 0.0022
u =
0 0.7000 1.4000 2.1000 2.8000
u1 =
0 0.0100 0.0200 0.0300 0.0400 0.0500 0.0600 0.0700 0.0800 0.0900 0.1000 0.1100 0.1200 0.1300 0.1400 0.1500 0.1600 0.1700 0.1800 0.1900 0.2000 0.2100 0.2200 0.2300 0.2400 0.2500 0.2600 0.2700 0.2800 0.2900
f =
0 0.9524 0.4083 0.0180 0.0001
u =
0 0.7000 1.4000 2.1000 2.8000
u1 =
0 0.0100 0.0200 0.0300 0.0400 0.0500 0.0600 0.0700 0.0800 0.0900 0.1000 0.1100 0.1200 0.1300 0.1400 0.1500 0.1600 0.1700 0.1800 0.1900 0.2000 0.2100 0.2200 0.2300 0.2400 0.2500 0.2600 0.2700 0.2800 0.2900
f =
0 1.0194 0.3945 0.0036 0.0000