summaryrefslogtreecommitdiff
path: root/62/CH1/EX1.35
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /62/CH1/EX1.35
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '62/CH1/EX1.35')
-rwxr-xr-x62/CH1/EX1.35/ex_1_35.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/62/CH1/EX1.35/ex_1_35.sce b/62/CH1/EX1.35/ex_1_35.sce
new file mode 100755
index 000000000..fbd2aeda0
--- /dev/null
+++ b/62/CH1/EX1.35/ex_1_35.sce
@@ -0,0 +1,15 @@
+//ex_35 to check if a system is linear or non-linear
+clear;
+clc;
+close;
+x1=2;
+x2=3;
+y1=x1*x1;
+y2=x2*x2;
+y=y1+y2;
+z=(x1+x2)*(x1+x2);
+if z==y then
+ disp('the system is linear')
+else
+ disp("the system is nonlinear")
+end \ No newline at end of file