blob: d924f7ab67aad4c2856bbe17fb78cc395fcb9204 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clear
//
//req=[10+2+(5||15)]=15.75
//case a
c=0.4
req=15.75
s=-1/(c*req)
printf("\n natural frequency= %0.1f secinverse",s)
//case b
tc=req*0.4 //time constant
printf("\n time constant= %0.1f sec",tc)
|