blob: 7b2660061f4b47a7749c4c3118ae7cec9efc91fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear//
//Variables
G = 50*10**-6 //Conductance (in siemens)
//Calculation
R = 1/G //Resistance (in ohm)
//Result
printf("\n The Resistance is %0.3f kilo-ohm.",R * 10**-3)
|