First Steps in the long Java road
In this first tutorial I just want to Help many of you (and myself) to do the first step in Java Programming.
We will not create the traditional "Hello Java" program, we start by a Java implementation of the Insertion Sort Algorithm:
Code Listing :
import java.util.Scanner;
public class First {
public static void main(String[] args) throws InterruptedException
{
int Tab[]= new int[10];
Scanner sc=new Scanner(System.in);
for (int i=0;i<10;i++) {
Tab[i]=sc.nextInt();
System.out.println(Tab[i]);
}
long start = System.currentTimeMillis();
Thread.sleep(20);
int buff=0;
for (int i=0;i<10;i++) {
for (int j=i+1;j<10;j++){
if (Tab[j]buff=Tab[i];
Tab[i]=Tab[j];
Tab[j]=buff;
}
}
}
long stop = System.currentTimeMillis();
System.out.println();
for (int i=0;i<10;i++) {
System.out.println(Tab[i]);
}
System.out.println( "Total Execution time " + stop-start );}
}The first loop is to read the 10 numbers to be sorted, the User input will be 10 numbers separeted by spaces.
To be continued ...
Labels: Java
The Math Problems Notebook

The Math Problems Notebook Birkhäuser Boston ISBN: 0817645462 Aug. 2007 236 pages PDF 1.7 Mb
The Math Problems Notebook is a collection of nontrivial, unconventional problems requiring deep insight and imagination reminiscent of those discussed at Sunday Math Circles. These circles have become a place for disseminating beautiful mathematics at an elementary level for college students who have a common passion for mathematics. The problems cover many topics, including number theory, algebra, combinatorics, geometry and analysis, of varying levels of difficulty.
The presentation of each topic begins with simple exercises and follows with more difficult problems, challenging enough even for the experienced problem solver. The easier problems focus on basic methods and tools, while the more advanced problems develop problem-solving techniques, intuition and promote further research.Undergraduates and teachers of advanced mathematics, as well as the casual mathematician will mutually enjoy The Math Problems Notebook.
-= RS download link =-Labels: Maths
More Math Into LaTeX, 4th Edition

George Grätzer, More Math Into LaTeX, 4th EditionSpringer ISBN10: 0387322892 4 edition (August 2007) 652 pages PDF 6 MB
For close to two decades, Math into Latex has been the standard introduction and complete reference for writing articles and books containing mathematical formulas. In this fourth edition, the reader is provided with important updates on articles and books. An important new topic is discussed: transparencies (computer projections).Key features of More Math into Latex, 4th edition:- Installation instructions for PC and Mac users- An example-based, visual approach and a gentle introduction with the Short Course- A detailed exposition of multiline math formulas with a Visual Guide- A unified approach to Tex, Latex, and the AMS enhancements- A quick introduction to creating presentations with computer projectionsFrom earlier reviews of Math into Latex:"There are several Latex guides, but this on wins hands down for the elegance of its approach and breadth of coverage."-Amazon.com Best of 2000, Editor’s choice"A novice reader will be able to learn the most essential features of Latex sufficient to begin typesetting papers within a few hours of time…An experienced Tex user, on the other hand, will find a systematic and detailed discussion of Latex features."-Report on Mathematical Physics"A very helpful and useful tool for al scientists and engineers."-Review of Astronomical Tools
Labels: Maths, Springer