Answer: There are 22.5 films were profitable.
Step-by-step explanation:
Since we have given that
Number of total films = 40
Percentage of comedies = 60%
Number of comedies is given by
[tex]0.6\times 40\\\\=24[/tex]
Percentage of horror films = 40%
Number of horror films is given by
[tex]0.4\times 40\\\\=16[/tex]
Percentage of comedies were profitable = 75%
Number of profitable comedies is given by
[tex]0.75\times 24=18[/tex]
Percentage of horror were unprofitable = 75%
Percentage of horror were profitable = 25%
Number of profitable horror films is given by
[tex]0.25\times 18\\\\=4.5[/tex]
So, Total number of profitable films were
[tex]18+4.5=22.5[/tex]
Hence, there are 22.5 films were profitable.