Staredit Network > Forums > Null > Topic: Simple math question
Simple math question
Apr 17 2008, 3:52 am
By: MillenniumArmy  

Apr 17 2008, 3:52 am MillenniumArmy Post #1



I think this is something ridiculously simple but it just slipped out of my mind.

Say you are given an equation:
0.0036 = p(1-cos(0.6/p))

how would you solve for p (note: cos is measured in radians, not degrees)? The answer given is p = 50, but can someone show me the steps?

Post has been edited 2 time(s), last time on Apr 17 2008, 6:09 am by MillenniumArmy.



None.

Apr 17 2008, 5:45 am Rantent Post #2



The book is wrong, by a factor of ten.



None.

Apr 17 2008, 5:54 am A_of-s_t Post #3

aka idmontie

This is all I could get:

0.036 = p(1-cos(0.6/p))
0 = p(1-cos(0.6/p)) - 0.036
0 = p - pcos(0.6/p) - 0.036

cos(nx) = 2 cos([n-1]x)cos(x) - cos([n-2]x)

0.6/p = 3/5/p = 3/5p = 6/10p = 1.2/2p = 3/5 * 1/p

3/5/p = 3/p/5



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Apr 17 2008, 6:00 am MillenniumArmy Post #4



Quote from Rantent
The book is wrong, by a factor of ten.
LOL oops, i meant 0.0036, not 0.036 mb



None.

Apr 17 2008, 6:18 am DT_Battlekruser Post #5



I hate algebra..



None.

Apr 17 2008, 6:20 am cheeze Post #6



Expand to Taylor series and approximate. :D



None.

Apr 17 2008, 2:34 pm DT_Battlekruser Post #7



Win :P



None.

Apr 17 2008, 3:26 pm Clokr_ Post #8



Quote from MillenniumArmy
I think this is something ridiculously simple but it just slipped out of my mind.

Say you are given an equation:
0.0036 = p(1-cos(0.6/p))

how would you solve for p (note: cos is measured in radians, not degrees)? The answer given is p = 50, but can someone show me the steps?

You cannot really solve that, the solution is probably irrational. But you can approximate it by several methods, including Taylor series.



?????

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:04 pm]
NudeRaider -- ihjel
ihjel shouted: "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
ihjel
ihjel shouted: "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
it's rather inconvenient actually, as it requires you to transfer it to Custom Score which might even interfere with what you're measuring. But IIRC you can also use EUDs to display it which by now could actually be somewhat convenient.
[09:25 pm]
ihjel -- "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
[2026-11-11. : 6:59 pm]
Symmetry -- I just pasted what google ai told me to try to form a feedback loop
[2026-11-11. : 1:24 pm]
NudeRaider -- UndeadStar
UndeadStar shouted: https://staredit.net/topic/18961/ <= wow, if there wasn't a capital letter on almost every word in the title, and a link in the signature, I may not have guesses it's an AI bot. I don't know much about map editing, but the content may even be relevant enough to be kept.
Yeah, I've noticed it, but it raised a couple of relevant questions and kept the ad to the signature so if someone were to engage with the topic it could be a net positive which is why I kept it. We're not necessarily anti-bot, just anti-spam. Thanks to Symmetry who realized my hope. :)
[2026-11-11. : 8:09 am]
Zycorax -- Greed
[2026-11-11. : 3:25 am]
Symmetry -- why do the oligarchs want our mapping strategies???
[2026-11-11. : 3:24 am]
Symmetry -- the question is why though
[2026-11-11. : 1:10 am]
Butch -- made me feel really sad and stupid and fat
[2026-11-11. : 1:10 am]
Butch -- I got duped by one and replied and then realized after
[2026-11-10. : 11:26 pm]
Sie_Sayoka -- the turings have tested
Please log in to shout.


Members Online: IlyaSnopchenko, Roy