home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   rec.autos.tech      Technical aspects of automobiles, et. al      117,728 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 116,435 of 117,728   
   rbowman to knuttle   
   Re: Question about locks and window moto   
   29 Dec 21 12:20:06   
   
   XPost: alt.home.repair   
   From: bowman@montana.com   
      
   On 12/28/2021 08:34 PM, knuttle wrote:   
   > On 12/28/2021 2:22 PM, Mark Lloyd wrote:   
   >   
   >> I remember my first trig class, which wasn't very useful. The teacher   
   >> spent the whole period going around and helping students to find the   
   >> right buttons on their calculators. Nothing was said about what trig IS.   
   >   
   > Calculators?   
   >   
   > I bet they would have cost thousands of dollars in my day. :)   
   > And taken up the entire classroom and electrical supply too.   
   >   
   > Eventually by the end of my trig semester we knew every value by heart.   
   > Just as we did with hex when we learned to program in assembly language.   
   >   
   > I forgot it all though.   
   > Long ago.   
   >   
   > I wonder if it ever comes back?   
      
   .7071.  That does double duty as a sine and cosine. 0.0000 and 1.0000   
   are also useful. As for the rest   
      
   #include    
   #include    
   #include    
      
   #define PI   3.1415926   
      
   int main(int argc, char** argv)   
   {   
      double degrees;   
      
      degrees = atof(argv[1]);   
      printf("the sine of %f degrees is %f\n", degrees, degrees * PI/180.0);   
      return 0;   
   }   
      
      
   ~ $gcc sin.c -lm -o sin   
   ~ $./sin 45   
   the sine of 45.000000 degrees is 0.707107   
      
      
   When all you have is a hammer...   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca