Let n≥2 be a natural number and f:[0,1]→R be the function defined by
f(x)=⎩⎨⎧n(1−2nx)2n(2nx−1)4n(1−nx)n−1n(nx−1)if 0≤x≤2n1if 2n1≤x≤4n3if 4n3≤x≤n1if n1≤x≤1
If n is such that the area of the region bounded by the curves x=0, x=1, y=0 and y=f(x) is 4, then the maximum value of the function f is
[JEE-Advanced 2023]