To solve this problem, we can use the concept of combinations.
First, let's consider the number of ways she can select exactly 4 courses (1 elective course and 3 required courses).
To select 1 elective course out of 12, we can use the combination formula: C(12, 1) = 12.
To select 3 required courses out of 9, we can use the combination formula again: C(9, 3) = 84.
So the total number of ways she can select exactly 4 courses is 12 * 84 = 1008.
Next, let's consider the number of ways she can select exactly 5 courses (2 elective courses and 3 required courses).
To select 2 elective courses out of 12, we can use the combination formula: C(12, 2) = 66.
To select 3 required courses out of 9, we can use the combination formula again: C(9, 3) = 84.
So the total number of ways she can select exactly 5 courses is 66 * 84 = 5544.
Finally, let's consider the number of ways she can select exactly 6 courses (3 elective courses and 3 required courses).
To select 3 elective courses out of 12, we can use the combination formula: C(12, 3) = 220.
To select 3 required courses out of 9, we can use the combination formula again: C(9, 3) = 84.
So the total number of ways she can select exactly 6 courses is 220 * 84 = 18480.
Therefore, the total number of ways she can select courses such that she takes at least one elective course is 1008 + 5544 + 18480 = 25032.