Compound Amount using Monthly Compounding


I live in Lagos, Nigeria the poverty capital of the world.

This year, I decided to study Financial Mathematics.

I am an Engineer with a BSc in Systems Engineering from the University of Lagos.

My decision to study Financial Mathematics stems from the knowledge that to solve a problem, I must thoroughly understand it.

Programming with Python

Whilst reading the book An Undergraduate Introduction to Financial Mathematics I realized that the formulas where jumping over my head.

Besides, its been a long time since I have done any Mathematics.

So I decided to write the compounding formula as a program. You can find the program below:

# Print out the purpose of the program
print("This program computes the compound amount using monthly compounding")
print("Reference: An Undergraduate Introduction to Financial Mathematics (Page 3)\n")

# Ask the user for the principal amount
principal = float(input("Please enter the principal amount: "))

# Ask the user for the rate as a percentage
rate = float(input("Please enter the rate: "))

# Ask the user for the number of years as a decimal value
years = float(input("Please enter the number of years as a decimal value: "))

# Compute the compound amount (Page 3)
r_n = rate / (12 * 100)
nt = years * 12
factor = (1 + r_n) ** nt
compound_amount = principal * factor
print("\nThe compound amount is:", round(compound_amount, 2))

In doing so, I have a ready made program that I can use to solve the exercises in the book without having to use a calculator.


The essence of code is to replace human rigour and tedium.

In creating this program, I had to study the formula and come up with my own program.

Now I understand the formula.

You can also find it on GitHub.

Make Money Online

10 Ways to Make Money Online in 2020 in Nigeria


The year 2019 has come and gone with its heartbreaks and failures.

As we start a new year, I encourage everyone living in Nigeria to consider how they can make money online.

A lot of predictions have been made concerning the economy this year. None of them end well.

The best way to protect yourself is to find a way to make money online.

This post will look at 10 ways to make money online in Nigeria.

I shall testify to things that I have heard and seen.

1. Start a Blog

If you live in Nigeria, you would have heard about Linda Ikeji.

Linda Ikeji would give credence to the blogging industry in Nigeria with her success as a blogger.

Initially starting out of a blogspot account, she would pivot to her current block after running into some trouble with Google.

Blogging is a viable means of making money online in Nigeria.

In addition, it opens up offline opportunities.

To start a blog, you should consider buying a web domain and hosting.

You can get these from Namecheap.

2. Start a YouTube Channel

Fisayo Fosudo runs a YouTube channel where he reviews gadgets.

TechCabal did an interview with him early last year.

The beauty of starting out with YouTube is that you don’t have to start out blind.

They provide education via the YouTube Creator Academy.

3. Write for the Opera News Hub

If you are a writer, you should consider the .

With 163 million active users in Africa, the is where all the content fed to Opera Mini users and Opera News user is gotten from.

4. Online Freelancing

In Nigeria, one platform that Nigerians make money from is Fiverr.

On Fiverr you list the work you can do and you are matched up with a customer that wants your services.

As time goes on an you build your reputation, you can make money money for your services.

5. Cryptocurrency Trading

Last year, I would learn about Digital Currencies.

With all the dangers ahead of the Nigerian economy, cryptocurrencies are a form of insurance.

Cryptocurrency trading is one way Nigerians make money online.

I have been privileged to meet a few cryptocurrency traders in Nigeria.

They have lost money at various times but have mastered their craft.

6. Affiliate Marketing

The way affiliate marketing works is as paid referrals.

So if I tell you about a product and you then go ahead to buy it, the owner of the product pays me a commission.

A lot of services have affiliate programs.

You only have to search for them.

7. Copywriting

Copywriting is the act or occupation of writing text for the purpose of advertising or other forms of marketing.

The product, called copy, is written content that aims to increase brand awareness and ultimately persuade a person or group to take a particular action.

As the world becomes more digital, this is an important skill that will pay dividend.

8. eCommerce

The last 10 years have witnessed the rise of eCommerce in Nigeria.

Jumia and Konga have been through the eye of the needle and provided the industry with important lessons.

At the end of the decade, the entire industry has figured out online payments.

If you want to make money online, you can consider getting an online store and selling your products from there.

Two options to consider are WordPress and Shopify.

9. Create and Sell Online Courses

You cannot talk about online courses in Nigeria and not mention Stephanie Obi.

In a very short time, she has been able to carve out a niche for herself.

There are a lot of platforms to use in creating online courses.

Stephanie has even gone ahead to create her own called TrainQuarters.

10. Social Media Marketing

Platforms like Instagram have spawned entire ecosystems for buying and selling.

Typically, the seller posts the item that the want to sell.

Then a prospective buyer sends them a message and a transaction occurs.

This will get bigger in the years to come.


A new year as begun with the promise of opportunities to make money online.

You would be wise to take the time out to learn how to make money online.

Welcome to a brave new world.

Book Review

RaphaelJS: Graphics and Visualization on the Web


Scalable Vector Graphics (SVG) are an XML-based vector image format for two-dimensional graphics with support for interactivity and animation.

Vector graphics are drawn on the screen mathematically. They are scalable without loss in quality.

In working with vector graphics, you can write them out from scratch or use a library like Raphaël.

Three books have been written on Raphaël they are:

  1. RaphaelJS Starter
  2. Learning Raphael JS Vector Graphics
  3. RaphaelJS

Yesterday, I finished reading RaphaelJS thus finishing my study of the books in my list.

This post is a review of the book.


RaphaelJS was written by Chris Wilson in 2013.

Chris Wilson is now the Director of Data Journalism at TIME Inc.

Before Time, he was a Senior Editor at Slate News and a Columnist at Yahoo News.

Book Format

The book starts off simple with the basic template for a Raphaël project.

From that point on, once a topic is introduced, the author goes out of his way to create a project with that topic.

The projects covered include:

  1. Braille Generator
  2. Dominoes
  3. Bouncing Ball
  4. Metronome
  5. Choropleth Map
  6. The Animated Solar System

You leave this book inspired to create your own projects.


RaphaelJS is a great read as it will inspire you to create in the browser.

As a new year begins, if you plan to learn Data Visualisation, do look at this book.

Book Review

We the Living


This Christmas was my worst Christmas ever.

The political uncertainty in the country spoiled all my plans during the year and then the border closure spoiled Christmas for the whole nation.

Before the closure of the border in August this year, the price of a bag of rice was N7,000.

By Christmas, the price of a bag of rice had gone to N27,000.

There is a lot of talk about people leaving the country.

I have decided to stay.

When people cannot go forward, they go back to a place where it all makes sense.

I would go back to the past and read We the Living by Ayn Rand.

This post is a review of the book from my perspective as a Nigerian living in Lagos, Nigeria.

Characters and Plot

The Wikipedia entry on We the Living already contains the plot for the book.

The three main characters are: Kira Argounova, Leo Kovalensky and Andrei Taganov.

The book starts off with Kira on a train with her family returning back to Petrograd.

It describes the living standards in the country at the year 1922 and how bad things were in Russia.

The Proletarian are the bottom class before the revolution but after the revolution become pushed up the ranks.

Kira falls in love with Leo but when he falls sick and is nearing death, she has to go to Andrei who is a party member and a member of the secret police and becomes his mistress.

The book take you on a journey detailing how the world around Kira crumbles until finally, she loses everything

In desperation, she tries to escape Russia and is shot at the border.

Nigerian Context

This book mirrors life in Nigeria at the moment.

This year, the government closed the border and the prices of food stuff when up.

The quality of life went down.

Seeing similarities with Russia at the time helps you know that the world moves on.


During the course of reading the book, I would fall into despair.

However, as the book progressed, I realized that unlike Kira who wanted to become and engineer, I was one.

Unlike her, I wasn’t locked in.

I could travel.

Most importantly, I had the web.


As the future of Nigeria becomes in doubt, most people will be looking for how to escape.

This book showed my how bad it could get but filled me with ideas on how to protect myself in the years ahead.

Personal Development

DFIN 511: Introducton to Digital Currencies


On September 9th 2019, the 12th class of the MOOC Introduction to Digital Currencies would hold.

This course is offered by the University of Nicosia in Cyprus.

This post is a look at my journey to finishing one of the longest online courses that I have ever taken.

Getting Started

I would first hear about the course in the Blockchain Nigeria User Group.

The Blockchain Nigeria User Group is the definitive Telegram group for all things Blockchain in Nigeria.

You can click here to join the group.

It is sort of a requirement to have finished the Digital Currencies course in the group although not a hard one.

The success of the group in getting people into this course was one reason for the large number of Nigerians that would take the course as seen from the image below:

Student Demographics MOOC 12

So I would start the course with all the excitement I needed.


My Grandfather Burial Poster

My grandfather had died in June this year. However, despite the fact that my mother was his first child, the burial couldn’t hold until the month of September when his first son (her junior brother) had given his approval.

The stress and strain from that period would make me regret signing up for the course.

However, I couldn’t withdraw from the course without losing face so I made a decision to stay.

By the end of September, we had concluded the funeral which would put a deep hole in the pockets of all the members of the family.

In my culture, its the grandchildren that bury the grandfather.


In the month of October I would finish up from work.

The coding program where I was teaching would be rounding up.

I was tired and needed time to recover from a stressful September.

Grief affects everyone differently. Until my grandfather’s funeral was concluded I was fine.

The finality of it all really got to me.


In the month of November, I would really zone in on the course.

I was way behind so I had to take time off work. I didn’t leave the house for most of the month.

It was a time to mourn and drown myself in work.


The month of December would start with me fearing that I would fail the course.

This is due to the large amount of materials that had to be covered.

I could only go over the materials once.

Being a perfectionist, this would leave me jittery.

I would write the final exams exactly 3 months after I started the course on December 9th.

Once I was done, I would have to wait for the results.

Seeing the results brought me joy.

I had passed with a score of 78%.

Could I have done better?


But I am grateful that all that work was not in vain.


Being successful with the course, I have a chance to do a Masters with the University of Nicosia.

Some member of the Blockchain Nigeria User Group have already signed up.

Personally my life cannot take the workload so I am opting out.

I will remain grateful to the University of Nicosia for the opportunity to learn about Digital Currencies.