• This forum is strictly intended to be used by members of the VS Battles wiki. Please only register if you have an autoconfirmed account there, as otherwise your registration will be rejected. If you have already registered once, do not do so again, and contact Antvasima if you encounter any problems.

    For instructions regarding the exact procedure to sign up to this forum, please click here.
  • We need Patreon donations for this forum to have all of its running costs financially secured.

    Community members who help us out will receive badges that give them several different benefits, including the removal of all advertisements in this forum, but donations from non-members are also extremely appreciated.

    Please click here for further information, or here to directly visit our Patreon donations page.
  • Please click here for information about a large petition to help children in need.

Calculating degrees for angsizing

Status
Not open for further replies.

Golden_Void

VS Battles
Retired
7,029
2,043
I'm confused about how these formulas work. On calculation guide, the formula is:

2atan(tan(70/2)*(object size in pixels/screen height in pixels))

But then I see calcs like this that use the formula:

Object = 2atan(Object_Size/Panel_Height/tan(70/2)))



Simply substituting in the corresponding pixel numbers on wolfram alpha, I get 31.55 and 103.1 degrees, respectively, when the result of the actual calc was 44. So what am I doing wrong?
 
You can ask LordXcano, DontTalk, The Living Tribunal1, or some other calc group members to comment here.
 
Antvasima said:
You can ask LordXcano, DontTalk, The Living Tribunal1, or some other calc group members to comment here.
I've asked at least 3 different people already and I only got a response from two..
 
Object_Size/(Panel_Height/tan(70/2)) = (Object_Size/Panel_Height)*tan(70/2)

Brackets are important, but aside from that it's the same.

Edit: For the result from the calc, I get 45┬░, which I would assume lies in the realm of rounding error. No idea how you got your values.
 
I've heard that apparently Wolfram Alpha messes up the Angsizing formula. I personally use web2.0, which seems to work just fine.
 
DontTalk said:
For the result from the calc, I get 45┬░, which I would assume lies in the realm of rounding error. No idea how you got your values.
It was from Gywn's calc that I linked

And Wolfram messing up the formula is highly believable. Now, why did you rearrange the parentheses on the second formula, and how are they the same? I'm very out of touch with my trig.

And yes I got 45.3 degrees, the second (incorrect version) gave me about 80 degrees.
 
Unite My Rice said:
Now, why did you rearrange the parentheses on the second formula, and how are they the same?
Well, first your formulation 2atan(Object_Size/Panel_Height/tan(70/2))) misses a parenthesis.

It has to be 2atan(Object_Size/(Panel_Height/tan(70/2)))

That is simply a writing error (there was one closing bracket too much already)


So why is

Object_Size/(Panel_Height/tan(70/2)) = (Object_Size/Panel_Height)*tan(70/2)

true?

That is simply the general rule of how to divide through a fraction.

For all real numbers a,x,y

a/(x/y) = a*(y/x) = (a*y)/x


That is all I applied.

(And because of that 2atan(Object_Size/(Panel_Height/tan(70/2))) = 2atan((Object_Size/Panel_Height)*tan(70/2)) of course, since the stuff in the 2atan() parenthesis is the same)
 
Ahh I gotcha, I feel like we've accomplished so much lol. That would also explain why the three parentheses formula had a missing one. Would such a small difference in angle really affect the calcs these were based on? And is there a way I can PM you to discuss a few more things?
 
@DontTalk Does any part of the calculations guide page need to be adjusted?
 
@Antvasima I think DO NOT USE WOLFRAM ALPHA should be put in giant bold letters, I've been working this problem for days and didn't think to use another calculator lol.

Also @DontTalk if you're reading this take me under your wing pls
 
@Antvasima: I don't think so. Knowing how to use the calculator of ones choice is the obligation of the user.

@Unite My Rice: I have an activity of approx. 1.5 responses per day or something. So I really don't invest much time on here this days. So I definitely don't feel like teaching people, sorry.
 
Status
Not open for further replies.
Back
Top