Dev work probably feels enjoyable since you end up creating things for the product and see where it impacts the business everyday. Coursework is a little more abstract, but you can still make it enjoyable by talking with peers and professors to find out what is interesting and chic local to you. You might try taking some statistics, algorithms and engineering courses since you seem attracted to the by-products of the theory there. Good luck, and hope you don't drop out!