Sunday, May 29, 2011


/*Life is always simple, if you get going complex, you definitely are not living*/
/*Just see how patterns emerge from total chaos*/
/*enjoy, if you like maths or even drawing*/

#include <stdio.h>



main()

{

float x0, e, r, r1=3.987;

int i, T, n, M=100;

printf("Please enter the value of r(2,4] : ");

scanf("%f",&r);
     
    printf("Please enter the number of time steps : ");

scanf("%d",&T);

float C[T][M];

printf("Please enter the value of x(0) (0,1] : ");

scanf("%f",&x0);

printf("Please enter the value of coupling strength, e : ");

scanf("%f",&e);

C[0][0]=x0;

for (i=1; i<=M-1; ++i)

C[0][i]=r1*C[0][i-1]*(1-C[0][i-1]);

    for (n=1; n<=T-1; ++n)
    {
        C[n][0]= (1-e)*r*C[n-1][0]*(1-C[n-1][0]) + e*(r*C[n-1][M-1]*(1-C[n-1][M-1]) + r*C[n-1][1]*(1-C[n-1][1]))*0.5;
       
        C[n][M-1]= (1-e)*r*C[n-1][M-1]*(1-C[n-1][M-1]) + e*(r*C[n-1][M-2]*(1-C[n-1][M-2]) + r*C[n-1][0]*(1-C[n-1][0]))*0.5;
       
        for(i=1; i<=(M-2); i++)
       
        C[n][i]= (1-e)*r*C[n-1][i]*(1-C[n-1][i]) + e*(r*C[n-1][i-1]*(1-C[n-1][i-1]) + r*C[n-1][i+1]*(1-C[n-1][i+1]))*0.5;
        }
               
FILE *fp;


fp = fopen ("chaos.dat", "w");

int j, k;

for (j=0; j<=T-1; ++j)
{
        fprintf (fp, "\n");
       
        for (k=0; k<=(M-1); ++k)

fprintf (fp, "%f\n", C[j][k]);
    }
   
    fclose(fp);

printf("Now please open Chaos.dat and plot the data in gnuplot using Splot command (Help : google for the command syntax)\n Enjoy the patterns\n");

getch();

}

Saturday, May 21, 2011


Dear me,
        Do you remember the time we were energetic, reckless, ignorant, full of inspiration, learning everything at hand and, when we had beliefs in concepts which seem so absurd now. Looking back I can really say that ignorance is a hell of a bliss. We had an awesome friend, whom we used to call God, who always heard everything and replied. We were full of negativity, always expecting the worst, but with a feeling for the other side deep inside, so that anything which happened seemed to be positive. It always cracks a smile on my face when I recall what was my concept of love back then. Love - eternal, True love once and for all. Ha ha, that was awesome, feeling like everybody has someone special for them and looking into their eyes you can spend your whole life, brain jammed on just one thought. It seems cruel to have broken these beautiful illusions.
        AAh, and here now we are watching as the time passes by, protonous, but with a lost feeling of exploration. It seems like we have been somehow converted from an electron, negative, energetic and wild, to a neutron, positive, full of inertia, and stuck in the compactness of neutrality and positivity.
        But still I can see the light on the other end of the tunnel(so positive), and near. I feel like the connection to the reservoir of wisdom is just round the next corner, but what I have learned till now keeps pulling me back, with a fear somewhere deep inside protecting the ignorance left. But at the other hand it embeds a thought that the light ahead may lead me back to the same innocent  child.
        Its been great living life with you.

Your Friend,

C2

Thursday, May 12, 2011


Dear subconscience,
          Hi this is your secret admirer conscience. I am a huge fan of yours. You have always helped me secretly, and this letter is just another request for help. I am in much trouble, my thought has become clouded, I don't know what to think about anymore, what to do anymore, why to do anything, and even if I know any of these I can't think of the next step, like here I wasn't able to think of what to write in the previous statement. I think I am rusting. Please help me. Help me get back the same - I can't think for a word for that - like I used to have before this blight. I am totally confused. Please help me see through the mist surrounding me, let me feel the sun once angain, let me fly in the blue sky once again, help me have the same smile once again.
          I have started rehabilitating with classical music doses, all i need is your help.

Your biggest fan ever,
Consci
...................x...............x...................

      I found this letter I wrote sometime back on my timeline. It was one of the greatest phase of confusion of my life, and it ended one fine day with the song 'wake me up when September ends'. It took me a whole month to recover but it was one of the best experience i had ever had after the 'awakening' of 2007.
      Lesson Learnt : Be who you are.

__
Love & Peace
--
C2