You can download the sample programs for the lecture here.
Here I placed three programs, which are
1. Spline curve generator
2. Internal ballistics
3. External ballistics
The programs are written in two kinds of BASICs, which are QB64 and BASIC! (rfo-BASIC). QB64 is available on almost all windows PCs, and rfo-BASIC will run on almost all Android phones and tablets.
As long as you use it for yourself, you can download and use it freely. To prepare a set of dummy pressure data or to smooth the measured data, you can use the spline curve generator.
When you run programs in rfo-BASIC, place the data file in the data folder.
The followings are the brief explanations of programs.
spline_N.bas
With this program, you can interpolate, smooth a set of data. Prepare the pair of data (xi, yi) deliminated by commas as in the csv files. You can eliminate noizes with this program.
splinex11.bas
Same with spline_N but it is written in X11-Basic which runs on Android.
spdata.dat
Sample data for the spline programs.
tounaiQB.bas
Is a program for internal ballistics. You need a series of data of pressure profile to run this program. positions, velocities, accelerations will be output.
tougaiQB.bas
Is a program for external ballistics. You can take the resistance from the air, wind, and rotation (Magnus effect) into account.
tounaiRunge.bas
Same with tounaiQB.bas but written in rfo-BASIC.
tougaiRGMG.bas
Same with tougaiQB.bas but written in rfo-BASIC.
tounaix11.bas
Same with tounaiQB.bas but written in X11-Basic.
tougaix11.bas
Same with tougaiQB.bas but written in X11-Basic.
pprofile.dat
Sample data for the tounai programs.
spline_N.zip
splinex11.zip
spdata.zip
tounaiQB.zip
tougaiQB.zip
tounaiRunge.zip
tougaiRGMG.zip
tounaix11.zip
tougaix11.zip
pprofile.zip
|