The Ultimate Computer

"The Ultimate Computer" is the twenty-fourth episode of the second season of the American science fiction television series Star Trek.

Written by D.C. Fontana (based on a story by Laurence N. Wolfe) and directed by John Meredyth Lucas, it was first broadcast on March 8, 1968.

Commodore Wesley (Barry Russo) explains that the Enterprise will be a test vessel for the M-5 Multitronic System, a revolutionary tactical and control computer designed by Dr. Richard Daystrom (William Marshall).

The Enterprise is declared the victor, and Wesley jokingly refers to Kirk as "Captain Dunsel", employing a Starfleet Academy slang term for a part serving no useful purpose.

Daystrom, having indicated that the engrams he used were his own, believes he can reason with the M-5, but his conversation with the unit quickly degenerates into a self-pitying lament over his own career disappointments.

McCoy warns Kirk that he sees a nervous breakdown coming, and as Daystrom begins loudly to proclaim his and his creation's invincibility, Spock subdues him with a Vulcan nerve pinch.

Since Scott is unable to restore communications immediately, Kirk decides to allow the ship to drift with shields down, hoping that Commodore Wesley will realize that the threat has passed.

[2] The original draft was given to Ray Bradbury by mathematician and Star Trek fan Laurence Wolfe to give to Gene Roddenberry.