summaryrefslogtreecommitdiff
path: root/24/CH7/EX7.9/Example7_9.sce
blob: 42e88dbff73408711c487a0272526b1b30308a33 (plain)
1
2
3
4
//Sample Problem 7-9
printf("**Sample Problem 7-9**\n")
W = integrate('3*x^2', 'x', 2, 3) + integrate('4', 'x', 3, 0)
printf("The net work done is %dJ", W)