Amplitude effect of internal friction associated with magnetic flux pinning in YBa2Cu3O7−x superconductor