blob: b5bb4bead4bb707ae450385c364ae0455f7ed587 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear//
//Variables
V = 18 //Voltage (in volts)
I = 60*10**-6 //current (in Ampere)
//Calculation
R = V/I //Resistance (in ohm)
G = 1/R //Conductance (in siemens)
//Result
printf("\n The conductance is %0.2f micro-siemens.",G * 10**6)
|