-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Poincare] Added kmat() #1699
Open
RedGl0w
wants to merge
9,511
commits into
numworks:master
Choose a base branch
from
RedGl0w:kmat
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[Poincare] Added kmat() #1699
Conversation
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
called on reduced expression This fixes the following bug: input i+10*sqrt(i)
Scenario: write the script: def squares(): for i in range(660): forward(L)lo) Put the cursor right of "lo" and press backspace.
as it might be destroyed This fixes the following crash: input 1, OK, input ans/[], go up to the history --> crash
cursor (issue numworks#1458 on GitHub)
This fixes the following bug: input _ns, go to additional results --> crash
arguments in float instead of coordinates
matplotlib shape)
Added a condition for being considered empty. Allows axis("on") or axis((0,1,2,3)) to display something with show() This behavior is the same as the python module Change-Id: If5f3b07c280ee9ead2bc23d23cbbb4f01da7eae5
Change-Id: Idea0ce07cbc800139539f9d3fb27811920645184
Allows user to print strings with the turtle Change-Id: I06a3832f6fa36d29506be10c48a1b2fb34cb69fb
Change-Id: I3ff3d4fb3552bcb8c375c77651db3b7c44991646
Change-Id: I29476d8148ad98285505adc460b90628573518fa
Scenario: write a ascrip "from matplotlib.pyplot0 import *" than open the variable box
Scenario: add the script from matplotlib.pyplot import *\nfrom math import *\n\ng=9.81\n\ndef x(t,v_0,alpha):\n return v_0*cos(alpha)*t\ndef y(t,v_0,alpha,h_0):\n return -0.5*g*t**2+v_0*sin(alpha)*t+h_0\n\ndef vx(v_0,alpha):\n return v_0*cos(alpha)\ndef vy(t,v_0,alpha):\n return -g*t+v_0*sin(alpha)\n\ndef t_max(v_0,alpha,h_0):\n return (v_0*sin(alpha)+sqrt((v_0**2)*(sin(alpha)**2)+2*g*h_0))/g\n\ndef simulation(v_0=15,alpha=pi/4,h_0=2):\n tMax=t_max(v_0,alpha,h_0)\n accuracy=1/10**(floor(log10(tMax))-1)\n T_MAX=floor(tMax*accuracy)+1\n X=[x(t/accuracy,v_0,alpha) for t in range(T_MAX)]\n Y=[y(t/accuracy,v_0,alpha,h_0) for t in range(T_MAX)]\n VX=[vx(v_0,alpha) for t in range(T_MAX)]\n VY=[vy(t/accuracy,v_0,alpha) for t in range(T_MAX)]\n for i in range(T_MAX):\n arrow(X[i],Y[i],VX[i]/accuracy,VY[i]/accuracy)\n grid()\n show()tan(if :\n \n celse:\n )c then autocomplete after the last c.
depends on the System settings
Ion::Haptics::isEnabled is per platform.
This fixes the following bug: add the sequence, u(n)=2^n. On the graph, go to "sum of terms" and try to sum terms from 0 to 18 by moving the cursor. It hangs.
drawHorizontalOrVerticalSegment
Add the possibility to use a double-typed evaluator when tracing a curve, useful when errors caused by float approximation mess with the drawing. Change-Id: I3ab410deec4823149239b0a26b1885fd2a493226
Change-Id: Ia603a2fb1553b6dfc038d2a28472ce48e41936db
Change-Id: I8aad13c6bce719ba8f3a30cd86f06f7c89ec041e
Change-Id: Iae974aa2bee12e6c56bad84fd3b45093fb2a856f
leavable from keyboard
RedGl0w
force-pushed
the
kmat
branch
4 times, most recently
from
October 30, 2020 17:37
e3414e2
to
270921f
Compare
EmilieNumworks
force-pushed
the
master
branch
2 times, most recently
from
December 1, 2021 16:37
e385767
to
974bf08
Compare
EmilieNumworks
force-pushed
the
master
branch
from
February 2, 2023 11:08
bb3baa7
to
e4c3a98
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It closes #1697