rk4 method with h 0.1 solve for y' = 4x-2y, y(0)= 2; y(0.5)

There are several good online R-K calculators. Try one of them. For example,

http://keisan.casio.com/has10/SpecExec.cgi?id=system/2006/1222997077