answersLogoWhite

0


Best Answer

If you're typing " cos(40) ", then BASIC is thinking 40 radians, not 40 degrees.

One radian is (180/pi) or about 57.3 degrees.

Your 40 radians works out to about 2,292 degrees. The cosine of that ugly thing

is the same as the cosine of 132 degrees, which is -0.669 .

If your BASIC program involves angles, and you'll be inputting them in degrees like

all normal people typically do, then your program has to divide each one by 57.3

before it tries to work with the angle.

57.3 is off by about 0.007 percent. If you need better accuracy than that, then define

a quantity in your program, say 'K' = 3.141593/180 , and then whenever an angle

arrives in degrees, multiply it by 'K' before the program gets it.

If the program has to figure out an angle and give it to you, then it should divide

the angle by 'K' before you get it.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why does basic return cos of 40 degrees as a negative number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why does a negative number multiplied by a postive number equal a negative number?

That is part of the basic rules of Math: A: Multiply a Negative and a Negative will result in a Postive. B. Multiply a Negative and a Postive will result in a Negative. BTW, unlike English grammar, rules of Math are true at all times.


What basic functions have no x-intercept?

Those that have a negative number under the square root. It then has no x-intercept.


What is the pH number for windex?

its about 10.5 to 11


The first number line is the?

In basic mathematics, a number line is a picture of a straight line that serves as representation of negative and positive numbers.


Why cant you evaluate the square root of negative twenty five using real numbers?

using basic math principles, you can't find the square root of a negative number because in order for a number to be a square root, you have to multiply it by itself to get your radical. since a negative times a negative and a positive times a positive are both positive, it is impossible to find the square root of a negative number


How a modulus function works?

At the basic level, the modulus of a number or expression is simply the value of the number or of the expression. For a positive number the modulus is the number, for 0 it is 0, and for a negative number, x, it is -x (which is positive).


Basic concept of risk and return?

The higher the risk, the higher the return.


Why does a negative integer raised to an even power always result in a positive integer?

The multiplication rule of thumb always states that a negative number times a negative number results in a positive number. Since an even number is always divisible by two, any value raised to an even integer power will result in a positive number. However, a basic proof is presented as follows: (-A) * (-A) = A^2 ((-A) * (-A)) ^ 2 = ((-A * -A) * (-A * -A)) = A^2 * A^2 = A ^ 4 ...


A superscript number tells you to multiply the base number by itself that many times?

Yes, that is the basic idea - if the exponent (the number with a superscript) is a positive integer. However, negative and fractional exponents are also defined; you can verify this with any scientific calculator (use a positive number as the base, in this case).Note: In a number such as 103, 10 is the base, 3 is the exponent.Yes, that is the basic idea - if the exponent (the number with a superscript) is a positive integer. However, negative and fractional exponents are also defined; you can verify this with any scientific calculator (use a positive number as the base, in this case).Note: In a number such as 103, 10 is the base, 3 is the exponent.Yes, that is the basic idea - if the exponent (the number with a superscript) is a positive integer. However, negative and fractional exponents are also defined; you can verify this with any scientific calculator (use a positive number as the base, in this case).Note: In a number such as 103, 10 is the base, 3 is the exponent.Yes, that is the basic idea - if the exponent (the number with a superscript) is a positive integer. However, negative and fractional exponents are also defined; you can verify this with any scientific calculator (use a positive number as the base, in this case).Note: In a number such as 103, 10 is the base, 3 is the exponent.


The basic unit in which angles are measured is the?

degrees


What basic unit by which angels are measured by?

degrees


The basic unit in which angles are measure is?

degrees