You are on page 1of 6

c c

c

 c  c
c

c c

 

  a
   
  
 

cc ccc
  c

  %&  '& !" ##\$

a 

 c     c  c 
 c  c
 ccc

cccc cc!"c#\$c%&'(c)c c'c\$'\$'ccc

' cc* +c,c



 c

 cc

%c'c'c-c.'c\$ c%%'%c/ cc. c+c.c/&c%  c'c%c

-c010c c212c.'c'3ccc4\$c/'c

 cc cc  *c

import java.io.*;

class eccentricrivet

public static void main(String args[]) throws Exception

System.out.println("****************************WELCOME TO
DESIGN PROJECT**************************");

SQUARE PLATES");

System.out.println("WH ICH ARRANGEMENT OF RIVETS WOULD YOU

LIKE?\nPress 1 or 2 for choice\n1.2 X 2\n2.3 X 3");

if(ch==2)

System.out.println("Enter the side of the sqaure plate between

centers of extreme rivets in millimeters:");

System.out.println("Enter the eccentricity from the centerline

in millimeters:");

Newtons:");

stress:");

double ss = Double.parseDouble(br.rea dLine());

System.out.println("****************************RESULT********
******************");

System.out.println("The diameter of the rivets required

is:"+Math.sqrt(4*ans/(3.14*ss))+"mm");

else if(ch==1)

System.out.println("Enter the side of the sqaure plate between

centers of extreme rivets in millimeters:");

System.out.println("Enter the eccentricity from the centerline

in millimeters:");

Newtons:");

double pdd = forc*s*hor/(4*dia* dia);

System.out.println("Enter the value of permissible shear
stress:");

System.out.println("****************************RESULT********
******************");

System.out.println("The diameter of the rivets required

is:"+Math.sqrt(4*ans/(3.14*ss))+"mm");

}}

*ccc ccc

5c '//c6 7c-'+c.//c-c-c%'cc&\$c

c-c+++\$%&'%c
0c
c'c'c.'c./c
2c
/c c\$c'cc-c'c%'c %'&cc% c'c
&'3cc6.%c%%'%.'6.c
ccccccccccccccc 6.c%%'%.'cc

c  c-//+c'c'\$%'cc'c%88888c

 ccc

c-%c/ c+c9:7c+'c2::cc%%'%'&c-cc212c'3c.' c4\$c/'c

c/'c c c-c0::c3c0::cc'+c'c%'c-c.'c

/cc'c;c<:c=0c

cccc'7c2:cc#59 c3)c

c+cc059>cc

c\$'\$'cc+ +c+cc' c
c
c
c
c
c
c
c
c
c
c  c c# c 
cc )c
c
c

c
c