i corrected the java code.
Thanks pbuk for the help.
It was foolish of me not to put the strings for the months in double quotation marks but I did not know that one has to put these marks even when one goes to a new line.
//program showing an advantage of using arrays
public class Arr3
{
public static void main(String []args)
{
System.out.println("There are 31 days in the month of Jan");
System.out.println("There are 27 days in the month of Feb");
System.out.println("There...
//program showing an advantage of using arrays
public class Arr3
{
public static void main(String []args)
{
System.out.println("There are 31 days in the month of Jan");
System.out.println("There are 27 days in the month of Feb");
System.out.println("There...
A student who knows about integration will not ask why the area can be negative while one who does not know about integration will ask why the area below the x axis is negative. What answer can I give him then?
I am inclined to be in favour with the reply of "etotheipi', though I totally missed the perfectly logical reply of 'Vanadium 50'!
Anyway, thanks for all contributions.
A math exam question asked for the ratio of two wheels given the required information about the number of revolutions made along a certain distance by the two wheels of a penny-farthing bike.
Some students gave the ratio of the radii while others gave the ratio of the areas.
What should an...
I thank all those who posted their replies.
But am I correct to argue as follows?
Using only real numbers,
√( (-2)(-3) ) = √6 is correct but √(-2)√(-3) does not exist as a real number.
Hence Method 1 and Method 2 in my first post cannot be compared.
Thank you both, 'nrqed' and 'kimbyd'!
Yes, my mistake was assuming that ##W_a## includes the rest mass energy.
I derived it again and it turned out as the one given by Fermi, as 'nrqed' said.