Difference between revisions of "Thermodynamics"
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
− | <div class="bk-root" id=" | + | <div class="bk-root" id="4bb40a24-8813-497a-86de-60b1fb7def71"></div> |
Line 40: | Line 40: | ||
− | <script type="application/json" id=" | + | <script type="application/json" id="9844"> |
− | {" | + | {"1b483621-b0d0-40ae-8840-10c68c359a10":{"roots":{"references":[{"attributes":{},"id":"9730","type":"LinearScale"},{"attributes":{},"id":"9733","type":"BasicTicker"},{"attributes":{"axis_label":"A Molar fraction","formatter":{"id":"9775","type":"BasicTickFormatter"},"plot":{"id":"9723","subtype":"Figure","type":"Plot"},"ticker":{"id":"9733","type":"BasicTicker"}},"id":"9732","type":"LinearAxis"},{"attributes":{},"id":"9742","type":"PanTool"},{"attributes":{"axis_label":"Vapor pressure","formatter":{"id":"9777","type":"BasicTickFormatter"},"plot":{"id":"9723","subtype":"Figure","type":"Plot"},"ticker":{"id":"9738","type":"BasicTicker"}},"id":"9737","type":"LinearAxis"},{"attributes":{"plot":{"id":"9723","subtype":"Figure","type":"Plot"},"ticker":{"id":"9733","type":"BasicTicker"}},"id":"9736","type":"Grid"},{"attributes":{},"id":"9738","type":"BasicTicker"},{"attributes":{"data_source":{"id":"9722","type":"ColumnDataSource"},"glyph":{"id":"9763","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"9764","type":"Line"},"selection_glyph":null,"view":{"id":"9766","type":"CDSView"}},"id":"9765","type":"GlyphRenderer"},{"attributes":{},"id":"9779","type":"UnionRenderers"},{"attributes":{},"id":"9778","type":"Selection"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"9750","type":"BoxAnnotation"},{"attributes":{},"id":"9775","type":"BasicTickFormatter"},{"attributes":{},"id":"9777","type":"BasicTickFormatter"},{"attributes":{"children":[{"id":"9723","subtype":"Figure","type":"Plot"},{"id":"9770","type":"Column"}]},"id":"9771","type":"Row"},{"attributes":{"children":[{"id":"9769","type":"WidgetBox"}]},"id":"9770","type":"Column"},{"attributes":{"plot":null,"text":""},"id":"9773","type":"Title"},{"attributes":{"line_alpha":0.6,"line_color":"red","line_width":3,"x":{"field":"x"},"y":{"field":"y0"}},"id":"9758","type":"Line"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y0"}},"id":"9759","type":"Line"},{"attributes":{"callback":null,"end":5},"id":"9726","type":"Range1d"},{"attributes":{"callback":null},"id":"9724","type":"Range1d"},{"attributes":{"callback":null,"data":{"x":{"__ndarray__":"AAAAAAAAAABbv1Kg1q+EP1u/UqDWr5Q/CB988MEHnz9bv1Kg1q+kPzJvZ0jM26k/CB988MEHrz9wZ0jM2xmyP1u/UqDWr7Q/RhdddNFFtz8yb2dIzNu5Px3HcRzHcbw/CB988MEHvz96O0Ni3s7AP3BnSMzbGcI/ZZNNNtlkwz9bv1Kg1q/EP1HrVwrU+sU/RhdddNFFxz88Q2LezpDIPzJvZ0jM28k/J5tssskmyz8dx3Ecx3HMPxPzdobEvM0/CB988MEHzz9/pUCtXynQP3o7Q2LeztA/ddFFF1100T9wZ0jM2xnSP2r9SoFav9I/ZZNNNtlk0z9gKVDrVwrUP1u/UqDWr9Q/VlVVVVVV1T9R61cK1PrVP0yBWr9SoNY/RhdddNFF1z9BrV8pUOvXPzxDYt7OkNg/N9lkk0022T8yb2dIzNvZPy0Fav1Kgdo/J5tssskm2z8iMW9nSMzbPx3HcRzHcdw/GF100UUX3T8T83aGxLzdPw6JeTtDYt4/CB988MEH3z8DtX6lQK3fP3+lQK1fKeA/ffDBBx984D96O0Ni3s7gP3eGxLydIeE/ddFFF1104T9yHMdxHMfhP3BnSMzbGeI/bbLJJpts4j9q/UqBWr/iP2hIzNsZEuM/ZZNNNtlk4z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NLUKWfOf0/29SmNrWp/T/a4N+WMx3+P0XpXDZDlP4/Dw8PDw8P/z+VHTnYxI3/P4WAnJ9KCABAvoT2EtpLAEAamK5zrJEAQKO+s1Hf2QBASpIkSZIkAUDyTn4w53EBQBFOxEsCwgFAUaFChQoVAkCcsqasKWsCQAooRb2MxAJAspCFLGQhA0D8i5NB5IEDQHxgo3dF5gNA7sRO7MROBECrv8/bpLsEQC0tLS0tLQVAUXHJEKyjBUBtfDO0dh8GQBDqoA7qoAZAh/IaymsoB0Dx/C1Oa7YHQKhy3fFiSwhAqQnGW9nnCECOMcYYY4wJQJPmSHOkOQpAvpyCl1PwCkAVO7ETO7ELQL8O6MY8fQxAV1VVVVVVDUA9y4g+oDoOQM7lcrlcLg9AGpyPwfkYEEDufqPsfqMQQNWb3vSmNxFAaN1ginzWEUCzojQ+MoESQGcRn0AqORNAAAAAAAAAFEA=","dtype":"float64","shape":[100]}},"selected":{"id":"9778","type":"Selection"},"selection_policy":{"id":"9779","type":"UnionRenderers"}},"id":"9722","type":"ColumnDataSource"},{"attributes":{"below":[{"id":"9732","type":"LinearAxis"}],"left":[{"id":"9737","type":"LinearAxis"}],"plot_height":400,"plot_width":400,"renderers":[{"id":"9732","type":"LinearAxis"},{"id":"9736","type":"Grid"},{"id":"9737","type":"LinearAxis"},{"id":"9741","type":"Grid"},{"id":"9750","type":"BoxAnnotation"},{"id":"9760","type":"GlyphRenderer"},{"id":"9765","type":"GlyphRenderer"}],"title":{"id":"9773","type":"Title"},"toolbar":{"id":"9748","type":"Toolbar"},"x_range":{"id":"9724","type":"Range1d"},"x_scale":{"id":"9728","type":"LinearScale"},"y_range":{"id":"9726","type":"Range1d"},"y_scale":{"id":"9730","type":"LinearScale"}},"id":"9723","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"9728","type":"LinearScale"},{"attributes":{"overlay":{"id":"9750","type":"BoxAnnotation"}},"id":"9744","type":"BoxZoomTool"},{"attributes":{"line_alpha":0.6,"line_width":3,"x":{"field":"x"},"y":{"field":"y1"}},"id":"9763","type":"Line"},{"attributes":{},"id":"9746","type":"ResetTool"},{"attributes":{"source":{"id":"9722","type":"ColumnDataSource"}},"id":"9761","type":"CDSView"},{"attributes":{"source":{"id":"9722","type":"ColumnDataSource"}},"id":"9766","type":"CDSView"},{"attributes":{"dimension":1,"plot":{"id":"9723","subtype":"Figure","type":"Plot"},"ticker":{"id":"9738","type":"BasicTicker"}},"id":"9741","type":"Grid"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y1"}},"id":"9764","type":"Line"},{"attributes":{},"id":"9743","type":"WheelZoomTool"},{"attributes":{"callback":{"id":"9767","type":"CustomJS"},"end":5,"start":0.1,"step":0.1,"title":"PA*/PB*","value":5},"id":"9768","type":"Slider"},{"attributes":{"children":[{"id":"9768","type":"Slider"}]},"id":"9769","type":"WidgetBox"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"9742","type":"PanTool"},{"id":"9743","type":"WheelZoomTool"},{"id":"9744","type":"BoxZoomTool"},{"id":"9745","type":"SaveTool"},{"id":"9746","type":"ResetTool"},{"id":"9747","type":"HelpTool"}]},"id":"9748","type":"Toolbar"},{"attributes":{},"id":"9745","type":"SaveTool"},{"attributes":{"data_source":{"id":"9722","type":"ColumnDataSource"},"glyph":{"id":"9758","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"9759","type":"Line"},"selection_glyph":null,"view":{"id":"9761","type":"CDSView"}},"id":"9760","type":"GlyphRenderer"},{"attributes":{},"id":"9747","type":"HelpTool"},{"attributes":{"args":{"freq":{"id":"9768","type":"Slider"},"source":{"id":"9722","type":"ColumnDataSource"}},"code":"\n var data = source.data;\n var k = freq.value;\n var x = data['x']\n var y0 = data['y0']\n var y1 = data['y1']\n for (var i = 0; i < x.length; i++) {\n y0[i] = 1+(k-1)*x[i];\n y1[i] = k/(k-(k-1)*x[i]);\n }\n source.change.emit();\n"},"id":"9767","type":"CustomJS"}],"root_ids":["9771"]},"title":"Bokeh Application","version":"1.0.2"}} |
</script> | </script> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 50: | Line 50: | ||
function embed_document(root) { | function embed_document(root) { | ||
− | var docs_json = document.getElementById(' | + | var docs_json = document.getElementById('9844').textContent; |
− | var render_items = [{"docid":" | + | var render_items = [{"docid":"1b483621-b0d0-40ae-8840-10c68c359a10","roots":{"9771":"4bb40a24-8813-497a-86de-60b1fb7def71"}}]; |
root.Bokeh.embed.embed_items(docs_json, render_items); | root.Bokeh.embed.embed_items(docs_json, render_items); | ||
Line 81: | Line 81: | ||
</body> | </body> | ||
− | </html | + | </html |
Revision as of 09:30, 20 April 2019
This has been createad with python-bokeh <html lang="en">
<head> <meta charset="utf-8"> <title>slider.py example</title> <link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-1.0.2.min.css" type="text/css" /> <link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-widgets-1.0.2.min.css" type="text/css" /> <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.2.min.js"></script> <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-widgets-1.0.2.min.js"></script> <script type="text/javascript"> Bokeh.set_log_level("info"); </script> </head> <body>
<script type="application/json" id="9844"> {"1b483621-b0d0-40ae-8840-10c68c359a10":{"roots":{"references":[{"attributes":{},"id":"9730","type":"LinearScale"},{"attributes":{},"id":"9733","type":"BasicTicker"},{"attributes":{"axis_label":"A Molar fraction","formatter":{"id":"9775","type":"BasicTickFormatter"},"plot":{"id":"9723","subtype":"Figure","type":"Plot"},"ticker":{"id":"9733","type":"BasicTicker"}},"id":"9732","type":"LinearAxis"},{"attributes":{},"id":"9742","type":"PanTool"},{"attributes":{"axis_label":"Vapor pressure","formatter":{"id":"9777","type":"BasicTickFormatter"},"plot":{"id":"9723","subtype":"Figure","type":"Plot"},"ticker":{"id":"9738","type":"BasicTicker"}},"id":"9737","type":"LinearAxis"},{"attributes":{"plot":{"id":"9723","subtype":"Figure","type":"Plot"},"ticker":{"id":"9733","type":"BasicTicker"}},"id":"9736","type":"Grid"},{"attributes":{},"id":"9738","type":"BasicTicker"},{"attributes":{"data_source":{"id":"9722","type":"ColumnDataSource"},"glyph":{"id":"9763","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"9764","type":"Line"},"selection_glyph":null,"view":{"id":"9766","type":"CDSView"}},"id":"9765","type":"GlyphRenderer"},{"attributes":{},"id":"9779","type":"UnionRenderers"},{"attributes":{},"id":"9778","type":"Selection"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"9750","type":"BoxAnnotation"},{"attributes":{},"id":"9775","type":"BasicTickFormatter"},{"attributes":{},"id":"9777","type":"BasicTickFormatter"},{"attributes":{"children":[{"id":"9723","subtype":"Figure","type":"Plot"},{"id":"9770","type":"Column"}]},"id":"9771","type":"Row"},{"attributes":{"children":[{"id":"9769","type":"WidgetBox"}]},"id":"9770","type":"Column"},{"attributes":{"plot":null,"text":""},"id":"9773","type":"Title"},{"attributes":{"line_alpha":0.6,"line_color":"red","line_width":3,"x":{"field":"x"},"y":{"field":"y0"}},"id":"9758","type":"Line"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y0"}},"id":"9759","type":"Line"},{"attributes":{"callback":null,"end":5},"id":"9726","type":"Range1d"},{"attributes":{"callback":null},"id":"9724","type":"Range1d"},{"attributes":{"callback":null,"data":{"x":{"__ndarray__":"AAAAAAAAAABbv1Kg1q+EP1u/UqDWr5Q/CB988MEHnz9bv1Kg1q+kPzJvZ0jM26k/CB988MEHrz9wZ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}},"selected":{"id":"9778","type":"Selection"},"selection_policy":{"id":"9779","type":"UnionRenderers"}},"id":"9722","type":"ColumnDataSource"},{"attributes":{"below":[{"id":"9732","type":"LinearAxis"}],"left":[{"id":"9737","type":"LinearAxis"}],"plot_height":400,"plot_width":400,"renderers":[{"id":"9732","type":"LinearAxis"},{"id":"9736","type":"Grid"},{"id":"9737","type":"LinearAxis"},{"id":"9741","type":"Grid"},{"id":"9750","type":"BoxAnnotation"},{"id":"9760","type":"GlyphRenderer"},{"id":"9765","type":"GlyphRenderer"}],"title":{"id":"9773","type":"Title"},"toolbar":{"id":"9748","type":"Toolbar"},"x_range":{"id":"9724","type":"Range1d"},"x_scale":{"id":"9728","type":"LinearScale"},"y_range":{"id":"9726","type":"Range1d"},"y_scale":{"id":"9730","type":"LinearScale"}},"id":"9723","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"9728","type":"LinearScale"},{"attributes":{"overlay":{"id":"9750","type":"BoxAnnotation"}},"id":"9744","type":"BoxZoomTool"},{"attributes":{"line_alpha":0.6,"line_width":3,"x":{"field":"x"},"y":{"field":"y1"}},"id":"9763","type":"Line"},{"attributes":{},"id":"9746","type":"ResetTool"},{"attributes":{"source":{"id":"9722","type":"ColumnDataSource"}},"id":"9761","type":"CDSView"},{"attributes":{"source":{"id":"9722","type":"ColumnDataSource"}},"id":"9766","type":"CDSView"},{"attributes":{"dimension":1,"plot":{"id":"9723","subtype":"Figure","type":"Plot"},"ticker":{"id":"9738","type":"BasicTicker"}},"id":"9741","type":"Grid"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":3,"x":{"field":"x"},"y":{"field":"y1"}},"id":"9764","type":"Line"},{"attributes":{},"id":"9743","type":"WheelZoomTool"},{"attributes":{"callback":{"id":"9767","type":"CustomJS"},"end":5,"start":0.1,"step":0.1,"title":"PA*/PB*","value":5},"id":"9768","type":"Slider"},{"attributes":{"children":[{"id":"9768","type":"Slider"}]},"id":"9769","type":"WidgetBox"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"9742","type":"PanTool"},{"id":"9743","type":"WheelZoomTool"},{"id":"9744","type":"BoxZoomTool"},{"id":"9745","type":"SaveTool"},{"id":"9746","type":"ResetTool"},{"id":"9747","type":"HelpTool"}]},"id":"9748","type":"Toolbar"},{"attributes":{},"id":"9745","type":"SaveTool"},{"attributes":{"data_source":{"id":"9722","type":"ColumnDataSource"},"glyph":{"id":"9758","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"9759","type":"Line"},"selection_glyph":null,"view":{"id":"9761","type":"CDSView"}},"id":"9760","type":"GlyphRenderer"},{"attributes":{},"id":"9747","type":"HelpTool"},{"attributes":{"args":{"freq":{"id":"9768","type":"Slider"},"source":{"id":"9722","type":"ColumnDataSource"}},"code":"\n var data = source.data;\n var k = freq.value;\n var x = data['x']\n var y0 = data['y0']\n var y1 = data['y1']\n for (var i = 0; i < x.length; i++) {\n y0[i] = 1+(k-1)*x[i];\n y1[i] = k/(k-(k-1)*x[i]);\n }\n source.change.emit();\n"},"id":"9767","type":"CustomJS"}],"root_ids":["9771"]},"title":"Bokeh Application","version":"1.0.2"}} </script> <script type="text/javascript"> (function() { var fn = function() { Bokeh.safely(function() { (function(root) { function embed_document(root) { var docs_json = document.getElementById('9844').textContent; var render_items = [{"docid":"1b483621-b0d0-40ae-8840-10c68c359a10","roots":{"9771":"4bb40a24-8813-497a-86de-60b1fb7def71"}}]; root.Bokeh.embed.embed_items(docs_json, render_items); } if (root.Bokeh !== undefined) { embed_document(root); } else { var attempts = 0; var timer = setInterval(function(root) { if (root.Bokeh !== undefined) { embed_document(root); clearInterval(timer); } attempts++; if (attempts > 100) { console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing"); clearInterval(timer); } }, 10, root) } })(window); }); }; if (document.readyState != "loading") fn(); else document.addEventListener("DOMContentLoaded", fn); })(); </script> </body>
</html