The number of students which are either in algebra or physics are 23 which is the second option.
Given that:-
Total number of students = 30
Number of students both in physics and algebra = 4
Total number of students in Physics = 12
Total number of students in Algebra = 19
We have to find the number of students which are either in algebra or physics.
Number of students in physics but not in algebra = 12 - 4 = 8
Number of students in algebra but not in physics = 19 - 4 = 15
We know that:-
Number of students which are either in algebra or physics = Number of students in physics but not in algebra + Number of students in algebra but not in physics
Hence, we can write,
Number of students which are either in algebra or physics = 8 +15 = 23.
We can also do this question using Venn diagram.
To learn more about Venn diagram, here:-
brainly.com/question/1605100
#SPJ1