From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 45/CH12/EX12.8/example_12_8.sce | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 45/CH12/EX12.8/example_12_8.sce (limited to '45/CH12/EX12.8') diff --git a/45/CH12/EX12.8/example_12_8.sce b/45/CH12/EX12.8/example_12_8.sce new file mode 100755 index 000000000..ffd31365e --- /dev/null +++ b/45/CH12/EX12.8/example_12_8.sce @@ -0,0 +1,5 @@ +//Example 12.8 +clc; +clear; +V0= 10*((1/2)+(1/4)+(1/32)+(1/128)); // calculating voltage when 1,2,5,7 re high +printf("Output voltage = %f V",V0)//displayin result -- cgit