Worked examples in advanced electrical engineering