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 /2409/CH2/EX2.11/Ex2_11.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 '2409/CH2/EX2.11/Ex2_11.sce')
-rwxr-xr-x | 2409/CH2/EX2.11/Ex2_11.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2409/CH2/EX2.11/Ex2_11.sce b/2409/CH2/EX2.11/Ex2_11.sce new file mode 100755 index 000000000..37a8c5a0d --- /dev/null +++ b/2409/CH2/EX2.11/Ex2_11.sce @@ -0,0 +1,14 @@ + +//Variable Declaration + +JDref=2415020 //Reference Julian days +JC=36525 +JD=2451897.0417 //Julian days with reference from Example 2.10 + +//Calculation + +T=(JD-JDref)/JC //Time in julian Centuries + +//Result + +printf("The time for given date is : %.8f Julian Centuries",T) |