# Fourier transform of hat function

captainjack2000

## Homework Statement

obtaining the Fourier transform of the hat function
h(x) = 1 if modulus of x</= 1
=0 otherwise

## Homework Equations

F(k)=1/sqrt(2*PI) *integral from -1 to 1 of exp(ikx)

## The Attempt at a Solution

I've carried through the transform and got an answer of
sqrt(2/PI)*sinc(k)
could someone tell me if this is correct please?