summaryrefslogtreecommitdiff
path: root/929/CH2/EX2.11.a/Example2_11_a.sce
diff options
context:
space:
mode:
Diffstat (limited to '929/CH2/EX2.11.a/Example2_11_a.sce')
-rwxr-xr-x929/CH2/EX2.11.a/Example2_11_a.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/929/CH2/EX2.11.a/Example2_11_a.sce b/929/CH2/EX2.11.a/Example2_11_a.sce
new file mode 100755
index 000000000..26d182ca3
--- /dev/null
+++ b/929/CH2/EX2.11.a/Example2_11_a.sce
@@ -0,0 +1,17 @@
+//Example 2.11(a)
+
+clear;
+
+clc;
+
+R0=100;
+
+alpha=0.00392;
+
+//R(T)=R0*(1+alpha*T) -> R(T)=100*(1+0.00392*T)
+
+printf("R(T)=%.2f",R0);
+
+printf("(1+%.5f",alpha);
+
+printf("T) ohms"); \ No newline at end of file