sivaramaiah  
 
  Record15 03/28/2024 4:37pm (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

 


-----------------------------
  Offline Messages
  Adds
  Visitors Information
Today, there have been 118768 visitors (279421 hits) on this page!
-------------------------------------------------- This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free