summaryrefslogtreecommitdiff
path: root/1823/CH2/EX2.7/SolEx2_7.sce
blob: 384c507ad2c3b3974e1a53884eed2df11978205f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Find iD and vD analytically
//Solved Example Ex2.7 page no 51
clear
clc
printf("\n Find iD and vD analytically")
vs=0.1 //cos wtV
Vb=2//V
printf("\n (100/200)*(2+0.1cos wt) V")
Rth=(100^2)/200         //kΩ
printf("\n Rth= %d ohm",Rth)
printf("\n Rf=%d ohm",(0.7-0.5)/0.004)