summaryrefslogtreecommitdiff
path: root/3648/CH3/EX3.11/Ex3_11.sce
blob: 1e7aa8172565bf1b052fa7602bec8d111dce02df (plain)
1
2
3
4
5
6
7
8
9

//Example 3_11
clc();
clear;
//To find out how fast a ball must be thrown
a=9.8  //units in meters/sec^2
t=3  //units in sec
v=(0.5*a*t^2)/t
printf("The speed by which the ball has to be thrown is v=%.1f meters/sec",v)