SHARE
TWEET

Untitled

a guest Dec 3rd, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="pl">
  3. <head>
  4.  
  5.     <meta charset="utf-8">
  6.     <title>ciezki powrot</title>
  7.     <link rel = "stylesheet" type = "text/css" href = "agencja.css"/>
  8.     <script>
  9.    
  10.    
  11.     </script>
  12. </head>
  13. <body>
  14.  
  15.  
  16.  
  17.  
  18.  
  19. <table border="1">
  20. <script>
  21.  
  22.     let str="<tr><th>a</th><th>sin</th><th>cos</th><th>tg</th><th>ctg</th></tr>";
  23.     for(let i=0; i<=90; i++){
  24.     let k=i*Math.PI/180;
  25.     str+="<tr><td>"+i+"</td><td>"+Math.sin(k).toFixed(4)+"</td><td>"+Math.cos(k).toFixed(4)+"</td><td>"+Math.tan(k).toFixed(4)+"</td><td>"+Math.cos(k).toFixed(4)+"</td></tr>";}
  26.    
  27.  
  28. document.write(str);   
  29. </script>
  30. </table>
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. </body>
  53. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top