diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1436/CH4/EX4.7/ex4_7.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1436/CH4/EX4.7/ex4_7.sce')
-rwxr-xr-x | 1436/CH4/EX4.7/ex4_7.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1436/CH4/EX4.7/ex4_7.sce b/1436/CH4/EX4.7/ex4_7.sce new file mode 100755 index 000000000..2c9d2d45c --- /dev/null +++ b/1436/CH4/EX4.7/ex4_7.sce @@ -0,0 +1,20 @@ +// Example 4.7, page no-211
+clear
+clc
+
+//(a)
+sg_at_60=1.02
+API=(141.5/sg_at_60)-131.5
+printf("(a)\nDegrees API = %.2f°API",API)
+//(b)
+Be=145-145/sg_at_60
+printf("\n(b)\nDegrees Baume(heavy) = %.1f°Be",Be)
+//(c)
+Bk=(sg_at_60-1)*1000
+printf("\n(c)\nDegrees Barkometer = %d°Bk",Bk)
+//(d)
+Q=(sg_at_60-1)*1000
+printf("\n(c)\nDegrees Quevenne = %d°Q",Q)
+//(e)
+Tw=200*(sg_at_60-1.0)
+printf("\n(d)\nDegrees Twaddel = %d°Tw",Tw)
|