From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 149/CH4/EX4.37/ques37.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 149/CH4/EX4.37/ques37.sce (limited to '149/CH4/EX4.37/ques37.sce') 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 -- cgit