1 2 3 4 5 6 7 8 9 10 11
clear //Given a=0.004 ac=0.0007 R0=100 //Calculation R=ac*R0/a //Result printf("\n The resistance of a copper filament is %0.3f ohm", R)