Prepared by :
The programming has been done in JAVA (Sun Microsystems, USA) and the output has been
obtained on Windows 7.
TECHNICAL SPECIFICATIONS :
Since the arrangements of rivets under eccentric loading is varied we have only considered the case
of 2X2 and 3X3 rivet matrix on a square plate.
import java.io.*;
class eccentricrivet
System.out.println("WHICH ARRANGEMENT OF RIVETS WOULD YOU LIKE?\nPress 1 or 2 for choice\n1.2 X 2\n2.3 X 3");
int ch=Integer.parseInt(br.readLine());
if(ch==2)
System.out.println("Enter the side of the sqaure plate between centers of extreme rivets in millimeters:");
double d = Double.parseDouble(br.readLine());
Double s = Double.parseDouble(br.readLine());
double ss = Double.parseDouble(br.readLine());
System.out.println("****************************RESULT**************************");
else if(ch==1)
System.out.println("Enter the side of the sqaure plate between centers of extreme rivets in millimeters:");
double d = Double.parseDouble(br.readLine());
Double s = Double.parseDouble(br.readLine());
double ss = Double.parseDouble(br.readLine());
System.out.println("****************************RESULT**************************");
}}
HOW TO RUN THIS PROGRAM :
SAMPLE OUTPUT :
The force applied was 50kN with 300 mm eccentricity for a 3X3 matrix riveted square plate
The plate had dimensions of 200 x 200 mm between the centers of rivets.