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
Rainbow [258]
3 years ago
5

Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and modifying th

e function accordingly 1 def celsius_to_kelvin(value_celsius): value_kelvin -. 4 value_kelvin- value_celsius 273.15 return value_kelvin Your solution goes here 9 value_c 0.e 10 valuek=0.0 - 12 value_c 10.8 13 15 16 print (value-c, 'Cis', celsius-to-kelvin(value-c), "K.) valuek# 283.15 print (value-k, .İS', kelvin-to-celsíus (value-k), 'C') -

Engineering
1 answer:
aleksandr82 [10.1K]3 years ago
4 0

Answer:

# kelvin_to_celsius function is defined

# it has value_kelvin as argument

def kelvin_to_celsius(value_kelvin):

   # value_celsius is initialized to 0.0

   value_celsius = 0.0

   

   # value_celsius is calculated by

   # subtracting 273.15 from value_kelvin

   value_celsius = value_kelvin - 273.15

   # value_celsius is returned

   return value_celsius

   

# celsius_to_kelvin function is defined

# it has value_celsius as argument

def celsius_to_kelvin(value_celsius):

   # value_kelvin is initialized to 0.0

   value_kelvin = 0.0

   

   # value_kelvin is calculated by

   # adding 273.15 to value_celsius

   value_kelvin = value_celsius + 273.15

   # value_kelvin is returned

   return value_kelvin

   

value_c = 0.0

value_k = 0.0

value_c = 10.0

# value_c = 10.0 is used to test the function celsius_to_kelvin

# the result is displayed

print(value_c, 'C is', celsius_to_kelvin(value_c), 'K')

value_k = 283.15

# value_k = 283.15 is used to test the function kelvin_to_celsius

# the result is displayed

print(value_k, 'is', kelvin_to_celsius(value_k), 'C')

Explanation:

Image of celsius_to_kelvin function used as guideline is attached

Image of program output is attached.

You might be interested in
A Pitot-static probe is used to measure the speed of an aircraft flying at 3000 m. If the differential pressure reading is 3200
coldgirl [10]

Answer:

Speed of aircraft ; (V_1) = 83.9 m/s

Explanation:

The height at which aircraft is flying = 3000 m

The differential pressure = 3200 N/m²

From the table i attached, the density of air at 3000 m altitude is; ρ = 0.909 kg/m3

Now, we will solve this question under the assumption that the air flow is steady, incompressible and irrotational with negligible frictional and wind effects.

Thus, let's apply the Bernoulli equation :

P1/ρg + (V_1)²/2g + z1 = P2/ρg + (V_2)²/2g + z2

Now, neglecting head difference due to high altitude i.e ( z1=z2 ) and V2 =0 at stagnation point.

We'll obtain ;

P1/ρg + (V_1)²/2g = P2/ρg

Let's make V_1 the subject;

(V_1)² = 2(P1 - P2)/ρ

(V_1) = √(2(P1 - P2)/ρ)

P1 - P2 is the differential pressure and has a value of 3200 N/m² from the question

Thus,

(V_1) = √(2 x 3200)/0.909)

(V_1) = 83.9 m/s

4 0
3 years ago
Prompt the user to input an integer, a double, a character, and a string, storing each into separate variables. Then, output tho
Likurg_2 [28]

Answer:

See explanation

Explanation:

//Include the

//required header files.

#include <stdio.h>

//Define the

//main() function.

int main(void) {

//Declare the

//required variables.

char input_char;

int input_int;

double input_double;

char input_string[100];

//Prompt the user

//to enter an integer.

printf("Enter integer: ");

//Read and store

//the integer.

scanf("%d", &input_int);

//Prompt the user

//to enter a double value.

printf("Enter double: ");

//Read and store

//the double value.

scanf("%lf", &input_double);

//Prompt the user

//to enter a character.

printf("Enter character: ");

//Read and store

//the character.

scanf(" %c", &input_char);

//Prompt user to

//enter the string

printf("Enter string: ");

//Read and

//store the string.

scanf("%s", input_string);

//(1)

//Display the values.

printf("%d %lf %c %s\n",

input_int, input_double,

input_char, input_string);

//(2)

//Display the values

//in reverse order.

printf("%s %c %lf %d\n",

input_string, input_char,

input_double, input_int);

//(3)

//Cast the double to

//an integer and display it.

printf("%lf cast to an integer is %d",

input_double, (int)(input_double));

//Return from the

//main() function.

return 0;

}

4 0
3 years ago
Nanotechnology is a scientific area that deals with making or changing things that are incredibly _______________. *
Dafna1 [17]
B tiny nano means small!!
3 0
3 years ago
Read 2 more answers
Someone tell me the answer plz!!DONT be rude and just answer for points:)
Vedmedyk [2.9K]

Answer:

B

Explanation:

B

3 0
3 years ago
Read 2 more answers
Work done by a system during a process can be considered as a property of the system. a)True b) False
SVEN [57.7K]

Answer:

b) False

Explanation:

Work done by a system is not a property because it doesn't define the system's state. Work is mechanical energy exchanged across the system's boundaries.

6 0
4 years ago
Other questions:
  • A composite wall consists of 20 mm thick steel plate backed by insulation brick (k = 0.39 W/mK) of 50 cm thickness and overlaid
    6·1 answer
  • How much does 5 acres of land cost in the US?
    12·1 answer
  • The 10 foot wide circle quarter gate AB is articulated at A. Determine the contact force between the gate and the smooth surface
    10·1 answer
  • For the pipe-fl ow-reducing section of Fig. P3.54, D 1 5 8 cm, D 2 5 5 cm, and p 2 5 1 atm. All fl uids are at 20 8 C. If V 1 5
    10·1 answer
  • A company that produces footballs uses a proprietary mixture of ideal gases to inflate their footballs. If the temperature of 23
    11·1 answer
  • Consider the freeway in Problem 1. At one point along this freeway there is a 4% upgrade with a directional hourly traffic volum
    15·2 answers
  • 5b. The object George is examining has a mass of 15 grams. What is<br> the density of the object?
    5·1 answer
  • Realize the function f(a, b, c, d, e) = Σ m(6, 7, 9, 11, 12, 13, 16, 17, 18, 20, 21, 23, 25, 28)using a 16-to-1 MUX with control
    13·1 answer
  • Please help! timed test. This about electrical control. Please be serious.
    15·1 answer
  • Hello , how are yall:))))
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!