It used to be that potto.org had some incomplete, free, online textbooks available on these topics. They were okay... not great, but better than random stuff on the internet. It looks like all of their PDFs are missing but you could still browse the HTML versions. I can't guarantee that the texts are complete, and they aren't as good as the resources I already suggested.