top of page
  • Writer's pictureNamrata Gurung

Pribeon’s home


A picture taken with mom and dad, and the salesgirl, who gave flowers and complimentary car perfume the day Pribeon was brought home.

A picture taken with mom and dad, and the salesgirl, who gave flowers and complimentary car perfume and chocolates the day Pribeon was brought home…


“It’s time to let go, Begin anew…”

It was one of those days, when you realize sometimes you have to let go, that your first camera or your first cellphone needs to be replaced by the next, but never did I ever feel so strongly when it was time to let go off my first car. It’s been two years since I drove Matiz, the car in which I learnt how to drive, the car which has been my constant companion and more like my godmother, who taught me the basics of driving. And ah, it was always therapeutic to drive her through the DND flyover, birds flew across the azure vastness, the yamuna river touched the heavens, and roads gladly welcomed you as their guest, and Matiz knew exactly what to do. I’ve also been through my first major accident in Matiz, an incident I’ll never forget; she taught me life’s important skills. Thus memories of her, can never be forgotten, but I knew her time had come, she’d faithfully serviced us for more than 10 years and it was time to give her up. We began our selection survey for new cars, and I did test drive on all, none felt like Matiz, except one. One that resembled her, one that had a familiar warmth, Eon it was, Pristine Blue Eon (that’s why I named her, Pribeon). I just couldn’t keep my eyes off her after our first meeting, she struck a chord in my heart, and it didn’t take long for her to enter my world, 4th Dec, 2012 it was. Though there was a confusion if we should install CNG or not, but we later decided on not to, as cost of installation was too much, and Pribeon wouldn’t be used as much, because I have only a couple of months left in college. Nevertheless, I decided on writing a C++ program code to calculate if CNG installation was profitable after some no. of years, including the annual rise in petrol price and CNG price. Dad, also explained me about opportunity cost e.g. if instead of CNG installation if I put that amount money in bank, the interest I would get, should be subtracted from the petrol rise cost, or added to the CNG cost.

In here I have just written the source code, so that you can see, and can run it too ::

#include<iostream.h> #include<conio.h>

void main () { clrscr(); float carcng, br, risep, risec, scostp, scostc, d; int yr; float dn, tdp, tdc, rip, ric, carc, diff; char c; do { cout<<“\nInput cost of CNG installation: “; cin>>carcng; cout<<“\nBank interest rate p.a.: “; cin>>br; cout<<“\nEnter petrol rise %: “;                                             //price rise of petrol per annum cin>>risep; cout<<“\nEnter cng rise %: “;                                                  //price rise of cng per annum cin>>risec; cout<<“\nInput Starting Cost of petrol (per km): “; cin>>scostp; cout<<“\nInput Starting Cost of cng (per km): “; cin>>scostc; cout<<“\nInput distance travelled per day: “; cin>>d; cout<<“\nNo. of years car used: “; cin>>yr; dn=(d*365.0);                                                                                   //total distance traveled in one year tdp=dn*scostp;                                                                                 //total cost if petrol was used for 1st year tdc=dn*scostc; tdc=tdc+carcng;                                                                             //total cost if cng was used for 1st year for (int i=1; i<yr; i++) { rip=scostp*(risep/100.0);                                                     //Rise in cost (for petrol) scostp=scostp+rip; tdp=(scostp*dn)+tdp; ric=scostc*(risec/100.0);                                                        //Rise in cost (for cng) scostc=scostc+ric; tdc=(scostc*dn)+tdc; carc=carcng*(br/100.0);                                                       //Bank rate interest (for opportunity cost) carcng=carcng+carc; tdc=tdc+carc; } if (tdc<=tdp) { cout<<“\n\nUse CNG as petrol will be costlier by Rs”<<tdp-tdc; cout<<“\n(at the end of “<<yr<<” yr)\n\n”; } else { cout<<“\n\nUse petrol as CNG will be costlier by Rs “<<tdc-tdp; cout<<“\n(at the end of “<<yr<<” yr)\n\n”; do { rip=scostp*(risep/100.0); scostp=scostp+rip; tdp=(scostp*dn)+tdp; ric=scostc*(risec/100.0); scostc=scostc+ric; tdc=(scostc*dn)+tdc; carc=carcng*(br/100.0); carcng=carcng+carc; tdc=tdc+carc; diff=tdc-tdp; yr++; } while (diff>(0.0));

cout<<“However if car is being used for “<<yr<<” years,\n”; cout<<“Then the deficit will be recovered and using CNG will be better.”; }

cout<<“\n\nDo you want to continue? “; cin>>c;

} while (c==’Y’||c==’y’);

getch(); }

/*OUTPUT 1:

Input cost of CNG installation: 56000

Bank interest rate p.a.: 7

Enter petrol rise %: 10

Enter cng rise %: 10

Input Starting Cost of petrol (per km): 3.5

Input Starting Cost of cng (per km): 1.5

Input distance traveled per day: 30

No. of years car used: 2 Use petrol as CNG will be costlier by Rs 13930 (at the end of 2 yr)

However if car is being used for 3 years, Then the deficit will be recovered and using CNG will be better.

OUTPUT 2

Input cost of CNG installation: 20000

Bank interest rate p.a.: 9.5

Enter petrol rise %: 10

Enter cng rise %: 7

Input Starting Cost of petrol (per km): 4

Input Starting Cost of cng (per km): 2.5

Input distance travelled per day: 30

No. of years car used: 2 Use CNG as petrol will be costlier by Rs 13413.75 (at the end of 2 yr)

*/

I realised CNG really won’t profit us, if we didn’t use Pribeon much, thus our decision for petrol was correct, the installation cost was 56000 and bank interest rate is about 9.5 % in fixed deposit. (Now, of course we’d calculated that margin before buying 😛 but that didn’t stop me from making some quantized measurements and a general solution 😉 You could use this program if you are thinking to install CNG or so, also if you want to include more variables to the program, you can either alter it yourself or mail to me 🙂 )

bottom of page