Tools to aid the use of Python as CAS in danish high schools.
Project description
GYM CAS
Hjælpepakke til at bruge Python som CAS (Computational Algebra System) i gymnasiet.
Installation
pip install gym-cas
Cheatsheet
I nedenstående afsnit antages det at gym_cas
først importeres således:
from gym_cas import *
B1. Tal- og bogstavregning
expand( udtryk )
factor( udtryk )
B2. Ligninger og uligheder
solve( udtryk )
solve( [udtryk1, udtryk2] )
nsolve( udtryk, start )
Bemærk at den nemmeste måde at bruge solve
i SymPy
er ved at omforme sin ligning så en af siderne er lig 0. Hvis man fx vil løse ligningen x/2 = 10
så kan det skrives solve(x/2-10)
.
B3. Geometri og trigonometri
Sin( vinkel )
Cos( vinkel )
Tan( vinkel )
aSin( forhold )
aCos( forhold )
aTan( forhold )
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gym_cas-0.0.7.tar.gz
(6.2 kB
view hashes)