Question: SCHEME 6 Recall from highachool trigonometry the sin function: HT in n right triangle whowe hypotenuse ha kngth 1 and interior angles x and n/2-xnx)

SCHEME  SCHEME 6 Recall from highachool trigonometry the sin function: HT in

6 Recall from highachool trigonometry the sin function: HT in n right triangle whowe hypotenuse ha kngth 1 and interior angles x and n/2-xnx) denotes the length of che edge opposite co the angle x (here x is measured in radhana) You won't need any fancy trigonometry to solve this problem sinx angle x cos Fgure 1: A righe triangle lt is a remarkable fact that for all real , mx=x--+ +-.. Write a SCHEME function nev-sin so that (oew-sin x n) returns the sum of the first(n +1) term of this power series evaluated at x. Specifically, Cev-sin 3), should return and, in general, (neu-sin x a) should return 0 (2k+1) You may use the buil-in function (expt x ), which neturns It might make sensc, alo, to define factorial as a separate function for use inside your new ain function.( value 2k is used several times in the definition of the kth term of this sum. Perhaps you can usea let tatement to avoid computing this quantity more than once?)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!