Trigonometry & Math functiona in Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

A29=(C10-C37)/2*(TAN(RADIANS(B27)))
C10=12.5 feet
B27=55 degrees
C37=0.9 feet
answer=8.283 feet (Correct result)
The above formula works.

Why the formula below does not work? Does not give the correct result.
A29=(C10-(C37*0.0833)/2*(TAN(RADIANS(B27))))
I am simply changing C37 from decimal of feet into inches
Can someone help with this dilemma please?
Many thanks in advance.
Serge
 
It all in the parentheses!
This A29=(C10-C37)/2*(TAN(RADIANS(B27)))
could be coded as
A29=(C10-C37)/2*TAN(RADIANS(B27))

But this A29=(C10-(C37*0.0833)/2*(TAN(RADIANS(B27))))
should be A29=(C10-(C37*0.0833))/2*(TAN(RADIANS(B27)))
or A29=(C10-(C37*0.0833))/2*TAN(RADIANS(B27))

best wishes
 
A29=(C10-C37)/2*(TAN(RADIANS(B27)))
C10=12.5 feet
B27=55 degrees
C37=0.9 feet
answer=8.283 feet (Correct result)
The above formula works.

Why the formula below does not work? Does not give the correct result.
A29=(C10-(C37*0.0833)/2*(TAN(RADIANS(B27))))
I am simply changing C37 to 10.8 inches to decimal of feet.
Can someone help with this dilemma please?
Many thanks in advance.
Serge
 
Bernard is right about parantheses but there is still an error on your
formula. by multiplying C37 with 0.08333333 you don't turn it into
inches, actually you don't turn it into anything. You should multiply
with 12 to turn it into inches which won't work either since you cannot
subtract inches from feet. I am not sure what you are trying to do by
doing that multiplication on C37 but if you want to get result in
inches, just multiply your result from your previous formula by 12.
 
Hello Renegan,
You are correct, It was too late when I click 'Post" when I realized I made
a mistake in my explanation.
But It's all working fine now.

Thank you for your input.
Serge
 
Back
Top