waqqasfarooq.com

  • Increase font size
  • Default font size
  • Decrease font size
Greetings from Waqqas!


About

E-mail Print PDF

Welcome to my page!

This content management website is an attempt to organize all the work I've done over the past few years. I'll try to update this website with a lot of useful information so keep coming back to get the updates.

Also, if you have questions / suggestions then please leave a comment on the particular article.

Thanks.

 

Newton-Raphson Method

E-mail Print PDF

Newton-Raphson Method (a.k.a Newton Method) is a method that can be used to find the root of a equation. In other words, the Newton Method helps us find the the input to a function at which the value of the function will be 0, e.g. if we have a function f(x) = x^{3} - 20, we want to find a value of x where f(x) = 0 or x^{3} - 20 = 0.

The general formula for the newton method is:

Last Updated on Thursday, 26 August 2010 03:46
 

AHP (Analytical Hierarchy Process)

E-mail Print PDF

Analytical Hierarchy Process (AHP) is a process that helps us pick up one of the options of a list of choices. Each choice has a few parameters attached to it and we can set the weights of each parameter and have AHP pick the best choice from the list of choices. I will show this in the following example.


Analytical Hierarchy Process for College Selection


Last Updated on Monday, 23 August 2010 14:21
 

Lognormal Distribution for Stock Price Returns

E-mail Print PDF

A lognormal distribution is used as the standard model stock price returns in financial economics. In this article we will go in the depth to why this is so.

Statistical Distributions

Before talking about stock price return as lognormal distribution, I want to give a quick overview of normal and lognormal distributions.

Note: this is not a complete tutorial on normal and lognormal distributions but I do talk about the properties that are important for the purpose of this article.


Last Updated on Sunday, 22 August 2010 01:55
 

Getting random element from std collection

E-mail Print PDF

The following code snippet gives a quick way of selecting an element at random from a std collection.

Last Updated on Monday, 23 August 2010 17:02
 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »


Page 1 of 2