Patent attributes
A computer includes a housing whereon an opening is formed, and a containing space is formed inside the housing. The computer further includes a rotary module installed inside the containing space in a rotatable manner, a first magnetic component connected to an end of the rotary module, a second magnetic component disposed on a side of the first magnetic component for attracting or repulsing the first magnetic component so as to switch the rotary module in a first position or in a second position, and a switch for converting magnetic field of the second magnetic component so that the second magnetic attracts or repulses the first magnetic component.