• Welcome to the new Internet Infidels Discussion Board, formerly Talk Freethought.

Quick Questions Thread

Kharakov

Quantum Hot Dog
Joined
Aug 2, 2000
Messages
4,371
Location
OCCaUSA
Basic Beliefs
Don't step on mine.
How many terms t of e^ia are needed for cosine(a) to be accurate to n decimal places?

f(n,a):= # of terms t of e^ia needed for n decimal accuracy for cosine(a)

disregarding the initial 1...

\(\frac{a^{2t}}{\left( 2t\right)!}\)
 
2) Are there an infinite amount of (non trivial) alternating infinite series in the following form, with r being a variable ratio, and a being a set sequence of numbers (like 2!,4!,6!... or 1!,3!,5!... or 1,20,120, 1200... etc.)

\(\lim_{t\to\infty} \sum (-1)^{t+1} \,\, \frac{r^t}{a_t} \,\, = \,\, \frac{r}{a_1} -\frac{r^2}{a_2} +\frac{r^3}{a_3} -\frac{r^4}{a_4} +...\)


.. that have an infinite amount of zeros as r is increased, similar to sine and cosine?
 
How many terms t of e^ia are needed for cosine(a) to be accurate to n decimal places?

f(n,a):= # of terms t of e^ia needed for n decimal accuracy for cosine(a)

disregarding the initial 1...

\(\frac{a^{2t}}{\left( 2t\right)!}\)

Do you understand complex numbers?

You are invoking Euler's Formula. e^ix represents a single complex frequency or sin/cos wave. They are real numbers as such infinite. In engineering we convert to phasors to make math easier.

Scroll down to trigonometry
https://en.wikipedia.org/wiki/Euler's_formula

https://en.wikipedia.org/wiki/Phasor

I used the Taylor Series to calculate trig functions in embedded computing. I dervived the number of terms needed by calculation.
 
Do you understand complex numbers?

No.
ZG9xEuJKjIvlqyX7lCpGbwd9EDQFY5hEwlcidKMWTaW_zbKzkLSsclZmIoYeKuv_Zzb8O9bwrA=w480-no



Ok, I might be being disingenuous. That image is generated with a form of dual (or bi) complex number, rotations, reflections, polygonal (or polyhedral?? I forget) transforms that I wrote a while back.
 
To answer more simply the relationship between sin-cos and an a complex exponential is an identity. The transformation to complex exponentials is analogous to transforming to logarithms to perform multiplication and division.

a*b = log(a) + log(b)
 
Steve, are you fucking with me because I derail threads, or do you really think you answered any question that I asked?

I didn't want to write a formula myself. Damnit. Fuck you guys. I'll do it.

termspart:1-a^2/2, tp1:2,
while floor [(cosine(a) - termspart)*10^n] >0 do [

termspart:termspart+ (-1)^tp1*a^(2*tp1)/((2*tp1)!),
tp1:tp1+1,
disp ("fuck you guys")
],

disp (sconcat("fuck you guys: ", tp1-1))



easier method good enough for my purposes: calculate when 10^(n+1) *[a^(2(t+2))/(((t+2)2)!)] <5
 
Last edited:
I paid three dollars for a six pack of Pepsi.

If I divide by putting $3 in the numerator and 6 in the denominator, I can interpret the result of the calculation as having paid on average fifty cents per can of Pepsi.

If I divide by putting 6 in the numerator and $3 in the denominator, I can calculate the resulting value, but I have no idea how to articulate an interpretation for my answer. Any idea?
 
Steve, are you fucking with me because I derail threads, or do you really think you answered any question that I asked?

I didn't want to write a formula myself. Damnit. Fuck you guys. I'll do it.

Anyone can have a brain fart without warning. It smells bad and us=is soon forgotten.
 
I paid three dollars for a six pack of Pepsi.

If I divide by putting $3 in the numerator and 6 in the denominator, I can interpret the result of the calculation as having paid on average fifty cents per can of Pepsi.

If I divide by putting 6 in the numerator and $3 in the denominator, I can calculate the resulting value, but I have no idea how to articulate an interpretation for my answer. Any idea?

Dimensional analysis.2 cans per dollar. 6 cans/3 dollars is 2 cans per dollar. Normalizing to a unit value is what I would call it.

Bushels per acre. Pounds pw per square inch.
 
2) Are there an infinite amount of (non trivial) alternating infinite series in the following form, with r being a variable ratio, and a being a set sequence of numbers (like 2!,4!,6!... or 1!,3!,5!... or 1,20,120, 1200... etc.)

\(\lim_{t\to\infty} \sum (-1)^{t+1} \,\, \frac{r^t}{a_t} \,\, = \,\, \frac{r}{a_1} -\frac{r^2}{a_2} +\frac{r^3}{a_3} -\frac{r^4}{a_4} +...\)


.. that have an infinite amount of zeros as r is increased, similar to sine and cosine?

Anyone? Are there any non-trivial examples of alternating series for periodic functions other than ones that are based on sine and cosine?

Trivial would be something like the expanded series for cos(a) * cos(b)...
 
Back
Top Bottom