qnli question: What determines the resistance of the filament? sentence: This is measured in watts and depends mainly on the resistance of the filament, which in turn depends mainly on the filament's length, thickness, and material.