Advertisement
Guest User

Untitled

a guest
Feb 1st, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1.  
  2.  
  3. % thermarest filled with air
  4. k1 = 0.024;
  5. x1 = 6.35/100; % thickness of thermarest = 6.35 cm
  6.  
  7. %thermarest filled with air with thin ice layer
  8. % assuming thermarest has an area of 1 square meter
  9. k2 = 2.18;
  10. x2 = 1.2/1000;
  11.  
  12. U1 = k1/x1;
  13. tmp = (x1-x2)/k1 + x2/k2;
  14. U2 = 1/tmp;
  15.  
  16. fprintf('Conductances:\n');
  17. fprintf('Thermarest alone: %g\n',U1);
  18. fprintf('Thermarest with ice: %g\n',U2);
  19.  
  20. d = (U2-U1)/U1; % calculate percentage change
  21.  
  22. fprintf('Percentage difference: %.2g%%\n',100*d);
  23.  
  24. % results
  25. % Conductances:
  26. % Thermarest alone: 0.377953
  27. % Thermarest with ice: 0.385151
  28. % Percentage difference: 1.9%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement