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 /149/CH4/EX4.37/ques37.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 '149/CH4/EX4.37/ques37.sce')
-rwxr-xr-x | 149/CH4/EX4.37/ques37.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/149/CH4/EX4.37/ques37.sce b/149/CH4/EX4.37/ques37.sce new file mode 100755 index 000000000..fb932fa96 --- /dev/null +++ b/149/CH4/EX4.37/ques37.sce @@ -0,0 +1,26 @@ +//ques37
+syms a t
+x=a*(cos(t)+log(tan(t/2)));
+y=a*sin(t);
+s=diff(x,t,1)/diff(y,t,1);
+disp('length of tangent ');
+l=y*(1+s)^(0.5);
+disp(l);
+disp('checking for its dependency on t')
+
+f=1
+t=0;
+k=eval(l);
+for i=1:10
+ t=i;
+ if(eval(l)~=k)
+ f=0;
+ end
+end
+if(f==1)
+ disp("verified and equal to a");
+ disp('subtangent');
+ m=y/s;
+ disp(m);
+
+
\ No newline at end of file |