summaryrefslogtreecommitdiff
path: root/929/CH2/EX2.11.a/Example2_11_a.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /929/CH2/EX2.11.a/Example2_11_a.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
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