Experimental Data Worksheet Input Cells From Experimental Data Calculations (Outputs) Temperature In [oC]Temperature Out [oC]Flowrate [gpm]Tm [oC]Density [kg/m3]Viscosity [m2/s] Prandtl# [--]...

1 answer below »

View more »
Answered 7 days AfterJul 12, 2021

Answer To: Experimental Data Worksheet Input Cells From Experimental Data Calculations (Outputs) Temperature In...

Arun Shankar answered on Jul 14 2021
153 Votes
import math
PI = math.pi
temp_in = float(input("Temperature in (deg. C): "))
temp_out = float(input("Temperat
ure out (deg. C): "))
flow_rate = float(input("Flow rate: "))
tube_inner_dia = float(input("Tube inner diameter: "))
total_cooling_length = float(input("Total cooling length: "))
input_heat_compare = float(input("Input Heat To Compare: "))
# Compute density, viscosity, pr, k , cp
# from the excel sheet
def extrapolate(yvalues, index, xvalues, tm):
y1 = yvalues[index]
y2 = yvalues[index + 1]
m = (y2 - y1) / (temp_values[index + 1] - temp_values[index])
y = y1 + (m * (tm - temp_values[index]))
return y
temp_values = [0.00, 1.85, 6.85, 11.85, 16.85, 21.85, 26.85, 31.85, 36.85, 41.85, 46.85, 51.85, 56.85, 61.85, 66.85, 71.85, 76.85, 81.85, 86.85, 91.85, 96.85, 100.00]
specific_heat = [4217, 4211, 4198, 4189, 4184, 4181, 4179, 4178, 4178, 4179, 4180, 4182, 4184, 4186, 4188, 4191, 4195, 4199, 4203, 4209, 4214,
4217]
density_values = [1000, 1000, 1000, 1000, 999.000999, 998.003992, 997.0089731, 995.0248756, 993.0486594, 991.0802775, 989.1196835, 987.1668312, 984.2519685,...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here
April
January
February
March
April
May
June
July
August
September
October
November
December
2025
2025
2026
2027
SunMonTueWedThuFriSat
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
00:00
00:30
01:00
01:30
02:00
02:30
03:00
03:30
04:00
04:30
05:00
05:30
06:00
06:30
07:00
07:30
08:00
08:30
09:00
09:30
10:00
10:30
11:00
11:30
12:00
12:30
13:00
13:30
14:00
14:30
15:00
15:30
16:00
16:30
17:00
17:30
18:00
18:30
19:00
19:30
20:00
20:30
21:00
21:30
22:00
22:30
23:00
23:30