sivaramaiah  
 
  Record15 11/22/2017 3:33am (UTC)
   
 
Record 15: Converting Angle Measurements

function degToRad(deg)
{
return (Math.PI*deg)/180;
}
function radToDeg(rad)
{
return (rad*180)/Math.PI;
}
trace("Converting 90 degrees to radians:"+degToRad(90));
trace("Converting 3.14 radians to degrees:"+radToDeg(Math.PI));
trace("Converting 36 degrees to radians using cos function:"+Math.cos(degToRad(36)));


---------------------------------------------------------------------------------
output
--------------------------------------------------------------------------------
Converting 90 degrees to radians:1.5707963267949
Converting 3.14 radians to degrees:180
Converting 36 degrees to radians using cos function:0.809016994374947
 
  Menu Items
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

  add
HOT TOPICS
MCA PROJECT DETAILS ------------------------------------- Jntu all Lab manuals ------------------------------------- Jntu Syllabus Books ------------------------------------- Paper presentations ------------------------------------- Seminars ------------------------------------- Campus Papers ------------------------------------- Competetive Exams GATE ------------------------------------- GRE ------------------------------------- TOEFL ------------------------------------- IELTS ------------------------------------- CAT ------------------------------------- GMAT ------------------------------------- Templates ------------------------------------- Students Resume Preparation tips ------------------------------------- Job zone(Interview questions) ------------------------------------- Google Adsence html code ------------------------------------- Web sites --------x--------------x-----------
  Advertisement
  Advertisement

 


-----------------------------
  Offline Messages
  Adds
  Visitors Information
Today, there have been 67422 visitors (190443 hits) on this page!
=> Do you also want a homepage for free? Then click here! <= --------------------------------------------------