HackerTrans
TopNewTrendsCommentsPastAskShowJobs

j-walker

no profile record

comments

j-walker
·4 lata temu·discuss
Can someone explain to me why in Section 4: Functions they compute Twice by multiplying the number by three then subtracting the number once? Is it just to showcase more math, or is there a detail I'm missing?

> /* Computes double of a number. Works by tripling the number, and then subtracting to get back to double. /

   static int Twice(int num) {

      int result = num * 3;

      result = result - num;

      return(result);**
j-walker
·5 lat temu·discuss
Is SNRR different than PSRR?

https://en.wikipedia.org/wiki/Power_supply_rejection_ratio
j-walker
·5 lat temu·discuss
You don't remember the "Palcahol" debacle?

https://www.al.com/opinion/2015/06/powdered_alcohol_what_it_...
j-walker
·5 lat temu·discuss
If it's 240W, that's 48V @ 5A. The same current as today's cables (100W: 20V @ 5A). Most likely won't get to melt any cables :)