Tuesday, April 17, 2012

Bulk Modulus (K) for a gas

Average Bulk Modulus = - Change of Pressure/Change of Volume per unit volume
                             = - dP/(dV/V)
                             = - V (dP/dV)

If we keep temperature as constant we called that as isothermal bulk modulus.

Proof of Bulk Modulus (K) for a gas is given by,

Read more...

Thursday, April 5, 2012

Introduction to Java for Beginners

Java is a programming language done by Sunmicro Systems which is heavily use for web applications,standard application…etc.James Gosling is the founder of the Java.

jdk Software
To work with Java programmes you need to have jdk software.

Version on jdk
1.2, 1.2.1, 1.3, 1.4, 1.5,1.6,...and so on.

Where jdk installed
If you have a jdk 1.5.0 it will create folder on C drive called Java.There you finding the Java software.

Installing jdk 1.5.0 software
jdk 1.5.0 helps you to install Java your computer system by this jdk 1.5.0 work with Java language.

Seting with the Java compliments
Go to the command prompt and seting the Java path.

Seting path temporaly
Go to the command prompt and type like this
Set path=C:\Program Files\Java\jdk1.5.0\bin

Seting path permanantly
Go to the notepad and type Set path=C:\Program Files\Java\jdk1.5.0\bin and save as autoexec.bat on the C drive and restart the machine.

Checking whether path properly set
Type: - C:\path
      PATH= C:\Program Files\Java\jdk1.5.0\bin

1. What will happen if path will upset?
   the error message displaying in the command prompt as " Java
   cannot be recognizing as internal or external command."

2. How do I check whether Java is installed to my computer?
   go to the command prompt then type Java and enter.




Printing numbers from 0001 to 9999 which will leave out numbers adding up to thirteen | Mathematica Program

The number 13 is traditionally considered to be an unlucky number in many countries. It even has a specifically recognized phobia, Triskaidekaphobia, a word which was coined in 1911. The superstitious sufferers of triskaidekaphobia try to avoid bad luck by keeping away from anything numbered or labeled thirteen. As a result, companies and manufacturers use another way of numbering or labeling to avoid the number, with hotels and tall buildings being conspicuous examples (Thirteenth floor). It's also considered to be unlucky to have thirteen guests at a table. Friday the 13th has been considered the unluckiest day of the month.
And the Colombia Shuttle was sent into space on 16/1/2003.
    1 + 6 + 1 + 2 + 0 + 0 + 3 = 13
The shuttle was exploded during re-entry and all its crew members died.
                                 
So, most Sri Lankans also consider number 13 as unlucky. Hence, the Government of Sri Lanka rejects vehicle registration numbers which add ups to thirteen.
                            i.e. 6412 = 6 + 4 + 1 + 2 = 13

Therefore, following Mathematica Program is to find the numbers from 1 to 9999, which will leave out numbers adding up to thirteen.


Etiquette

1 . Don’t call someone more than twice continuously. If they don’t pick up your call, presume they have something important to atte...