There is nothing wrong with Trig or any other mathematics. If there is any sin in that or AI, it is the usage of it. Anyone can use anything in the world for good or evil. Paul wrote that idols were nothing, so that eating meat sacrificed to idols was nothing; however, if you know that someone else is superstitious, then you shouldn't eat it so that their conscience would not be shocked. If someone uses trig or AI for an evil purpose, like manipulating others for personal gain or an evil political agenda, then the sin is in the purpose of what they are using it for. The AI is nothing and is amoral; it is the usage of it that can be good or evil. It depends on what it is used for, that is, the agenda of whoever is using it.