1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ad-work [718]
3 years ago
7

Define a function compute gas volume that returns the volume of a gas given parameters pressure, temperature, and moles. Use the

gas equation PV nRT, where P is pressure in Pascals, V is volume in cubic meters, n is number of moles, R is the gas constant 8.3144621 (J/ (mol*K), and T is temperature in Kelvin. 1 gas.const -8.3144621 23 Your solution goes here 45 gas pressure 108.0 6 gas moles 1.0 7 gas .temperature-273. 8 gasvolume-.0 910 gasvolume compute.gasvolumeCgas pressure, gastemperature, gas moles) 11 printC' Gas volume:",gas volume, 'mA3)
Computers and Technology
2 answers:
Bogdan [553]3 years ago
6 0

Answer:

Explanation:

import java.util.Scanner;

public class GasVolume {

final static double GAS_CONST = 8.3144621;

public static double computeGasVolume(double pressure,double temperature, double moles)

{

return moles*GAS_CONST*temperature/pressure;

}

public static void main(String[] args) {

Scanner scnr = new Scanner(System.in);

double gasPressure = 0.0;

double gasMoles = 0.0;

double gasTemperature = 0.0;

double gasVolume = 0.0;

gasPressure = 100;

gasMoles = 1 ;

gasTemperature = 273;

gasVolume = computeGasVolume(gasPressure, gasTemperature, gasMoles);

System.out.println("Gas volume: " + gasVolume + " m^3");

return;

}

}

timama [110]3 years ago
4 0

Answer:

in python:

def gas_volume(pressure, temperature, moles)-> 'm^3':

   volume = (moles * 8.314462123 * temperature)/ pressure

   return volumn

Explanation:

The python program defines the function "gas_volume" that computes the volume of a gas when the gas pressure, number of moles, and the temperature is given. The result (which is the volume) is mapped to the documentation 'm^3' which is the unit of volume.

You might be interested in
Which of the following statements is true regarding ARPANET? Select 3 options. It was a product of Bell Laboratories and was int
vlada-n [284]

Answer:

2. It was created to connect geographically dispersed researchers with high powered research computers.

3. The first message was sent through ARPANET in 1969 and it was decommissioned in 1990.

5. It led to the development of the Internet.

Explanation:

4 0
3 years ago
Which of the following is NOT true about a flow chart?
SCORPION-xisa [38]
I think the answer is A
4 0
3 years ago
Summarize who you believe cyber criminals are, and why?
sergij07 [2.7K]

Answer:

 The cyber criminals are the people that are engaged with getting the data in an unapproved way and furthermore mischief to the association henceforth are considered as cyber criminals.

Cyber criminals are people or groups of individuals who use innovation to committed the malicious exercises on computerized frameworks or systems with the aim of taking the organization data or individual information and producing benefit.

There are many types of cyber criminals that are:

  • Internet stalkers
  • Cyber terrorist
  • Identity thieves

5 0
3 years ago
How did the tropica cyclone impact the environment​
Vilka [71]
Island dim disk disk dim sum
6 0
2 years ago
The user interface design principle that places an emphasis on the intuitive flow of the interface (i.e. left to right and top t
SSSSS [86.1K]

Answer: Layout

Explanation: Layout is the basic interface design between the flow in a system that is in compact form so that user can access it easily. It also manages the flow of the interface pattern in whichever direction( top, left, bottom, right ) accordingly in minimal way. It also lets the user take the control over the panel interface that are in the display or may be hidden form.

4 0
3 years ago
Other questions:
  • I don’t know technically
    9·2 answers
  • Which task manager tab provides details about how a program uses system resources?
    14·1 answer
  • ___________ is a document that describes the locations of variables in the data file and lists the assignments of codes to the a
    12·1 answer
  • You have just finished upgrading the 250 w power supply in your desktop computer to a 450 w power supply. now the bios doesn't r
    7·1 answer
  • Who found the first computer bug in 1947, and invented the concept of a compiler in 1952
    6·1 answer
  • All of the following are characteristics of a 4 year college except
    11·2 answers
  • Given the arra
    15·1 answer
  • HELP FAST PLEASE
    6·1 answer
  • Test unit 8 edhesive answers ​
    15·1 answer
  • I need help with humans need not apply for codeing
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!