You have a .39 or .40 caliber rifle, apparently with a 47 inch barrel. Only careful measurements with a caliper is going to finalize the bore diameter, and help you select the correct lead RB diameter to use in the rifle.
As to powder charge, you can begin with 40 grains, and work up to about 67 grains. At 65 grains, if your gun is loaded with the correct ball and patch combination, you are approaching 2,000 fps. at the Muzzle, and that kind of velocity is generally not needed for anything you might hunt with a .40 caliber rifle. My brother used 50 grains of FFFg powder in his .40 caliber rifle for years, and the trajectory could not get much flatter. MV with 50 grains will be around 1800 fps.
If it were my gun, I would first find a very light load for fun shooting out to 25 yds. 35 grains should make a fine light load that can be used on squirrels, rabbits, and other small game. For 50 yd target shooting, I would begin with 45 grains and work up to 60 grains. For 100 yd. shooting, I would work up to 65 grains. I have shot, and seen .40 caliber rifle shot out at .100 yds, and much further, and the rifle is accurate enough to hit bang plate targets of 12 inch in diameter out to 135 yds. Only wind causes RBs to drift far enough to miss targets at these long distances.
If you have to take a long range shot( at a marauding coyote, for instance) Wait until the wind, out where the target is, stops blowing, by watching tree limbs, and branches for their movement down range.
The slower the ball is moving, the more wind affects the flight path. So, it only makes sense that the further a RB gets from the muzzle, the slower it is moving, considering how much drag affects all RBs in flight. Your .40 caliber RB will only weigh between 85 and 90 grains, approx. and that just is not much weight to buck any kind of wind.
Most of us consider a .40 caliber gun to be an adequate deer caliber within 50 yards, in states that allow this caliber to be used for taking deer. Its a terrific varmint caliber, and small game gun. Just remember that in shooting any RB gun, drag factors reduce the MV of the PRB about 20-25%, at 50 yards, depending on caliber.
Some target shooters shoot the .40 caliber guns at those 50-60 yard matches, putting enough powder in the barrel to push the ball out at over 2,000 fps. Their reasoning is that at the target, the ball will still be flying above the Speed of Sound, and not be affected by the Transonic Zone, and the battering of the ball that the collapse of the sign waves, and vacuums surrounding and trailing the Lead RB. They also figure that the faster they send the ball to the target, the less movement will occur with any kind of cross wind. By my calculations, they may have a point, as even with the reduction of velocity due to drag factors, the ball will still be flying at 1,600 fps. at the target at those ranges. The Transonic zone is thought to begin at about 1250 fps, and goes on down through 1100 fps. The Speed of Sound is approx. 1135 fps.