From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 24/CH8/EX8.6/Example8_6.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 24/CH8/EX8.6/Example8_6.sce (limited to '24/CH8/EX8.6/Example8_6.sce') diff --git a/24/CH8/EX8.6/Example8_6.sce b/24/CH8/EX8.6/Example8_6.sce new file mode 100755 index 000000000..f85f6a692 --- /dev/null +++ b/24/CH8/EX8.6/Example8_6.sce @@ -0,0 +1,19 @@ +//Given that +m = 14 //in kg +F = 40 //in N +d = 0.50 //in meter +Vo = 0.60 //in m/s +V = 0.20 //in m/s + +//Sample Problem 8-6a +printf("**Sample Problem 8-6a**\n") +//Using the definition of Work done +Wf = F* d +printf("The work done by the force F is equal to %dJ\n", Wf) + +//Sample Problem 8-6b +printf("\n**Sample Problem 8-6b**\n") +//Using Work-Energy theorem +//TE = decrease in Kinetic Energy + Work done by the force F +TE = .5*m*(Vo^2 - V^2) + Wf +printf("The incrase in the thermal energy is equal to %fJ", TE) \ No newline at end of file -- cgit