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/CH29/EX29.5/Example29_5.sce | 16 ++++++++++++++++ 24/CH29/EX29.5/Example29_5_result.txt | 5 +++++ 2 files changed, 21 insertions(+) create mode 100755 24/CH29/EX29.5/Example29_5.sce create mode 100755 24/CH29/EX29.5/Example29_5_result.txt (limited to '24/CH29/EX29.5') diff --git a/24/CH29/EX29.5/Example29_5.sce b/24/CH29/EX29.5/Example29_5.sce new file mode 100755 index 000000000..7b4fd5524 --- /dev/null +++ b/24/CH29/EX29.5/Example29_5.sce @@ -0,0 +1,16 @@ +//Given that +f = 12*10^6 //in Hz +R = 53*10^-2 //in m +q = 1.6*10^-19 //in C +m = 3.34*10^-27 //in kg + +//Sample Problem 29-5a +printf("**Sample Problem 29-5a**\n") +B = 2*%pi*m*f/q +printf("The magnitude of magnetic field should be %fT\n", B) + +//Sample Problem 29-5b +printf("\n**Sample Problem 29-5b**\n") +v = q*B*R/m +K = 0.5*m*v^2 +printf("The kinetic energy of the deuteron will be %eJ", K) \ No newline at end of file diff --git a/24/CH29/EX29.5/Example29_5_result.txt b/24/CH29/EX29.5/Example29_5_result.txt new file mode 100755 index 000000000..522aebd0a --- /dev/null +++ b/24/CH29/EX29.5/Example29_5_result.txt @@ -0,0 +1,5 @@ +**Sample Problem 29-5a** +The magnitude of magnetic field should be 1.573938T + +**Sample Problem 29-5b** +The kinetic energy of the deuteron will be 2.666800e-012J \ No newline at end of file -- cgit