If f(x)=⎧⎪ ⎪ ⎪ ⎪⎨⎪ ⎪ ⎪ ⎪⎩A+3cosxx2,if x<0Btan(π[x+3]),if x≥0 Where [.] represents the greatest integer function, is continuous at x=0 Then.
Find the relationship between a and b so that the function f defined by
is continuous at x = 3.