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 --- 2915/CH1/EX1.8/1_8.JPG | Bin 0 -> 9483 bytes 2915/CH1/EX1.8/Ex1_8.sce | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 2915/CH1/EX1.8/1_8.JPG create mode 100755 2915/CH1/EX1.8/Ex1_8.sce (limited to '2915/CH1/EX1.8') diff --git a/2915/CH1/EX1.8/1_8.JPG b/2915/CH1/EX1.8/1_8.JPG new file mode 100755 index 000000000..1389ed8f5 Binary files /dev/null and b/2915/CH1/EX1.8/1_8.JPG differ diff --git a/2915/CH1/EX1.8/Ex1_8.sce b/2915/CH1/EX1.8/Ex1_8.sce new file mode 100755 index 000000000..acd2641df --- /dev/null +++ b/2915/CH1/EX1.8/Ex1_8.sce @@ -0,0 +1,23 @@ +clc,clear +//example 1.8 +//To find all trigonometric functions when sine functions is given + +sin_A=2/3 //given +//since sine function is opposite/hypotenuse and +//T-ratios are defined interms of ratio of sided of right triangle +opposite=2; +hypotenuse=3; +BC = opposite; +AB = hypotenuse; +b = sqrt(hypotenuse^2- opposite^2) //by pythagoras theorem +adjacent = b; + +cos_A = adjacent / hypotenuse; +tan_A = opposite / adjacent; +csc_A = hypotenuse/opposite; +sec_A = hypotenuse/adjacent; +cot_A = adjacent / opposite; + +printf('for ANGLE A') +printf('\nsin(A)= %.4f ; cos(A)= %.4f; tan(A)= %.4f;\n',sin_A,cos_A,tan_A) +printf('csc(A)= %.4f ; sec(A)= %.4f; cot(A)= %.4f;',csc_A,sec_A,cot_A) -- cgit