Write a function P7:
input parameter: integers a, b, c, d satisfying 1≤max(∣a∣,∣b∣,∣c∣,∣d∣)≤109
return value: a list of all rational roots of the equation ax3+bx2+cx+d=0, in any order (Each root should be included only once.)
Hint: The rational root theorem states the following: