blob: 860ed67335a202fa23c5d1a4a7ed9aea4d3843ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
//initialisations
t1=327//c
t2=47.6//c
c=30//cal/kg
l=6000//cal/kg
j=4.2//j/cal
//CALCULATIONS
h=c*(t1-t2)+l
v=sqrt(2*j*h)
//results
printf(' velocity of bullet= % 1f m/sec',v)
|