if dy/dx=ycos x and y=3 when x=0, then y= ?

This equation is separable, see

response to your previous problem (under Billy):

http://www.jiskha.com/display.cgi?id=1300573436