summaryrefslogtreecommitdiff
path: root/3308/CH36/EX36.1/Ex36_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3308/CH36/EX36.1/Ex36_1.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 '3308/CH36/EX36.1/Ex36_1.sce')
-rwxr-xr-x3308/CH36/EX36.1/Ex36_1.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/3308/CH36/EX36.1/Ex36_1.sce b/3308/CH36/EX36.1/Ex36_1.sce
new file mode 100755
index 000000000..bb2622356
--- /dev/null
+++ b/3308/CH36/EX36.1/Ex36_1.sce
@@ -0,0 +1,32 @@
+
+clc
+// Given that
+T=2.6//in mm wall thickness
+USL=3.2//in mm upper specification limit
+LSL=2//in mm lower specification limit
+Y=2.6//in mm mean
+s=0.2//in mm standard deviation
+C1=10//in dollar shipping included cost
+C2=50000//in dollars improvement cost
+n=10000//sections of tube per month
+// Sample Problem on page no. 978
+
+printf("\n # Production of Polymer Tubing # \n")
+
+k=C1/(USL-T)^2
+LossCost=k*(((Y-T)^2)+(s^2))
+//after improvement the variation is half
+s1=0.2/2
+LossCost1=k*(((Y-T)^2)+(s1^2))
+printf("\n\n Taguchi Loss Function = $ %f per unit ",LossCost1)
+//answer in the book is approximated to $0.28 per unit
+
+savings=(LossCost-LossCost1)*n
+paybackperiod=C2/savings
+printf("\n\n Payback Period = %f months",paybackperiod)
+//answer in the book is 6.02 months due to approximation savings
+
+
+
+
+