Answer: Diagram associated with your question is attached below
5) B
6) C
Explanation:
5) The pin support at A allows ; Rotation about its central axis
This is because pin supports does not allow the translation of its structural member in any direction i.e. y or x but only rotation about its axis
6) The support at B does not allow displacement in y direction
This is because roller support allows displacement only in the direction that they are situated and in this case it is the x - direction
The function if I’m not correct just text me but 3
Answer:
The code is attached.
Explanation:
I created a string s including 6 colors with spaces in between. Then I converted the string into a list x by using split() method. I used three different methods for removing elements from the list. These methods are remove(), pop() and del.
Then I used methods append(), insert() and extend() for adding elements to the list.
Finally I converted list into a string using join() and adding space in between the elements of the list.
Answer:
Program that removes all spaces from the given input
Explanation:
// An efficient Java program to remove all spaces
// from a string
class GFG
{
// Function to remove all spaces
// from a given string
static int removeSpaces(char []str)
{
// To keep track of non-space character count
int count = 0;
// Traverse the given string.
// If current character
// is not space, then place
// it at index 'count++'
for (int i = 0; i<str.length; i++)
if (str[i] != ' ')
str[count++] = str[i]; // here count is
// incremented
return count;
}
// Driver code
public static void main(String[] args)
{
char str[] = "g eeks for ge eeks ".toCharArray();
int i = removeSpaces(str);
System.out.println(String.valueOf(str).subSequence(0, i));
}
}
Answer:
3.03 INCHES
Explanation:
According to ASTM D198 ;
Modulus of rupture = ( M / I ) * y ----- ( 1 )
M ( bending moment ) = R * length of span / 2
= (120 * 10^3 ) * 48 / 2 = 288 * 10^4 Ib-in
I ( moment of inertia ) = bd^3 / 12
= ( 2 )*( d )^3 / 12 = 2d^3 / 12
b = 2 in , d = ?
length of span = 4 * 12 = 48 inches
R = P / 2 = 240 * 10^3 / 2 = 120 * 10^3 Ib
y ( centroid distance ) = d / 2 inches
back to equation ( 1 )
( M / I ) * y
940.3 ksi = ( 288 * 10^4 / 2d^3 / 12 ) * d / 2
= ( 288 * 10^4 * 12 ) / 2d^3 ) * d / 2
940300 = 34560000* d / 4d^3
4d^3 ( 940300 ) = 34560000 d ( divide both sides with d )
4d^2 = 34560000 / 940300
d^2 = 9.188 ∴ Value of d ≈ 3.03 in