الموضوع متعلق بالفورترن وما أعتقد فيه فرق كبير بين الفورترن وال c أو ال c++ لذلك أرجو الإجابة على السؤال:
when a beam is loaded at various points it has a tendency to vibrate. According to the vibration theory, a good estimation of the fundamental (lowest) frequency f at the beam vibrates is calculated by the following formulas:
S1=F1V1+F2V2+F3V3+...+FnVn
S2=F1(V1 square)+F2(V2 square)+F3(V3 square)+...+Fn(Vn square) and
f=1/2(3.14)square386S1/S2
Your program that reads the data stored in a disk file and calculates the frequency of vibration.All records in the file contain exactly two fields, F in 1b and deflection V.The file ends with an EOF(End Of File) record.The file that contain the data that your program will read from is:
F V(inches
0.00032 500
0.00072 300
0.00107 400
0.00097 100
0.000346 750
The program prints the results as shown below:
FUNDAMENTAL FREQUENCY OF S.S.BEAM
----------------------------------------------------------
Force Number F(1b) V(inches
one xxx y.yyy
two xxx y.yyy
- - -
----------------------------------------------------------
FUNDAMENTAL FRQUENCY IS zzz.zz
السؤال
when a beam is loaded at various points it has a tendency to vibrate. According to the vibration theory, a good estimation of the fundamental (lowest) frequency f at the beam vibrates is calculated by the following formulas:
S1=F1V1+F2V2+F3V3+...+FnVn
S2=F1(V1 square)+F2(V2 square)+F3(V3 square)+...+Fn(Vn square) and
f=1/2(3.14)square386S1/S2
Your program that reads the data stored in a disk file and calculates the frequency of vibration.All records in the file contain exactly two fields, F in 1b and deflection V.The file ends with an EOF(End Of File) record.The file that contain the data that your program will read from is:
F V(inches
0.00032 500
0.00072 300
0.00107 400
0.00097 100
0.000346 750
The program prints the results as shown below:
FUNDAMENTAL FREQUENCY OF S.S.BEAM
----------------------------------------------------------
Force Number F(1b) V(inches
one xxx y.yyy
two xxx y.yyy
- - -
----------------------------------------------------------
FUNDAMENTAL FRQUENCY IS zzz.zz