summaryrefslogtreecommitdiff
path: root/1427/CH10/EX10.1/10_1.sce
blob: 672e49c15b8d83185fa4a29885c7a50da71fee30 (plain)
1
2
3
4
5
6
7
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);