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 --- 2417/CH6/EX6.22/Ex6_22.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2417/CH6/EX6.22/Ex6_22.sce (limited to '2417/CH6/EX6.22') diff --git a/2417/CH6/EX6.22/Ex6_22.sce b/2417/CH6/EX6.22/Ex6_22.sce new file mode 100755 index 000000000..22a74043e --- /dev/null +++ b/2417/CH6/EX6.22/Ex6_22.sce @@ -0,0 +1,15 @@ +clear; +clc; +printf("\t\t\tProblem Number 6.22\n\n\n"); +// Chapter 6: The Ideal Gas +// Problem 6.22 (page no. 264) +// Solution + +//data +deltas=0.0743; //change in entropy //Unit:Btu/lbm*R +T1=460+100; //Fahrenheit temperature converted to absolute initial temperature +cv=0.219; //specific heat at constant volume //Btu/lbm*R +//Now, +//deltas=cv*log(T2/T1); +T2=T1*exp(deltas/cv); //higher temperature //absolute temperature //unit:R +printf("The higher temperature is %f R\n",T2) -- cgit