summaryrefslogtreecommitdiff
path: root/3792/CH3/EX3.25/Ex3_25.sce
blob: 2dca932fa2a4127bbc920f443bbf2242f2231420 (plain)
1
2
3
4
5
6
7
8
9
10
// 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);