diff options
Diffstat (limited to '3836/CH11/EX11.1/Ex11_1.sce')
-rw-r--r-- | 3836/CH11/EX11.1/Ex11_1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3836/CH11/EX11.1/Ex11_1.sce b/3836/CH11/EX11.1/Ex11_1.sce new file mode 100644 index 000000000..0a7fbef28 --- /dev/null +++ b/3836/CH11/EX11.1/Ex11_1.sce @@ -0,0 +1,15 @@ +clear +//Initialisation +t=0.02 //time period in seconds from diagram +v1=7 //peak voltage from diagram + + +//Calculation +f=1*t**-1 //frequency in Hz +v2=2*v1 // Peak to Peak Voltage + +//Result +printf("\n Frequency = %d Hz\n",f) + +printf("\n Peak to Peak Voltage = %d V\n",v2) + |