# Calculate the taxes for driving different cars (in Martorell, Spain)

In this prloblem we can calcul how much you have to pay to the state depending of your TAX HORSPOWER.

Formula used to calculate spanish tax horsepower

\[Fiscal Power = 0.08*(0.785*D^2*R)^{0.6}*N\]
Where

- D = cylinder diameter in cm
- R = piston stroke in cm
- N = Number of cilinders