Last active
September 13, 2017 12:26
-
-
Save hig3/4b496c10e3e6fd0a6da6d1a98a6028f0 to your computer and use it in GitHub Desktop.
test.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$x1=range(1,3); | |
$y1=range(1,3); | |
$x2=range(1,3); | |
$y2=range(1,3); | |
condition:ne($y1,$y2); | |
$ans=maple("x-($x1)=(($x2)-($x1))/(($y2)-($y1))*(y-($y1))"); | |
$ansdisp=maple("print(MathML[ExportPresentation]($ans))"); | |
$grade=maple("proc(A,R) evalb(simplify(solve(A,x)-solve(R,x))=0) end proc;"); | |
$ansplot=plotmaple("plot([solve($ans,x),y,y=-3..3],labels=[x,y])"); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment