Imported from renren

“…if we do this work … and the result is that Linux works great …” --Bill Gates

From: Bill Gates

’-- Sent: Sunday, January 24, 1999 8:41 AM

Jeff Westorinon; Ben Fathi ;

TO: Carl Stork (Exchange); Nathan Myhrvofd; Eric Rudder

Subject: ACPI extensions

One thing I find myself wondering …

Imported from: renren.

It is said that this is a problem from interview of Microsoft. Write a program, which makes the CPU usage curve in Windows Task Manager shows a Sin function.

Sine function 1 Sine function 2

The program below is written in java:

public class sincpu {
    private static final int cycle=1024,tick = 256 …