Answer: $4500 was invested at 3% rate of interest.
Explanation:
Let P be the principal amount for the rate of interest 3%.
Let 8000-P be the principal amount for the rate of interest 4%.
Total interest = $295
As we know the formula for "Simple Interest ":

Hence, $4500 was invested at 3% rate of interest.