Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

use java array finifsh this program To the right is a two-dimensional shape that

ID: 3769414 • Letter: U

Question

use java array finifsh this program

To the right is a two-dimensional shape that has been rotated around the z-axis to form a three-dimensional solid. (Two views are presented.) The two-dimensional shape is bounded by the circle of radius centered at the origin and two lines that each make an angle pi/6 with the x-axis. Determine the volume of the three-dimensional solid by evaluating a triple integral involving spherical coordinates. DO evaluate the integrals and DO calculate the volume of the. solid. Set up, but do NOT evaluate one or more triple integrals involving cylindrical coordinates that would also give the volume of this three-dimensional object.

Explanation / Answer

working java logic for the same:

//for each player
for (int ind=0;ind<MAX_PLAYERS;ind++)
{
   //get player name
   System.out.println("enter player name ");
   Scanner sc=new Scanner(System.in);
   player[ind].name=sc.nextLine();
  
   //get player position
   System.out.println("Enter Player position ");
   player[ind].pos=sc.nextLine();
  
   //player jersey
   System.out.println("Enter Player jersey ");
   player[ind].num=sc.nextLine();
}


//display player name
for (int i=0;i<MAX_PLAYERS;i++)
{
   //get player name
   System.out.println("Player name is "+player[i].name);
  
   //get player position
   System.out.println("Player position is "+player[i].pos);
  
   //player jersey
   System.out.println("Player jersey is "+player[i].num);
}

compiled on ideone.