how would I do the elimination reaction of 2-chloropentane.

When I figured it out I got the products as being 1-pentene and hydrogen chloride. Is this correct?

I believe 2-pentene is the product. Here is a web site you can read. I think the double bond is formed between the alpha and beta carbon atoms.

http://en.wikipedia.org/wiki/Dehydrohalogenation

I think both 1-pentene and 2-pentene are possible products. Here is a site that shows 2-bromopentane giving the cis and trans isomers of 2-pentene (41% and 14% respectively) + 1-pentene (25%).

http://library.tedankara.k12.tr/carey/ch5-7.html

To perform the elimination reaction of 2-chloropentane, you would typically use a strong base such as potassium hydroxide (KOH) or sodium hydroxide (NaOH) in an alcoholic solvent, such as ethanol or methanol. Here's a step-by-step explanation of the reaction:

1. Start with 2-chloropentane, which has a chlorine atom attached to a secondary carbon. The reaction involves the removal of a hydrogen atom and a chlorine atom from adjacent carbon atoms, resulting in the formation of a double bond.

2. Mix 2-chloropentane with the strong base in the alcoholic solvent. The base will abstract a proton from the carbon adjacent to the chlorine atom, resulting in the formation of an alkene intermediate, accompanied by the formation of the chloride ion.

3. The chloride ion, being a good nucleophile, can attack the alkene intermediate. This leads to the formation of the final products: 1-pentene (an alkene) and hydrogen chloride.

So, your prediction of 1-pentene and hydrogen chloride as the products is indeed correct.

Please note that reaction conditions and mechanisms can vary depending on specific details, such as the base used or the reaction temperature. It is always recommended to consult trusted sources or reference materials for detailed procedures and variations of elimination reactions.