This repository has been archived on 2025-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
labvoeding-front/mathTest.py
Mats van Reenen 5031e5f2b6 first comit
2020-07-22 11:05:57 +02:00

33 lines
403 B
Python
Executable File

#!/bin/python
import mathobjects as mo
# a = mo.Const(5)
# b = mo.Const(10)
# c = mo.Var('c')
# f = a*(b//(a**(b/a-mo.Sin(5))))-b+2 == c-b
# # f = a + b == c + b
# print(f)
# # f = f.simplify()
# print(f)
# y = f.solve({"c": 2})
# print(y)
k = mo.Vec(5, 6, 7)
print(str(k))
k[1] = 3
print(str(k))
print(str(k[2]))
# print("a is b: " + str(a is b))
# print("a is not b: " + str(a is not b))