replace pdfs with htmls
This commit is contained in:
parent
f5e0cc14d4
commit
8e2f98b0c0
@ -2556,6 +2556,9 @@
|
|||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"newproof()\n",
|
"newproof()\n",
|
||||||
|
"#this is equivalent to\n",
|
||||||
|
"#prove(makesubs('(x-1)^4','[1,oo]'))\n",
|
||||||
|
"#prove(makesubs('(x-1)^4','[-oo,1]'))\n",
|
||||||
"powerprove('(x-1)^4')"
|
"powerprove('(x-1)^4')"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -3406,6 +3409,15 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"newproof()\n",
|
"newproof()\n",
|
||||||
"formula=Sm('-(3a + 2b + c)(2a^3 + 3b^2 + 6c + 1) + (4a + 4b + 4c)(a^4 + b^3 + c^2 + 3)')\n",
|
"formula=Sm('-(3a + 2b + c)(2a^3 + 3b^2 + 6c + 1) + (4a + 4b + 4c)(a^4 + b^3 + c^2 + 3)')\n",
|
||||||
|
"#this is equivalent to\n",
|
||||||
|
"#prove(makesubs(formula,'[1,oo],[1,oo],[1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[-1,oo],[1,oo],[1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[1,oo],[-1,oo],[1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[-1,oo],[-1,oo],[1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[1,oo],[1,oo],[-1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[-1,oo],[1,oo],[-1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[1,oo],[-1,oo],[-1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[-1,oo],[-1,oo],[-1,oo]'))\n",
|
||||||
"powerprove(formula)"
|
"powerprove(formula)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
File diff suppressed because one or more lines are too long
17915
examples.html
Normal file
17915
examples.html
Normal file
File diff suppressed because it is too large
Load Diff
@ -2556,6 +2556,9 @@
|
|||||||
],
|
],
|
||||||
"source": [
|
"source": [
|
||||||
"newproof()\n",
|
"newproof()\n",
|
||||||
|
"#this is equivalent to\n",
|
||||||
|
"#prove(makesubs('(x-1)^4','[1,oo]'))\n",
|
||||||
|
"#prove(makesubs('(x-1)^4','[-oo,1]'))\n",
|
||||||
"powerprove('(x-1)^4')"
|
"powerprove('(x-1)^4')"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -3406,6 +3409,15 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"newproof()\n",
|
"newproof()\n",
|
||||||
"formula=Sm('-(3a + 2b + c)(2a^3 + 3b^2 + 6c + 1) + (4a + 4b + 4c)(a^4 + b^3 + c^2 + 3)')\n",
|
"formula=Sm('-(3a + 2b + c)(2a^3 + 3b^2 + 6c + 1) + (4a + 4b + 4c)(a^4 + b^3 + c^2 + 3)')\n",
|
||||||
|
"#this is equivalent to\n",
|
||||||
|
"#prove(makesubs(formula,'[1,oo],[1,oo],[1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[-1,oo],[1,oo],[1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[1,oo],[-1,oo],[1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[-1,oo],[-1,oo],[1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[1,oo],[1,oo],[-1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[-1,oo],[1,oo],[-1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[1,oo],[-1,oo],[-1,oo]'))\n",
|
||||||
|
"#prove(makesubs(formula,'[-1,oo],[-1,oo],[-1,oo]'))\n",
|
||||||
"powerprove(formula)"
|
"powerprove(formula)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
BIN
examples.pdf
BIN
examples.pdf
Binary file not shown.
14995
statistics.html
Normal file
14995
statistics.html
Normal file
File diff suppressed because one or more lines are too long
@ -17,7 +17,6 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"from importlib import reload\n",
|
|
||||||
"from sympy import *\n",
|
"from sympy import *\n",
|
||||||
"import shiroindev\n",
|
"import shiroindev\n",
|
||||||
"from shiroindev import *\n",
|
"from shiroindev import *\n",
|
||||||
@ -58,25 +57,20 @@
|
|||||||
" if not m:\n",
|
" if not m:\n",
|
||||||
" break\n",
|
" break\n",
|
||||||
" s2+=s[p:p+m.end()]\n",
|
" s2+=s[p:p+m.end()]\n",
|
||||||
" #print('a',s[p:m.end()],p)\n",
|
|
||||||
" p+=m.end()\n",
|
" p+=m.end()\n",
|
||||||
" if m.group() in arg:\n",
|
" if m.group() in arg:\n",
|
||||||
" for i in range(arg[m.group()]):\n",
|
" for i in range(arg[m.group()]):\n",
|
||||||
" sp=re.search('^ *',s[p:])\n",
|
" sp=re.search('^ *',s[p:])\n",
|
||||||
" s2+=sp.group()\n",
|
" s2+=sp.group()\n",
|
||||||
" #print('b',sp.group(),p)\n",
|
|
||||||
" p+=sp.end()\n",
|
" p+=sp.end()\n",
|
||||||
" if s[p]=='{':\n",
|
" if s[p]=='{':\n",
|
||||||
" cb=re.search(r'^\\{.*?\\}',s[p:])\n",
|
" cb=re.search(r'^\\{.*?\\}',s[p:])\n",
|
||||||
" ab=addbraces(cb.group())\n",
|
" ab=addbraces(cb.group())\n",
|
||||||
" s2+=ab\n",
|
" s2+=ab\n",
|
||||||
" #print('c',ab,p)\n",
|
|
||||||
" p+=cb.end()\n",
|
" p+=cb.end()\n",
|
||||||
" else:\n",
|
" else:\n",
|
||||||
" s2+='{'+s[p]+'}'\n",
|
" s2+='{'+s[p]+'}'\n",
|
||||||
" #print('d','{'+s[p]+'}',p)\n",
|
|
||||||
" p+=1\n",
|
" p+=1\n",
|
||||||
" #print('e',p)\n",
|
|
||||||
" s2+=s[p:]\n",
|
" s2+=s[p:]\n",
|
||||||
" return s2\n",
|
" return s2\n",
|
||||||
"print(addbraces(r'\\frac{ \\sqrt 3}2'))\n",
|
"print(addbraces(r'\\frac{ \\sqrt 3}2'))\n",
|
||||||
@ -147,7 +141,6 @@
|
|||||||
"def parser(formula,intervals='[]',subs='[]',func=dif):\n",
|
"def parser(formula,intervals='[]',subs='[]',func=dif):\n",
|
||||||
" newproof()\n",
|
" newproof()\n",
|
||||||
" shiro.display=lambda x:None\n",
|
" shiro.display=lambda x:None\n",
|
||||||
" #display=lambda x:None\n",
|
|
||||||
" if intervals=='':\n",
|
" if intervals=='':\n",
|
||||||
" intervals='[]'\n",
|
" intervals='[]'\n",
|
||||||
" if subs=='':\n",
|
" if subs=='':\n",
|
||||||
|
BIN
statistics.pdf
BIN
statistics.pdf
Binary file not shown.
Loading…
Reference in New Issue
Block a user