Noncommutative differential calculus on a quadratic algebra