mirror of
https://github.com/silicoflare/silicoflare-website.git
synced 2026-05-26 20:17:58 +05:30
edited codegen2
This commit is contained in:
@@ -114,6 +114,10 @@
|
|||||||
codeArea.innerText += "\nxstring(5.5, 450, ['Name: "+document.getElementById("stuName").value+"'])";
|
codeArea.innerText += "\nxstring(5.5, 450, ['Name: "+document.getElementById("stuName").value+"'])";
|
||||||
codeArea.innerText += "\nxstring(5.5, 400, ['SRN: "+document.getElementById("srn").value+"'])";
|
codeArea.innerText += "\nxstring(5.5, 400, ['SRN: "+document.getElementById("srn").value+"'])";
|
||||||
|
|
||||||
|
codeArea.innerText += "\nxstring(0.8, 850, ['SCALE'])"+
|
||||||
|
"\nxstring(0.5, 825, ['X-AXIS: 0.5 mL'])"+
|
||||||
|
"\nxstring(0.6, 800, ['Y-AXIS: 50 V'])";
|
||||||
|
|
||||||
codeArea.innerText += "\nscf"+
|
codeArea.innerText += "\nscf"+
|
||||||
"\nN = length(x)"+
|
"\nN = length(x)"+
|
||||||
"\ndydx = diff(y(:)) ./ diff(x(:))"+
|
"\ndydx = diff(y(:)) ./ diff(x(:))"+
|
||||||
@@ -122,7 +126,10 @@
|
|||||||
"\nplot(x1, dydx)"+
|
"\nplot(x1, dydx)"+
|
||||||
"\nxgrid()"+
|
"\nxgrid()"+
|
||||||
"\nxlabel('$Volume\\ of\\ $K_{2}Cr_{2}O_{7}$\\ added\\ in\\ mL$')"+
|
"\nxlabel('$Volume\\ of\\ $K_{2}Cr_{2}O_{7}$\\ added\\ in\\ mL$')"+
|
||||||
"\nylabel('$\\frac{\\Delta$E}{\\Delta$V}$')";
|
"\nylabel('$\\frac{\\Delta$E}{\\Delta$V}$')"+
|
||||||
|
"\nxstring(0.8, 550, ['SCALE'])"+
|
||||||
|
"\nxstring(0.5, 525, ['X-AXIS: 0.5 mL'])"+
|
||||||
|
"\nxstring(0.49, 500, ['Y-AXIS: 50 units'])";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user