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
Select the correct answer from each drop-down menu.
Lelu [443]

Answer:

First: .Net

Second: New Zealand

Explanation:

Net is short for Network.

NZ means New Zealand.

3 0
3 years ago
Read 2 more answers
How to jail break iphone 7 with <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7617023602">[email&#160
GarryVolchara [31]
I do not think so i honestly do not know
6 0
2 years ago
Read 2 more answers
1. provide at least 3 properties and 3 methods of the object computer.
ValentinkaMS [17]

Answer:

The answers to these questions are given below in the explanation section.

Explanation:

The following are 3 properties and 3 methods of the object computer.

Solution

Properties:

  1. computer name;
  2. computer model;
  3. computer color;
  4. computer manufacturer

Methods:

  1. Turn on/off
  2. Do Wordprocessing
  3. Connect Keyboard/Mouse
  4. Charging
  5. Play sound

The following are 3 properties and 3 methods of the object computer.

Properties:

  1. Car Model;
  2. Car Manufacturer;
  3. Car Color

Methods:

  1. Car Run (Speed)
  2. Change Gear
  3. Open/Close Door
  4. Turn on/off

7 0
3 years ago
The three basic processes of memory are ______.
marysya [2.9K]

Answer:

The correct answer is letter "C": encoding, storage, retrieval.

Explanation:

In psychology, the stages of memory are <em>encoding, storage, </em>and <em>retrieval</em>. Encoding refers to changing the information as it is received so it can be stored in the memory and imply inputs in three kinds: <em>visual (pictures), acoustic (sounds), </em>and<em> semantic (meaning)</em>. Storage is the stage in which the input is retained in the memory, where it is stored, and for how long. Finally, retrieval implies organizing information stored in the memory to recall it.

6 0
2 years ago
What is the key to satisfaction and success when choosing a career
ELEN [110]

Answer:

be yourself

Explanation:

3 0
3 years ago
Read 2 more answers
Other questions:
  • which of the following are used on cable trays to protect the cable insulation from direct sunlight? a. barrier strips b. solid
    5·1 answer
  • 13.
    8·1 answer
  • What is the internet ?
    11·2 answers
  • 12) If the image's name is filename.gif, how can I make this image the background of my page?
    6·1 answer
  • To gain a competitive edge this year, the upper management of a global IT company has decided to focus on customer service, empl
    13·1 answer
  • A ________ database state is one in which all data integrity constraints are satisfied
    15·2 answers
  • Fill in the blank with the correct response.
    6·1 answer
  • On start up, which of these windows is not displayed ?
    15·2 answers
  • Write if true or false
    12·1 answer
  • Which statement is true about hacking?
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!