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 /2915/CH8 | |
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 '2915/CH8')
-rwxr-xr-x | 2915/CH8/EX8.1/8_1.JPG | bin | 0 -> 21217 bytes | |||
-rwxr-xr-x | 2915/CH8/EX8.1/Ex8_1.sce | 16 | ||||
-rwxr-xr-x | 2915/CH8/EX8.1/plot8_1.jpeg | bin | 0 -> 61425 bytes |
3 files changed, 16 insertions, 0 deletions
diff --git a/2915/CH8/EX8.1/8_1.JPG b/2915/CH8/EX8.1/8_1.JPG Binary files differnew file mode 100755 index 000000000..afd8761a1 --- /dev/null +++ b/2915/CH8/EX8.1/8_1.JPG diff --git a/2915/CH8/EX8.1/Ex8_1.sce b/2915/CH8/EX8.1/Ex8_1.sce new file mode 100755 index 000000000..a54ad78e9 --- /dev/null +++ b/2915/CH8/EX8.1/Ex8_1.sce @@ -0,0 +1,16 @@ +//Example 8.1
+//To plot the function of sin(x)
+clear,clc;
+
+x = linspace(-0,2*%pi,50);
+y = sin(x) ;
+
+//For grid, uncomment below line
+//set(gca(),"grid",[5 5]);
+
+printf('NOTE:\nTo enable the grid , check the code')
+plot(x,y,'r');
+xlabel("$0\le x\le 2*pi$","fontsize",4,"color","red");
+ylabel("$y(x)=sin(x)$","fontsize",4,"color","red");
+title("Example 8.1","color","blue","fontsize",9);
+legend("sin(x)");
diff --git a/2915/CH8/EX8.1/plot8_1.jpeg b/2915/CH8/EX8.1/plot8_1.jpeg Binary files differnew file mode 100755 index 000000000..b5c5fd5cd --- /dev/null +++ b/2915/CH8/EX8.1/plot8_1.jpeg |