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 /716/CH2/EX2.13.c | |
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 '716/CH2/EX2.13.c')
-rwxr-xr-x | 716/CH2/EX2.13.c/Solved_Ex2_13c.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/716/CH2/EX2.13.c/Solved_Ex2_13c.sce b/716/CH2/EX2.13.c/Solved_Ex2_13c.sce new file mode 100755 index 000000000..bf2540ded --- /dev/null +++ b/716/CH2/EX2.13.c/Solved_Ex2_13c.sce @@ -0,0 +1,14 @@ +//Test the Given systems for linearity,y(t)=x^2(t)
+clc;
+clear;
+function x=f1(t),x=t; ,endfunction//x function of t
+function y=f(t,x), y=x*x'; ,endfunction//y function of x and t
+t=-5:0.1:5;
+x1=f1(t);
+x2=f1(t);
+x3=x1+x2;
+if f(t,x3)==(f(t,x1)+f(t,x2));
+ disp('system is linear');
+ else
+ disp('system is non linear');
+end
|