summaryrefslogtreecommitdiff
path: root/1427/CH10/EX10.1/10_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH10/EX10.1/10_1.sce')
-rw-r--r--1427/CH10/EX10.1/10_1.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH10/EX10.1/10_1.sce b/1427/CH10/EX10.1/10_1.sce
new file mode 100644
index 000000000..672e49c15
--- /dev/null
+++ b/1427/CH10/EX10.1/10_1.sce
@@ -0,0 +1,8 @@
+//ques-10.1
+//Calculating viscosity index of the oil sample
+clc
+L=774;//low viscosity standard
+H=414;//high viscosity standard
+U=564;//saybolt universal viscosity
+V_I=((L-U)/(L-H))*100;//viscosity index
+printf("viscosity index of oil sample is %.2f.",V_I);