cplusplus

A c++ code for calculating pi value. Reply

Finally I am successful in calculating pi value — less than 0.3% error, by using random number generation. Although my computer needs some fixation on its compiler or path definition etc, there are very good online compilers which helps in testing and running c++ codes: try the given link.

OUTPUT
Computing the value of pi using std::rand()
Enter number of trials: 10000
Enter number of random (x,y) points per trial: 10
pi = 3.14376 +- 0.00519107
average – exact = 0.00216735
CPU time = 0.004027 secs

Here is the code I found by searching a good deal on the web. Yes I did tinker around but only because my own compiler (Turbo C++ on windows 10, 64 bits) was throwing some exceptions on the included headers.

#include
#include
#include
#include
//#include
using namespace std;

double pi_estimate(const unsigned long points) More…

Are younger generations opposed to Capitalism? Reply

Are younger generations opposed to Capitalism? This is a guest post by Sabuj, who writes with much clarity on Quora and I thought this is interesting enough to be shared on this website. He also writes voluminously about various issues of his interest. Since he is very young, it throws a particularly refreshing view into limelight and I would urge you to read this and comment and importantly share this if you liked this. I also invite anyone interested to make a wider audience of his/her interests in creative writing connected to academics (such as science, philosophy, history and sociology in regards to science, cutting edge research and conceptual innovations etc but this is not to say this is the end of the list) can send me a link of his/her article or email me the write up to g6pontiac@gmail.com. I would be glad to publish it here if its devoid of any basic concerns and encourage you to suggest a good writer of science, sociology, philosophy etc to contact me, who wants to write here occasionally or regularly. This is not a paycheck generator so you may as well get an unhindered interface to the wider world. (No its not a commercial website as of this moment or any closely seen future ) Its sole aim is to bring the new and fresh to the widows of the inspired world.

Here is Sabuj’s Article. I hope you all enjoy it.

Let me answer this as someone from the “younger generation”. To begin with, your assumption is incorrect. Today’s generation is not completely against capitalism – at least not against the spirit that an individual should be able to benefit economically in exchange of and in proportion to his/her services to the world. We couldn’t even dream of the revolution in information technology and software engineering without capitalism. I am sure your friends do use the products and services which are the outcome of capitalism for the ease of their lives, even though they may be critics of capitalism itself. More…

The quality of a scientific paper … A casual reposition. Reply

The quality of a scientific paper are not ZERO if citation is zero. Perhaps we need to define two parameters, quality and significance of scientific communication. Quality; a well done research in the best traditions and methods available. Significance; the outreach of the paper to bring effect into others work and others understanding toward the subject matter.

While there will always be a downside to both parameters, citation reflects the significance (and quality as much as it correlated to significance) of a paper. More…

Why Bose is not the scientist after whom Higgs is named. Reply

A very few particles (out of 1000s) are named after scientists, eg the so called mu meson was called a Yukawa Meson, although it turned out to be a misnomer. Mu-meson was found to be a lepton, rather than a meson, as was thought by Yukawa and others.

Now called Muon it belongs in the same class that an electron belongs to, leptons, which are both Fermions. Hence initially thought to be a Boson (because all mesons would be bosons) the muon is actually a Fermion (all leptons are Fermions).

Should we say; initially muon was named after Bose, then correctly; after Fermi? That would be HOKUM. Right thing would be to say; it was named after Hideki Yukawa (wrongly as a meson or boson) then it has been named as muon which is now a Fermion. But its still named after Yukawa; given to a misnomer-correction. It can be called Yukawa-Lepton MUON (instead of Yukawa Meson Mu).

Nowhere Bose or Fermi have been the scientists after whom this particle has been named. Bose and Fermi are scientists after whom a principle of physics or nature has been named but not a particle. That would clear any mischievous air. More…

A step toward Higher Education? Reply

Here is the summary. And I am quoting actual numbers from News Paper Reports.

News Report; 5% Odisha Resident students. [Including perhaps those also who would be Odia by their citizenship, irrespective of where they stay]

My estimate; a typical 10% general category students, going by how large the quota regime entails in terms of percentage toward quota qualifiers.

News Paper Report; Lying vacant per anum, 10%.

My reasoning; if there would be no quota based qualification system perhaps these seats would never lay vacant, plus we would have far superior engineers produced in the country. Because the 3-levels of quota scrutiny sees the merit off to such a level even 10% seats lay vacant, at the same level that gets admitted after fierce scrutiny. More…

What is it like to be in an Ivy League. Just a musing. Reply

The other aspect is from my own experience, while you are highly qualified, you are perhaps no more pouring in as much as even you would like to pour in, in terms of real research. You or your employers don’t want you to go into controversies, because they drain you out of wit and the employer runs into razor sharp issues. The Ivy Leagues have the “requisite infrastructure” which is cutting edge in a way preconceived notion kind of way. It really does not open the actual researchers to the issues involved in fundamental thinking. And sooner or later we all the highly intellectual kind belong to a level where we see our wit’s end. It takes the highly competitive experience of figuring out what exactly the Ivy League want from you for you and them to be successful lest which they are subjected to competitive and often no so harmless scrutiny from even tiny rats. More…