summaryrefslogtreecommitdiff
path: root/3845/CH20/EX20.6/Ex20_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH20/EX20.6/Ex20_6.sce')
-rw-r--r--3845/CH20/EX20.6/Ex20_6.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3845/CH20/EX20.6/Ex20_6.sce b/3845/CH20/EX20.6/Ex20_6.sce
new file mode 100644
index 000000000..4d4a1ca2d
--- /dev/null
+++ b/3845/CH20/EX20.6/Ex20_6.sce
@@ -0,0 +1,8 @@
+//Example 20.6
+R_0=0.350;//Cold resistance of tungsten (ohm)
+alpha=4.5*10^-3;//Temperature coefficient of resistivity (1/deg C)
+delta_T=2850-20;//Temperature change (C)
+R=R_0*(1+alpha*delta_T);//Hot resistance (ohm)
+printf('Resistance of the filament after temperature change = %0.1f ohm',R)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest