Answer:
The mass of the beam is = 29 kg.
Explanation:
A beam with mass 40 kg is shown in figure. Point S is the support point. Point B is the middle point on the beam where mass of the beam acts.
Taking moment about Point S
40 × 21 =
× 29
= 29 kg
Therefore the mass of the beam is = 29 kg.
Answer:
True, check attachment for code
Explanation:
To convert java strings of text to upper or lower case, we can use and inbuilt methods To Uppercase and To lower case.
The first two lines of code will set up a String variable to hold the text "text to change", and then we print it out.
The third line sets of a second String variable called result.
The fourth line is where the conversion is done.
We can compare the string
We can compare one string to another. (When comparing, Java will use the hexadecimal values rather than the letters themselves.) For example, if we wanted to compare the word "Fat" with the word "App" to see which should come first, you can use an inbuilt string method called compareTo.
Check attachment for the code
Answer:
Refractive index of a medium = Speed of light in vacuum/Speed of light in a medium
1.5 = 3 x 108 / Speed of light in medium
Speed of light in the medium = 3 x 108 /1.5
= 2 x 108 m/s.
Explanation: