diff options
Diffstat (limited to '1529/CH10/EX10.17/10_17.sce')
-rwxr-xr-x | 1529/CH10/EX10.17/10_17.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/1529/CH10/EX10.17/10_17.sce b/1529/CH10/EX10.17/10_17.sce new file mode 100755 index 000000000..3e740b3f2 --- /dev/null +++ b/1529/CH10/EX10.17/10_17.sce @@ -0,0 +1,6 @@ +//Chapter 10, Problem 17
+clc;
+V2=4; //output voltage
+V=27; //voltage gain in decibels
+V1=V2/(10^(V/20)); //calculating input voltage using logarithm
+printf("Input voltage = %f V",V1);
|