Didacus Posted March 11, 2008 Posted March 11, 2008 [quote name='nLEyETn' post='1475191' date='Mar 10 2008, 07:13 PM']It's been a long time since I've done any trig, but I think 0 is right. If you think about a Sine wave and how sine represents the y-intercept, and you are also doing sine calculations for one complete circle then you will receive a y-intercept along each point for one complete sine wave. Since half of those are negative and half are positive with the same values, they will cancel each other out (in a way) leaving you with 0. Again I haven't done trigonometry in a long time, so I'd make sure somebody else comes up with the same thing before trusting my explanation.[/quote] I believe this is correct due to simetry around the central Y-axios as stated above. The correct value would be '0' indeed. The second problem has been correctly solved by random using simetry accross the Y-axis due to squaring of the root. I would have used a different approach myself by summing all first quadrant squared values and multiplying by 4 since all quadrants are essentially repeated. Didace
Laudate_Dominum Posted March 11, 2008 Posted March 11, 2008 Unless there is something wrong with my code the answer is 180. My computer wouldn't lie. I do trig problems in code all the time too and this one is relatively simple. Plus RandomProddy did the problem manually and got the same result.
Laudate_Dominum Posted March 11, 2008 Posted March 11, 2008 Sorry, my bad.. You were talking about the first problem not the second. Sheesh.
RandomProddy Posted March 11, 2008 Posted March 11, 2008 (edited) [quote name='Laudate_Dominum' post='1475591' date='Mar 11 2008, 11:21 AM']Yikes! I'd probably just write a program to solve it. haha, This would probably be less work, just a few lines of code. hehe. [/quote] My way's more fun though [quote name='Didacus' post='1475593' date='Mar 11 2008, 11:25 AM']I would have used a different approach myself by summing all first quadrant squared values and multiplying by 4 since all quadrants are essentially repeated. Didace[/quote] I essentially did the same. The issue is that splitting it into equal quadrants excludes sin^2 (45) and sin^2 (135) values, which is why there is a + 1 in the middle of the square bracket below: 2 x [ {1 + 1 ... 1 + 1/2} + 1 + {1 + 1 ... 1 + 1/2} ] The curly bracket is one of the quadrants you mentioned. There are a few, but ultimately finite, ways to skin a cat. Edited March 11, 2008 by RandomProddy
Laudate_Dominum Posted March 11, 2008 Posted March 11, 2008 [quote name='RandomProddy' post='1475599' date='Mar 11 2008, 05:45 AM']My way's more fun though [/quote] true.
Didacus Posted March 11, 2008 Posted March 11, 2008 [quote name='RandomProddy' post='1475599' date='Mar 11 2008, 05:45 AM']My way's more fun though I essentially did the same. The issue is that splitting it into equal quadrants excludes sin^2 (45) and sin^2 (135) values, which is why there is a + 1 in the middle of the square bracket below: 2 x [ {1 + 1 ... 1 + 1/2} + 1 + {1 + 1 ... 1 + 1/2} ] The curly bracket is one of the quadrants you mentioned. There are a few, but ultimately finite, ways to skin a cat.[/quote] Agreed. And using a computer program is an artificial way of calculating in my opinion. It takes away from the logical process of actually pin pointing a proper solution; the method of RandomProddy is far more clever than any computer program. Combining the two of course is the best of both worlds, but I prefer the old fashioned way; its more reliable.
sebaker1 Posted March 11, 2008 Posted March 11, 2008 This has already been solved, but as an alternative solution, you can also think about it in terms of cos... recall sin^2(x) + cos^(x) = 1. and that sin(90-x) = cos(x). So, for example, for the first 90 terms you can write sin^2(1)+sin^2(2) + sin^2(3)+...sin^2(88)+sin^2(89)+sin^2(90 as sin^2(0)+sin^2(1)+sin^2(2)+sin^2(3)+...c s^2(2)+cos^2(1)+cos^2(0)...so you will have 45 complementary angles... and each pair of complementary angles (0 and 90, 1 and 89, 2 and 88...so on) will each give you 1. Repeating the same logic for all 4 quadrants and the result is indeed 180 (45*4).
Laudate_Dominum Posted March 11, 2008 Posted March 11, 2008 [quote name='PeaceAndPrayers' post='1475643' date='Mar 11 2008, 08:59 AM']This has already been solved, but as an alternative solution, you can also think about it in terms of cos... recall sin^2(x) + cos^(x) = 1. and that sin(90-x) = cos(x). So, for example, for the first 90 terms you can write sin^2(1)+sin^2(2) + sin^2(3)+...sin^2(88)+sin^2(89)+sin^2(90 as sin^2(0)+sin^2(1)+sin^2(2)+sin^2(3)+...c s^2(2)+cos^2(1)+cos^2(0)...so you will have 45 complementary angles... and each pair of complementary angles (0 and 90, 1 and 89, 2 and 88...so on) will each give you 1. Repeating the same logic for all 4 quadrants and the result is indeed 180 (45*4).[/quote] Good point. I like that approach too.
Laudate_Dominum Posted March 11, 2008 Posted March 11, 2008 [quote name='Didacus' post='1475635' date='Mar 11 2008, 08:41 AM']And using a computer program is an artificial way of calculating in my opinion. It takes away from the logical process of actually pin pointing a proper solution; the method of RandomProddy is far more clever than any computer program. Combining the two of course is the best of both worlds, but I prefer the old fashioned way; its more reliable.[/quote] I would hardly call it artificial and it depends on what you're doing I suppose. The only thing I use mathematics for is computer programs (models of 3D space, physics, AI, et cetera) so doing calculations on paper isn't really my bag. Being able to design algorithms in code that solve the problems is what is important and this involves the logical process of pinning down a proper solution but the rules are different. The way one would solve a problem on paper is not necessarily the best approach for a program since things that are normal on paper might have significant CPU overhead so shortcuts and tricks must be devised (and there are quirks such as floating point imprecision to take into account). That dumb function I wrote on the last page isn't a good example of this since it was just a goofy brute force things meant to entertain, but I still say that modeling reality programmatically is the coolest way to apply mathematics and designing good mathematical code is an art unto itself that requires both an understanding of the mathematics and an understanding of the machine.
Didacus Posted March 11, 2008 Posted March 11, 2008 Well maybe I'm jsut the old goat of the group. I remember back in my university days (about 10-15 years ago), I was the only one in a class of 50+ students who would hand in his assignments in hand written formats. Until the last year of my engineering sutides (when matrices were being used in cals), I was the only one that did NOT bring a calculator to his exams. By the way, until the fourth year university - I was also the only student who was computer illeterate; I needed help from someone to show me how to 'double click' something so the program would initiate. I however insist on my disagreement. The mathematical comprehension behind doing it manually versus computer is NOT the same level of understanding. One may 'think' the problem solved via computer method, but without proper understanding behind the actual math would never know it if a mistake was made. Whereas, the manual method forces the mathematicien or engineer to review EVERY STEP of the math; logical point by logical point. I've discussed this several times with peers at school. Somtimes in trying to explain to several of my peers why I had 95% on a mid-term where they (who used a calculator) has failed with less than 40%. The logical process of one is not the same as the other and the manual method is more reliable. If incorrect through the manual method; the fact that it is incorrect is self evident (in the fact that one cannot proceed to the next step) when the same is not as readily self evident from the software side of things.
RandomProddy Posted March 11, 2008 Posted March 11, 2008 (edited) [quote name='PeaceAndPrayers' post='1475643' date='Mar 11 2008, 02:59 PM']This has already been solved, but as an alternative solution, you can also think about it in terms of cos... recall sin^2(x) + cos^(x) = 1. and that sin(90-x) = cos(x). So, for example, for the first 90 terms you can write sin^2(1)+sin^2(2) + sin^2(3)+...sin^2(88)+sin^2(89)+sin^2(90 as sin^2(0)+sin^2(1)+sin^2(2)+sin^2(3)+...c s^2(2)+cos^2(1)+cos^2(0)...so you will have 45 complementary angles... and each pair of complementary angles (0 and 90, 1 and 89, 2 and 88...so on) will each give you 1. Repeating the same logic for all 4 quadrants and the result is indeed 180 (45*4).[/quote] Ah, very cool. Also another one i thought up: Using cos(2*x) = 2 cos^2(x) - 1 cos(2*x) = 2 (1- sin^2(x)) - 1 (1 - cos(2*x)) / 2 = sin^2(x) then you replace all the sin^2 (x) with that ans you sum. All the cos's sum to zero so you effectively sum 360 lots of 1/2. Something like that. I'd do it properly but gotta go to church.. Edit: Is there an identity for sin^2 ( x) in terms of linear multiples of sin (2^x)? You could use the result from the first question directly... Double-edit: Yes, stick it in e^ix = cos x + i sin x. I really have to go now i just love maths too much.... Edited March 11, 2008 by RandomProddy
CrossCuT Posted March 12, 2008 Author Posted March 12, 2008 (edited) [size=1]Uh...why cant I be smart in math? Ill skip the squared one...its stupid. Here is another one that I can embarrass myself with! Shown in the figure is a proposed railroad route through three towns loacted at points A, B, and C. The track will branch out from B toward C at an angle (theta). Show that the total distance [i]d[/i] from A to C is given by[b] [i]d[/i] = 20 tan (1/2(theta)) + 40[/b] [img]http://i3.photobucket.com/albums/y67/Pink_Citronnade/math.jpg[/img] [/size] Edited March 12, 2008 by CrossCuT
CrossCuT Posted March 12, 2008 Author Posted March 12, 2008 [size=1]I suppose thats how smart people do it. They do it themselves. Im seriously so unmotivated to do it though...I hate it so much. Maybe Ill do it after spring break! [/size]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now