# Homework Help: Magnetism and mechanical work

1. Dec 17, 2008

### Wingeer

Hello!

1. The problem statement, all variables and given/known data
This is a problem with magnetism and mechanical work.
Two magnets are facing eachother with opposite poles, where the space between them is called x. The left magnet is beeing hold still, and the right magnet moved. The space between them increases from 2 to 7 cm. Estimate how much mechanical work this movement performs.

We do also have a table:

http://dump.no/files/b1c64a658d37/Table.jpg [Broken]

Basically what's standing there is: "This table shows the relation between F and x"
Avstand=distance and kraft=force. (Norwegian)

Link to the picture if it doesn't show up in the thread:
http://dump.no/files/b1c64a658d37/Table.jpg [Broken]

2. Relevant equations
$$W=Fs$$

$$F=\frac{k1}{x^{2}}$$ Where k=Boltzmann's constant

3. The attempt at a solution
My attempt on this problem implies integration, because the force is not constant. I integrated $$F=\frac{k1}{x^{2}}$$ and got $$-\frac{1}{{x_B }} + \frac{1}{{x_A }}$$, where $$x_B$$=2 and $$x_A$$=7. I then get $$-\frac{5}{{14}}$$. Am I supposed to multiply this with boltzmann's constant? And then put the result I found in the formula for work?