AC and DC measurements of ferroelectric materials