diff options
Diffstat (limited to '3836/CH11/EX11.3/Ex11_3.sce')
-rw-r--r-- | 3836/CH11/EX11.3/Ex11_3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3836/CH11/EX11.3/Ex11_3.sce b/3836/CH11/EX11.3/Ex11_3.sce new file mode 100644 index 000000000..eac4a3b30 --- /dev/null +++ b/3836/CH11/EX11.3/Ex11_3.sce @@ -0,0 +1,16 @@ +clear +// +//Initialisation +t=0.1 //time period in seconds from diagram +v1=10 //peak voltage from diagram +t1=25*10**-3 + +//Calculation +f1=1*t**-1 //frequency in Hz +w1=2*%pi*f1 //Angular velocity +phi=-(t1*t**-1)*360 //phase angle + +//Result +printf("\n phi = %d degree",phi) + +printf("\n %d sin(%dt%d) Hz\n",v1,w1,phi) |