Hi, you haven't provided the programing language in which you need the code, I'll just explain how to do it using Python, and you can apply a similar method for any programming language.
Answer:
1. def pyramid_volume(base_length, base_width, pyramid_height):
2. volume = base_length*base_width*pyramid_height/3
3. return(volume)
Explanation step by step:
- In the first line of code, we define the function pyramid_volume and it's input parameters
- In the second line, we perform operations with the input values to get the volume of the pyramid with a rectangular base, the formula is V = l*w*h/3
- In the last line of code, we return the volume
In the image below you can see the result of calling the function with input 4.5, 2.1, 3.0.
Android provides a huge set of 2D-drawing APIs that allow you to create graphics.
Android has got visually appealing graphics and mind blowing animations.
The Android framework provides a rich set of powerful APIS for applying animation to UI elements and graphics as well as drawing custom 2D and 3D graphics.
<h3>Three Animation Systems Used In Android Applications:-</h3>
1. Property Animation
2. View Animation
3. Drawable Animation
Answer:
The correct answer is option 'B': Load is far from fulcrum and the effort is applied near the fulcrum
Explanation:
A lever works on the principle of balancing of torques. The torque about the fulcrum by the load should be equal to the torque by the applied effort. Since we know that the torque is proportional to both the force and the distance it is applied from the distance from the axis of rotation. A lever is used when we need to lift a heavy load by utilizing this effect of the lever arm.
A mechanical disadvantage occurs when we are not able to lift the weight easily due to the fact we apply effort near the fulcrum.
Answer: Homelessness, Drug addiction, Mental Illness, Climate change.
Explanation:
Society would rather be ignorant to/ ignore all of these realities so they do not have to stop specific behaviors or actually acknowledge other people and help. Sometimes people are so stressed out about their own lives, they can not bare another persons issues. People are ignorant to climate change because correcting it requires massive changes and society is selfish and unwilling to change.