Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Heena Nagori   on Oct 22 In MS Office Category.

  
Question Answered By: Angelica Ramos   on Oct 22

My guess is that when conditional expressions are equal, VB defaults
to the Else condition, and JS to the If condition. If you change to

If angratio >= arc2crd Then

then you get the 'correct' answer (though not really)

Your input yields 2=2, thus shunting to the Else condition, which
happens to yield the wrong answer in this case.

Personally, I don't like the algorithm in that it isn't convergent to
the answer, just the increment.

Share: 

 

This Question has 20 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on 2003 - Trigonometry puzzle Or get search suggestion and latest updates.


Tagged: