Tuesday, March 27, 2012

Evaluating a^x where 'a' is the base and 'x' is the exponent , using recursion


#include
int exponent(int, int);
int main()
{

int a,b;
printf("\n Enter the base and exponent: ");
  scanf("%d %d",&a,&b);

printf("\n The exponent of %d over %d is %d",a,b,exponent(a,b));

return 0;
}
int exponent(int k,int l)
 {
int x;
if(l<=0)
 return 1;
  x=exponent(k,(l-1));

return (x*k);

 }

[/THis is the program that I wrote just before mid-sem exam]

Sunday, January 1, 2012

HAPPY NEW YEAR

It's not a dream;
It's real, and here we are-
The very first morning of the most awaited  year-2012;
It's so fresh,beautiful and wonderful..
People in this planet-
We expect something -
All in different ways-
Wishing you all a HAPPY NEW YEAR.

Saturday, December 10, 2011

How to hide desktop content of Windows 7

A software called "Fences"  is installed. The desktop content will be appear/disappear when you double click anywhere on the desktop. If you want to configure the arrangement of the desktop content,then right click on the desktop, then select *configure fences* whereby you can follow the following steps:-
tools->take the snapshot of the arrangement which you considered the best->snap it->prompt will appear asking you want to use or not?->select yes then close...

The next time when you viewed the desktop,if undesirable arrangement appears then right click again following the same rule then choose the snapshot that you have taken then use it..
ENjoy!!!!

Tuesday, November 8, 2011

KHAMI ZAN KHA…


‘Khami zan kha!’ tia sawi tur ka va han ngah ve tawh tak em! Mahse Pathian khawngaihna a zarah a chhe lam aiin a tha lam deuh hlir la zuk ni zui a! Ka hun liam hnu leh ka tawn mek te ka han chhui kir a ka ngaihtuah vang vang changte hian ka vanneih bik ziate hi ka inhrechhuak uar uar thin.
Kan thupui hman atanga ngaihdan han siam chuan khami zan-hmangaih biahthu min hlan zan kha ka hun tawn  tawh a nuam ber a la ni--tih lampang hawi sawi tur ni awm taka a lan laiin workcamp-a Arampate In a kan miss Tluangi te ho nen a kan fellowship atanga ka thil tawn leh hriat thar ka sawi daih thung dawn a ni.

Khami zan fellowship tura buh hmun kal tlang a nih zan khan(buh hmun velah khan buai fe fe chu an tam a, ka sawi thui lo ang, hnuaileng ho kha chuan kan hria!!) boruak chu a nuam a ni. Amaherawhchu thlarau lamah chuan, han ti ve khanglang ila, ka khawro ber zan ti mai ila, sawi tur ka hriat loh ber  zan a ni ang. Khami zan kha ka han ngaihtuah let mai mai thin a, kan thut dan te, mi pawimawh ber ni awm fahranin  hotute  thutna tlar, thutna nuam ber ka la chang zui! Ka han ngaihtuaha kan tlar sir ber a thu A-pi kha nula ni ve chiah ta sela, moneitu hi ka ang awm te ka ti a!! Khami zan bawk kha alawm ka mangan zan em em bawk chu, ka khawro zan ber, sawi tur ka hriatloh ber zan ka ti tawh kha. A hmingin kan group hnuaileng hruaitu pakhatah min ruat ve, Leader berin ‘nagma’n thusawina hun nei mai rawh aw’ min ti! Thusawi ngei ngei a lo ngai ta! Bible chang ka hriat vete kha khawnge an awm zawh tak! Ka han ngaihtuah ngial a, pakhatmah ka hrechhuak thei lo! A tawp a tawpah kan NMI chang innghahna sam 37:5 ‘I awmdan tur chu LALPA chungah nghat la,amah chu ring la,aman a ti vek ang’ tih kha a rawn lang hlawl a, chuan A-pi Bible chu hawhin khami chang behchhana thusawi tur chuan ka inring ta a. Thusawi tur chuan ka ding chhuak ta, ka va zam ve! Ka Nu tawng a thusawi tur chu nih ila, nal deuvin ka sawi thei chu ka ring. Amaherawhchu vai tawng pawh ni lo, saptawng a sawi a ngai, chutah pawh a ngaithla tu turte hriatthiam phak tura sawi a la ngai leh zel khan ka rilru hahna a tibelhchhah a ni. Ka english lam nalh lohzia leh thiamlohzia pawh ka hre reng, mahse Pathiana rinna nghat tlatin, rilru tawngtaina nen kan ti ve ta a, ka thusawi a that leh thatloh lampang chu ka hre lo, mahse a hun tea rah thin Pathian a nihzia a tak ngeiin ka tawngin ka hria a, saptawnga ka sawi thiam lo thleng thlengin sawi tur ka rilru a lo lang ta! ‘Lalpa ka va lawm em’ tih a rilru tawngtaina nen ka thutawi sawi chu ka zo ve thei ta a ni.

Khami zan a  thil thleng chu ka sawi zo ta a, a tlangkawmnan khami zan atanga ka zir chhuahte ka han tarlang leh lawk teh ang: Ahmasaberah chuan, Bible chang hriat hnem, Pathian thu a tam thei ang ber zir kan ngai  tih hi a ni. Khami zan ka thusawi dawn a Bible chang ka han ngaihtuah kual a, engmah a lo lang lote kha pakhatah chuan keimaah khawl ka neih tlem lutuk vang a ni. Khami zan pawh khan, ‘Kan chhung inkhawmnaah ka Nu in Bible chhiar hi inthlahdah suh u, tuna  inthat lai hun, in vanglai hunah in hriat loh chuan chhungkua in din hunah in fate zirtir tur in nei lovang’ a tih lai te kha ka hrechhuak chiang khawp mai! A dawt lehah chuan ka sawi tawh ang khan, kan Pathian hi a hun tea rah thin a nihzia ka zir chhuak chiang hle a ni. Mihring ngaihtuahna leh ruahmanna a tawp tawh hnuah hian Pathian ropuina a lo lang chauh thin zawk a lo ni. Ring tharte rinna chakzia kha ka zir chhuah leh chu a ni. An rinna chakzia kha, Isua hun lai a, Isua puan hmawr dektu hmeichhe thi put rinna nen khan a chakzia a in ang velin ka hria a ni. An rinna ah khan rinhlelna a awmlo ni berin ka hria,chutiang bawk chuan keini pawn kan rinna hi tih chak tum  ta ila, kan thiltih kawng engkimah hian Pathianin kan tana tha tura a tih te chu min pek hlawm ngei ka ring tlat a  ni .

A tawp berah chuan Lalpa min hmangaihna hi a lo va han nasa tak em! Mi bawrhsawm te leh mi hnuaihnung zawkte ka hmuh hian ka vanneihzia hi ka hrechhuak chiang hle a ni. Lalpa ah hian vuina tur kan nei love. Amah tih lawm hi keini Krista ringtu kristian in tih te hian kan hna ber tur chu a ni tih ka chhar chhuak a ni.    

Thursday, September 29, 2011

Faster Than The Speed Of Light… OPERA Update



Artistic view of the SPS/CNGS layout. The CNGS beam is produced by accelerating protons to 400 GeV/c with the CERN Super Proton Synchrotron (SPS). These protons are ejected with a kicker magnet towards a 2 m long graphite neutrino production target in two extractions, each lasting 10.5 ?s and separated by 50 ms. Each CNGS cycle in the SPS is 6 s long. Secondary charged mesons are focused by two magnetic horns, each followed by a helium bag to minimise the interaction probability of the 5 mesons. Mesons decay in flight into neutrinos in a 1000 m long vacuum tunnel.
A few days ago, the physics world was turned upside down at the announcement of “faster than the speed of light”. The mighty neutrino has struck again by breaking the cosmic speed limit and traveling at a velocity 20 parts per million above light speed. To absolutely verify this occurrence, collaboration is needed from different sources and we’re here to give you the latest update.
“This result comes as a complete surprise,” said OPERA spokesperson, Antonio Ereditato of the University of Bern. “After many months of studies and cross checks we have not found any instrumental effect that could explain the result of the measurement. While OPERA researchers will continue their studies, we are also looking forward to independent measurements to fully assess the nature of this observation.”
Since the OPERA measurements go against everything we think we know, it’s more important than ever to verify its findings through independent research.
“When an experiment finds an apparently unbelievable result and can find no artifact of the measurement to account for it, it’s normal procedure to invite broader scrutiny, and this is exactly what the OPERA collaboration is doing, it’s good scientific practice,” said CERN Research Director Sergio Bertolucci. “If this measurement is confirmed, it might change our view of physics, but we need to be sure that there are no other, more mundane, explanations. That will require independent measurements.”
To get the job done, the OPERA Collaboration joined forces with CERN metrology experts and other facilities to establish absolute calibrations. There cannot be any error margin in parameters between the source and detector distances – and the neutrino’s flight time. In this circumstance, the measurements of the initial source of the neutrino beam and OPERA has an uncertainty value of 20 cm over the 730 km. The neutrino flight time has an accuracy of less than 10 nanoseconds, and was confirmed through the use of highly regarded GPS equipment and an atomic clock. Every care was given to ensure precision.
“We have established synchronization between CERN and Gran Sasso that gives us nanosecond accuracy, and we’ve measured the distance between the two sites to 20 centimetres,” said Dario Autiero, the CNRS researcher who will give this afternoon’s seminar. “Although our measurements have low systematic uncertainty and high statistical accuracy, and we place great confidence in our results, we’re looking forward to comparing them with those from other experiments.”
“The potential impact on science is too large to draw immediate conclusions or attempt physics interpretations. My first reaction is that the neutrino is still surprising us with its mysteries.” said Ereditato. “Today’s seminar is intended to invite scrutiny from the broader particle physics community.”
source www.universetoday,com