summaryrefslogtreecommitdiff
path: root/2381/CH1/EX1.3/ex_3.sce
blob: 4f109bb7c14f78620e312ecaf0c4f647a3605ef6 (plain)
1
2
3
4
5
6
7
8
9
//Example 3 // ENERGY
clc;
clear;
close;
ke=5;//joule
pe=5;//joule
rep=10;//joule
eo=rep+ke+pe;//joule
disp(eo,"energy of the oscillator is,(joule)=")