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
klasskru [66]
3 years ago
8

What two things must be included in your function definition?

Engineering
1 answer:
mars1129 [50]3 years ago
8 0

Explanation:

commands to be and function arguments

You might be interested in
Imagine the arc of a football as it flies through the air. How does this motion illustrate classical mechanics?
BigorU [14]

Answer: Maybe A

Explanation:

7 0
1 year ago
Read 2 more answers
A spherical balloon with a diameter of 9 m is filled with helium at 20°C and 200 kPa. Determine the mole number and the mass of
SIZIF [17.4K]

Answer:

<em>number of mole is 31342.36 moles</em>

<em>mass is 125.369 kg</em>

<em></em>

Explanation:

Diameter of the spherical balloon d = 9 m

radius r = d/2 = 9/2 = 4.5 m

The volume pf the sphere balloon ca be calculated from

V = \frac{4}{3} \pi r^3

V = \frac{4}{3}* 3.142* 4.5^3 = 381.75 m^3

Temperature of the gas T = 20 °C = 20 + 273 = 293 K

Pressure of the helium gas = 200 kPa = 200 x 10^3 Pa

number of moles n = ?

Using

PV = nRT

where

P is the pressure of the gas

V is the volume of the gas

n is the mole number of the gas

R is the gas constant = 8.314 m^3⋅Pa⋅K^−1⋅mol^−1

T is the temperature of the gas (must be converted to kelvin K)

substituting values, we have

200 x 10^3 x 381.75 = n x 8.314 x 293

number of moles n  = 76350000/2436 = <em>31342.36 moles</em>

We recall that n = m/MM

or m = n x MM

where

n is the number of moles

m is the mass of the gas

MM is the molar mass of the gas

For helium, the molar mass = 4 g/mol

substituting values, we have

m = 31342.36 x 4

m = 125369.44 g

m =<em> 125.369 kg</em>

3 0
3 years ago
suppose we number the bytes in a w-bit word from 0 (less significant) to w/8-1 (most significant). write code for the followign
sammy [17]

Solution:

typedef  unsigned  char  *byte_pointer;

static int  int_of_bit  (byte_pointer x,  int  loc)

{

                  return(x[loc] << loc*8);

}  

static int  replace_byte(unsigned int a,  int loc,  unsigned int  b)

    unsigned int a_loc = int_of_bit((byte_pointer) &a ,  loc);

    unsigned int b_loc = (b  <<  loc*8);

 

     a  -=  a_loc;

      a  += b_loc;

      return a;

}

Explanation:

This takes two ints in hex format, one with 8 bits (0x00000000) and one with 2 bits (0x00) then places the 2 bit hex into the 8 bit at a given location.

EX:  replace_byte(0x00000000, 1, 0xFF) return 0x0000FF00

First thing first, it looks like you have some mixup:

" one with 8 bits (0x00000000) and one with 2 bits (0x00)*- what you mean is nibble not bits. Each hex character (0-9, A-F) represent 4 bits (16 possible combination), and is called a "nibble".

0x0000000 is 4 bytes. 0x00 is 2 bytes.

Next, you say "takes two ints in hex format" - your function takes two ints in any format. You're just choosing tp express them in hexidecimal. C++ doesn't care if you specify numbers in hex, decimal, octal, binary, etc.

8 0
4 years ago
PLEASE HELP, TEST MULTIPLE CHOICE QUESTIONS
Rina8888 [55]

Answer:

c

Explanation:

dbfjex vadamhqrmtwg

8 0
3 years ago
Read 2 more answers
Consider flow in between two parallel plates located a distance H from each other. Fluid flow is driven by the bottom plate movi
katrin2010 [14]
Wow I don’t
Know but I would
Help you
8 0
3 years ago
Other questions:
  • Two metallic terminals protrude from a device. The terminal on the left is the positive reference for a voltage called vx (the o
    8·1 answer
  • Administrative controls can be broken down into two categories; programs such as
    14·1 answer
  • 6. You are an electrician working in an industrial plant. You are building a motor control cabinet that contains six motor start
    6·1 answer
  • Air flows along a horizontal, curved streamline with a 20 foot radius with a speed of 100 ft/s. Determine the pressure gradient
    14·1 answer
  • A mass of air occupying a volume of 0.15m^3 at 3.5 bar and 150 °C is allowed [13] to expand isentropically to 1.05 bar. Its enth
    11·1 answer
  • A misfire code is a type ____ DTC<br> A) 1 or 2<br> B) a or b<br> C) c or d<br> D l or ll
    15·1 answer
  • Gawain 2 talasalitaan
    11·1 answer
  • What car has autopilot?
    14·2 answers
  • Technician A says that a defective crankshaft position sensor can cause a no spark condition technician B says that a faulty ign
    8·1 answer
  • Sơ đồ nguyên lý của một hệ thống lạnh
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!