I'm two years before heading off to university, but I have no motivation to learn the things that are being taught at college. I chose to study the subjects that I thought I would enjoy, but sadly this isn't true. I'm assuming that if I had made other choices for subjects, I'd be in a similar problem.
Maths is one of the subjects I'm studying, and although I enjoy maths itself, I'm not enjoying what I learn in school. I can't be motivated to put the work in, so that I can get good results at the end of the year.
I spend my free time programming or researching instead, but I can't continue doing this if I want to get the A-levels I need to enter a half-decent university.
Are there any ways by which I could motivate myself to study more?
When you get your needs out of the way, the fun stuff you can do is all the better, and you'll know more about the fun stuff that you're doing enabling you to open more worlds of enjoyment later that you'll never be able to conceive of without putting in the hard work to start. Doors will be open to you that you'll never even imagine if you put in the work to build the foundation of your life right now. Digging the metaphorical ditches and laying the metaphorical concrete for your foundation sucks, but that's how life is. Lots of sucky boring shitty work, for a few profound moments of bliss.
I know this sounds just like words right now, but I wish this was a concept that I had truly grokked much earlier in my life before I had to spend years fixing all the bits and pieces I needed to do that I had deferred.
Nobody gets to do the fun stuff for long, without working out all the dreadfully boring bits a head of time.
Want to be an explorer? Spend months raising money and building schedules and looking at maps and buying equipment.
Want to be a rock star? Spend years learning to play an instrument, playing in dive bars and making demo tapes. Get a break then play the same 4 hit songs for 20 years.
Want to write awesome code and run an awesome business? Spend years learning computational theory, business management and leadership, raising funds, and last but not least, writing thousands of lines of boring boiler plate, edge case handling and plumbing code.
Want to be an author? Spend a few years writing a couple hundred pages on your topic then get rejected by 99 out of 100 publishers. Then do an endless book tour where you read the same passage from your book 300 times.
Learning to do the boring, dreadfully dull, uninteresting stuff...learning to just muscle through it...is the most important life skill any human being can learn. It's the marshmallow test magnified by a million.