I know that intensity determines the no. of electrons and the current produced. But if the intensity is constant and the frequency changes, the kinetic energy of the photoelectrons changes, so their velocity changes. So if the frequency increases, the kinetic energy of the photons increases so they move faster. In that case, the number of photoelectrons moving through a space in unit time increases because their velocity is more so the electrons are traveling faster. That is my reasoning behind this. But why does frequency not affect the current?
We all know that the amount of current flowing b/w the plates is independent of the frequency. If I were to ask why doesn't it depend then you'd probably say that it depends on the number of electrons rather than the frequency or you might show me a current vs frequency graph.  But here is my theoretical argument. Electric current is defined as the amount of charge flowing through a point/space/wire per unit time. Let I be current due to photo electrons ejected by photons of some frequency. Now if I would increase the frequency, the kinetic energy of the ejected electron would increases, therefore it will move faster and therefore contribute more current (charge will through the same point many times per unit time) . Thereby, giving a net current greater than I.  What is wrong with my argument?  After thinking a lot, I came up with a possible reason. However fast the electrons may move, but when they hit the metal plate, they would lose their velocity and start moving in drift velocity. Now there is a problem with this argument. If this were to be true then I should expect to see a big chunk of extra electrons getting stuck at the anode.  If my reasoning was correct, then why can't I see a big charge buildup at the anode.
Refresh a section after adding HTML dynamically to jquery mobile Math mode accents In my long document I, sadly, have to use several accents to denote different kinds of symbols. Currently, I use primes ($x'$), hat, tilde, and overline. In addition I use two colored symbols (red colored tilde and blue $\prescript\ulcorner$), as I need further distinguishment.  Now I'd like to have no colors in my document, while I still have at least six different ways to differentiate certain symbols.  Which alternatives could I use that are easy to recognize and 'stand out', while they are different to prime/hat/tilde/overline?  EDIT: The reader should be able to see the kind of accent used even if the symbol in question is in a sub-script (possibly even a sub-sub-script). setuid root does not work Objective : Run a program as root (C++ binary). The same as :   And :   ./a.out output:  E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? psurana  //output for "whoami" Look below for the code.   ls -l output:  -rwsrwxr-x 1 root    root    46136 Jun  7 20:13 a.out  The Code :   #include &lt;string&gt; #include &lt;stdlib.h&gt; int main(int argc, char *argv[]){         std::string input = "apt-get install " + std::string(argv[1]);         system(input.c_str());         system("whoami");         return 0; }   Details: : compiled the program and then did chown root:root a.out &amp;&amp; chmod u+s a.out. Please look above for ls -l output.  I still do not get the root privileges and the output for system("whoami") in the code is my own username on the machine.  Reading the two linked questions did not yield me anywhere. :(. both the creator and the owner of the file are root. The setuid bit is set, so it should work. The filesystem is not external either, it is my own machine. How can I make this work? Comprehensive list of tools that simplify the generation of LaTeX tables Manually hacking tables in LaTeX is one of the less funny things when preparing a document. Naturally, there are quite a few tools that promise to simplify this. In fact, I have somewhat lost track of all the tools available, and I'd like to gather your valuable experience into one big post. Some of the tools are mentioned in , but I feel there's much more around.  I'd suggest that somebody starts an overview with an alphabetic list (so that I can accept this answer and it stays on top), and that everyone replies with a "community wiki" entry, one reply per tool, and inserts the tool into the list.  Personally, I use Excel2LaTeX, but I'm unhappy with having to fire up Windows in order to generate the LaTeX code. I'm thinking of a rewrite as a standalone Python tool using the xlrd library, but I'm not too inclined to reinvent the wheel. What makes a field not groupable I'm trying to use an aggregate query, but one of the fields I want to group by is not groupable (saw it in the soql error and then verified groupable=false in the metadata).  It's just a number field that holds an integer (number 2,0 in salesforce field spec-speak).  Is there a trick to make it groupable?  Any way around this problem? I don't want to write hundreds of lines of code just to average a list by this field. Why do you write "occurred" but "listened"? The past tense of to occur is occurred (not occured), but the past tense of to listen is listened (not listenned).  Why? What is the general rule that is applied to make the past tense of a verb? How do I make the panko bread stick to my egg-coated chicken? Is the sorting algorithm used by .NET's `Array.Sort()` method a stable algorithm? This is about a step in a derivation of the expression for the relativistic Doppler effect.  Consider a source receding from an observer at a velocity $v$ along the line joining the two. Light is emitted at frequency $f_s$ and wavelength $\lambda_s$. The frequency $f_0$ and wavelength $\lambda_0$ received by the observer will be different.  Some textbooks now argue that the wavelength received by the observer is given by $\lambda_0=(c+u)T_0$, where $T_0$ is the time period of the wave in the observers frame. The argument given is that the successive "crests" will be an extra distance $uT_0$ apart due to movement of the source. Upon relativistically transforming the time period in the source frame to the observer frame, the correct result $f_0=f_s\sqrt{\frac{c-u}{c+u}}$ is obtained.  But the argument for the wavelength seems reminiscent of the classical Doppler effect for sound. Is it really applicable here through this argument? And is there a way to show the same result for $\lambda_0$ mathematically? How does ServerName and ServerAlias work? It's the following part of a virtual host config that I need further clarification on:  &lt;VirtualHost *:80&gt;   # Admin email, Server Name (domain name), and any aliases   ServerAdmin example@example.com   ServerName  141.29.495.999   ServerAlias example.com ...   This is and example config, similar to what I currently have (I don't have a domain name at the moment).  &lt;VirtualHost *:80&gt; - Allow the following settings for all HTTP requests made on port 80 to IPs that this server can be contacted on. For instance, if the server could be accessed on more than one IP, you could restrict this directive to just one instead of both.  ServerName - If the host part of the HTTP request matches this name, then allow the request. Normally this would be a domain name that maps to an IP, but in this case the HTTP request host must match this IP.  ServerAlias - Alternate names accepted by the server.  The confusing part for me is, in the above scenario, if I set ServerAlias mytestname.com and then made an HTTP request to mytestname.com, there would have to be a DNS record pointing to the server's IP for this to work? In which case, is ServerAlias just basically EXTRA ServerName entries?  Say I had a DNS entry such that foobar.com = 141.29.495.999 but then I had ServerName = 141.29.495.999 and ServerAlias was empty, would that mean that although foobar.com gets resolved to the right IP, because there is no reference to accept foobar.com in ServerName or ServerAlias?  Or something. Man I'm confused. What is the most practical way to implement camera/viewport to a 2D-game?  I've read, that I should store the object world position instead of position relative to the screen?  Current situation:  I have implemented a simple 2D-game where I load objects and levels from XML-files. Currently the level XML-file looks like this:  &lt;map&gt;    &lt;tile obj="ground" x="0" y="555" /&gt;    &lt;tile obj="ground" x="16" y="555" /&gt;    &lt;tile obj="ground" x="32" y="555" /&gt;    ... &lt;/map&gt;   All objects have a 2d-vector "position" storing their current location on the screen.  What I want it to be:    In the picture:   Camera is either 800x600 or 640x480 Blocks and sprites are 16x16 pixels. World size may vary The coordinates probably should be normalized relative to the world, not to the screen? Viewport position relative to player's x, y and moves when the player reaches camera dead zone (similar to ).   I'm asking pseudo examples / articles, but if you need to know what I'm using for the development: SDL &amp; C/C++. My task is to write a precise mathematical statement that "the sequence $(a_n)$ does not converge to a number $\mathscr l$"  So, I have my definition of a convergent sequence: "$\forall\varepsilon&gt;0$ $\exists N\in\Bbb R$ such that $|x_n -\mathscr l|&lt;\varepsilon$ $\forall n \in \Bbb N$ with $n&gt;N$"  Would the correct negation of this be "$\forall\varepsilon&gt;0$ $\exists N\in\Bbb R$ such that $|x_n -\mathscr l|&gt;\varepsilon$ $\forall n \in \Bbb N$ with $n&gt;N$"?  It doesn't seem that this is the answer as the next part of my task is to prove that a sequence is divergent using my formed proof, but it'd be difficult to do since it's a general proof of divergence and not just a proof that $(a_n)$ doesn't converge a specific number $\mathscr l$  Perhaps I should find a prove that $(a_n)$ tends to $\pm\infty$? This is more simple but it does not include monotone sequences such as $x_n:=(-1)^n$.  Can someone assist me with this task? All comments and answers are appreciated. How to prove that the number $1!+2!+3!+...+n!$ is never square? Mean absolute error OR root mean squared error? Why use Root Mean Squared Error (RMSE) instead of Mean Absolute Error (MAE)??    Hi  I've been investigating the error generated in a calculation - I initially calculated the error as a Root Mean Normalised Squared Error.  Looking a little closer, I see the effects of squaring the error gives more weight to larger errors than smaller ones, skewing the error estimate towards the odd outlier. This is quite obvious in retrospect.   So my question - in what instance would the Root Mean Squared Error be a more appropriate measure of error than the Mean Absolute Error? The latter seems more appropriate to me or am I missing something?  To illustrate this I have attached an example below:                    The scatter plot shows two variables with a good correlation,  the two histograms to the right chart the error between Y(observed ) and Y(predicted) using normalised RMSE (top) and MAE (bottom).     There are no significant outliers in this data and MAE gives a lower error than RMSE. Is there any rational, other than MAE being preferable, for using one measure of error over the other? In the discussion from a question I asked several days ago (), someone suggested that I use general.runalg() instead of processing.runalg() for running QGIS algorithms.    I've now used both, and haven't noticed a difference in either performance or syntax between them.  I'm just wondering what sort of differences there are between these two methods, and which one I should be using. How was the bank robbery completed? In Now You See Me, when Morgan Freeman explains to the detective on how the Four Horseman robbed the bank, he mentions that they replaced the real money (while in the secured transport truck) with flash paper.  This does not explain how the paper in the bank got ignited, and no ignition/stimulator left in the scene as evidence.  Who/What/When ignited the flash paper in the bank on time?   There had to be some timer/delay mechanism on the platform, or something similar - but in the frames we see - there is nothing. What is the regular expression to match strings (in this case, file names) that start with 'Run' and have a filename extension of '.py'?  The regular expression should match any of the following:  RunFoo.py RunBar.py Run42.py   It should not match:  myRunFoo.py RunBar.py1 Run42.txt   The SQL equivalent of what I am looking for is ... LIKE 'Run%.py' .... A weaker Axiom of Infinity? Installing two glibc alongside in debian/ubuntu Is it possible to install and use two different glibc versions on the same machine. Where one version is only used to run legacy software, which relies on old glibc binaries?  Is it possible to do that with the aid of the package manager (something like "install this package, and its dependencies, to /opt/old-glibc), instead of managing it dire Compare classifiers based on AUROC or accuracy? I have a binary classification problem and I experiment different classifiers on it: I want to compare the classifiers. which one is a better measure AUC or accuracy? And why?  Raondom Forest: AUC: 0.828  Accuracy: 79.6667 %            SVM: AUC: 0.542  Accuracy: 85.6667 %