June 17, 2016

More python learning

Follow-up to Learning Python in a new way from Mayur's blog

So far i've got fairly far with pythonchallenge and it's been good fun discovering all these modules and aspects of python i didn't previously know about.

Most of what I do in python or indeed any language is just to solve equations and so it's been particularly fun just learning a language like this.

Another website which was good was https://Check.io . There is an interactive world in which you use Python to solve challenges and go further in life. With active members on the forums to direct you whenever you are lost means no step is too big.

Further along, another website is https://trinket.io which allows you to share snippets of running python (only with standard libraries). You can share them as code and program, or quite simply just program. A nice tool for learning how to code in python without having to mess with the terminal or an IDE.


June 15, 2016

Update

Writing about web page https://charc248.pythonanywhere.com

I realise i don't update that much. So i felt maybe i should.


I wrote a website, it's hosted by pythonanywhere, thus the link. Pages are written in JS, HTML and CSS. CodeAcademy is a wonderful source for this if you are interested. The website itself runs on Flask, a python based wed framework. It's all quite simple, and I'll update this with the really easy to follow guides I used.

Once I had a basic website running, I personalised the CSS and made my own webpages. There's a 'building' tab in the menu so you can see what I'm working on. With the recent exams I haven't really had time to work on any of my own projects much. I'll try to churn out stuff when I can.


March 11, 2016

Learning Python in a new way

Writing about web page http://www.pythonchallenge.com/

When I first learned how to code, it was mostly copy+paste and lots and lots of googling for the correct code.

Now when I find a problem, I like to think I can intuitively just figure it out and use code to help me. I came across this site and it's really fun and addictive, each of them uses python (or any other programming language) to solve a riddle which then allows you to pass to the next level.

As you may know, I am part of Technology Volunteers - we go into schools and teach them coding - mostly just C# and Block Coding/. Everynow and again, I try and come up with ways with which to excite them, and this could potentially be an answer.


February 17, 2016

Hockey Sticks

Writing about web page https://files.warwick.ac.uk/mdave/files/HockeyStick.pdf

So this is me writing up the thing about the hockey stick theorem from first year. Was a nice find back then. I even got to do a talk about it and explain it to some college classes. Just to clarify - this isn't world leading research, it's just a first year thinking ahead a little bit.


December 23, 2015

Project Euler

Writing about web page http://pastebin.com/i4ed8a14

So to cement my skills at programming in python I wrote a base code for Project Euler. Currently just finishing problem #5.

This one is similar to my ones in C and Java (also available on the pastebin acc). Should be relatively quick to get started. Just have the file, give it a quick readthrough. I've added various comments for my example.

I may start a similar one in sage, and then give solutions to all problems I've solved so far in at least one language. After that, it's just translating.


November 29, 2015

Python Maths

Writing about web page https://warehouse.python.org/project/charc_math/

also: https://pypi.python.org/pypi/charc_math

So I should also note I created a module on python, currently only using Python2.7. I don't plan to update it to Python 3, but might do depending on what I need.

The module can be found at either of the two links. Mostly they are just tester functions to confirm the material from before. I will try to make it more structured and also make documentation more available. It's opensourse so do feel free to take and experiment with it, especially if you are interested by the earlier material.


Digit Theory

Writing about web page https://files.warwick.ac.uk/mdave/files/Digit-Theory/dless.pdf

Following on from MakeAMillion, I decided to label it under digit theory, since that is essentially what it is.

A paper can be found at the link above. More will come when I have time.

There are still so many topics I need to write up on.

The hockey stick theorem, Pisano numbers, +1 Primes, Integer Partitions... Soon

I'll be moving onto transcendence theory now, expect that one next.


September 06, 2015

Make A Million

Hey!

So I did some work finally! Check the link above.

If you want to build on it, or are struggling with any of it, just send me a message from the blog, or email me at m.dave (at) warwick.ac.uk

If you are interested, check out the pdf file, it should explain everything.

The python code is there for anyone who wants to build on it.

Results.txt shows all the findings, you can also do with that data as you will. I will learn how to format things properly soon and it will look pretty and useful.

If you are reading this much into the future, all the work will be in the "OldProjects" folder, under "MakeAMillion"

Mayur

---------------------

EDIT: The link is now defunct. Will be hosting my material in the myfiles.warwick server. E-mail me if you want to see all the files in their entirity, but the main ones should be available anyway.


June 12, 2015

Finally started!

So... This happened!


Finally started blogging again, this time with purpose. I and a few of my friends will be looking into how mathematicians of the past could have found what they did. The basic structure of these will be:

1) Hey, I wonder... How many ...? What is the size of ... for ...? How do .... and .... relate? or are they unrelated?

2) Using mathematics we have learnt so far, completely rigorously, trying to show that a function will behave in a certain way at certain points

3) Numerical analysis, once all our deductions have been used it

4) Graphing and changing all the variables. 'Maths by Computer' saving the day, also with the above.

5) Discussing results, talking about how to make algorithms faster, using what we learn, spotting patterns and making conjectures and then going back to step 2, until we have a formula and have rigorously proved why it is the case. - Or realized that this is, unfortunately, beyond us, and look it up, have a laugh and good think, and move on.

Before you get all impressed, or thinking that we're over-achievers, these results should be fairly trivial, and within our grasp, we could look them up at any point, but we are trying to do the research ourselves. One day, we may be at a point, where we cannot just look it up, it is just practice for then :)

I have done some, just unlogged, will type those up in LaTeX and then move on to doing the others.


Search this blog

Most recent comments

Not signed in
Sign in

Powered by BlogBuilder
© MMXIX