Hello everyone, I am trying to write a program on simpson's 1/3rd rule.
But I am stuck with a problem which even a high school student should know.I am trying to write the program for the integration of the integrand which is
y=(log (sin x))^2
from 4 to 5.2
Now the problem is I cant use the value 4 or whatever, in place of x in the equation since x should be in degrees.So I am converting 4 to degrees by multiplying 4 with 180/3.14 i.e.,
4 * 180/3.14 =229.18 degrees
Now I am confused if this is the right way or not.
Can anyone help me out at the earliest.
THANKS in advance.....