// SAMPLE PROBLEM 3/25 clc;funcprot(0); // Given data v_A=740;// m/s r_A=6000*10^6;// km r_B=75*10^6;// km // Calculation v_B=(r_A*v_A)/r_B;// m/s printf("\nThe speed of comet at the point B of closest approach to the sun,v_B=%5.0f m/s",v_B);