subject
Physics, 15.02.2020 00:35 Hazy095

Define a method pyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, that returns as a double the volume of a pyramid with a rectangular base. Relevant geometry equations:

Volume = base area x height x 1/3
Base area = base length x base width.
(Watch out for integer division)

import java. util. Scanner;

public class CalcPyramidVolume {

/* Your solution goes here */

public static void main (String [] args) {
System. out. println("Volume for 1.0, 1.0, 1.0 is: " + pyramidVolume(1.0, 1.0, 1.0));
return;

ansver
Answers: 2

Another question on Physics

question
Physics, 22.06.2019 05:30
Choose the most likely outcome of this scenario: jen decided to go bike riding without a helmet. while no one is around during her ride, she is thrown from her bike when her wheel goes into a pothole. she is not injured, but she is terrified to get back on her bike. what happens next? a. her physical health is affected even though she wasn't hurt. b. her mental and emotional health are affected because she is afraid to get back on her bike. c. her social health is affected because she is worried her friends saw the fall. d. her overall health is not affected at all by her fall.
Answers: 1
question
Physics, 22.06.2019 19:30
Amass m = 74 kg slides on a frictionless track that has a drop, followed by a loop-the-loop with radius r = 18.4 m and finally a flat straight section at the same height as the center of the loop (18.4 m off the ground). since the mass would not make it around the loop if released from the height of the top of the loop (do you know why? ) it must be released above the top of the loop-the-loop height. (assume the mass never leaves the smooth track at any point on its path.) 1. what is the minimum speed the block must have at the top of the loop to make it around the loop-the-loop without leaving the track? 2. what height above the ground must the mass begin to make it around the loop-the-loop? 3. if the mass has just enough speed to make it around the loop without leaving the track, what will its speed be at the bottom of the loop? 4. if the mass has just enough speed to make it around the loop without leaving the track, what is its speed at the final flat level (18.4 m off the ground)? 5. now a spring with spring constant k = 15600 n/m is used on the final flat surface to stop the mass. how far does the spring compress?
Answers: 3
question
Physics, 22.06.2019 22:30
Suppose astronomers built a 140-meter telescope. how much greater would its light-collecting area be than that of the 10-meter keck telescope? express your answer using two sign
Answers: 3
question
Physics, 23.06.2019 11:30
A: all waves on the electromagnetic spectrum travel at the same speed in a vacuum. the speed of these waves in a vacuum is 3x108 m/s. as the wavelength of a wave doubles, how does the speed and frequency of the wave change?
Answers: 1
You know the right answer?
Define a method pyramidVolume with double parameters baseLength, baseWidth, and pyramidHeight, that...
Questions
question
English, 24.03.2020 17:03
question
Mathematics, 24.03.2020 17:03
question
History, 24.03.2020 17:03
Questions on the website: 13722361