edited codegen2

This commit is contained in:
SilicoFlare
2023-03-23 14:35:25 +05:30
committed by GitHub
parent 57000d8239
commit 0fabeb5265

View File

@@ -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>