Question: 31 The function sin?X can be represented by the following series: sinX-X-241-+-61 Wtite a complete program to evaluate this serles for X 2.0, printing the
31 The function sin?X can be represented by the following series: sin"X-X-241-+-61 Wtite a complete program to evaluate this serles for X 2.0, printing the results after 2,4,6,8,..., 14 terms and comparing to the true solution. The program should read the value of X. Note that the term for n-1 is X , and that all consecutive terms an be obtained by multiplying the. previous term by The computer print-out is.to have the following form: COMPARISON OF VALUBS OR SINE SQUARED SBRIRS SUMMATION INTRINSIC FUNCTION ABSOLUTE DIFFERENCE OR TERMS TIME-GT-- In problems 11 through 16, give FORTRAN statementa that perform the steps If TIME is greater than 15.0, increment TIMB by 1.0. 19 What ere the values of L, SUM, and CALC after completing this segment of a FORIRAN program? INTEGER BUM,CALC 14152 DO 100 I 1 50 10 0-1 BUMSUM+1 CALC = 1 2 ! 100 CONTINUE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
