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:10 pm]
Ultraviolet -- sweet summer child
[2026-6-26. : 10:31 am]
NudeRaider -- blessed innocent soul knows nothing of the strife we had before EUDs were discovered :teehee:
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
Please log in to shout.


Members Online: Zycorax