Hi! I had 1 problem in C, now I have another one. :o

Please bear with me. I am learning the C language.

Please run the following calculation in a scientific calculator. When the "=" sign is shown at the end of the calculation, be sure to press the = button on the calculator. Asin is labeled Sin -1 on some calculators. It dosn't matter if you don't have a scientific calculator.

((292.797 sin)*0.39777)asin=

The answer should be: -21.6685752754108925

Here is the same calculation in C. This is the way I do it:

#include <stdio.h>

#include <math.h>

main()

{

double math;

math=sin(292.797) * asin(0.39777);

printf("The result is %f",math);

return 0;

}

Ok, why aren't the 2 calculations the same? I need them the same. I have tried using different types of variables, I have tried converting radians to degrees, (math * 180 / PI) I have tried other things too, but to no avail. I have even tried doing a simple calculation like the following, to see if I did a mistype:

math=sin(1);

Even the above problem won't compute the same. It'll work fine for the basic calculations (+, -. x, -).

I think my problem **might** be converting radians to degrees (not sure). I have heard several calculations on converting radian numbers to degrees, and I have tried all of them. None have seemed to work.

I would appreciate ANY help on how I can get the 2 calculations to be the same.