Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

tmp Documents for testing and dev of the share server

Project: ⚔️ dev1
Views: 233
Kernel: Octave

This is a demo

Consider a=x3a = x^3.

a = rand(5)
a = 0.267139 0.805561 0.069841 0.794689 0.110577 0.948424 0.701436 0.023144 0.560013 0.315021 0.768580 0.847153 0.036748 0.696519 0.831973 0.900292 0.407907 0.824416 0.087610 0.939947 0.202503 0.277016 0.222474 0.013010 0.746668
det(a)
ans = 0.041514
rref(a)
ans = 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1
v = [1 2 3 9 2 1]
v = 1 2 3 9 2 1
v' * v
ans = 1 2 3 9 2 1 2 4 6 18 4 2 3 6 9 27 6 3 9 18 27 81 18 9 2 4 6 18 4 2 1 2 3 9 2 1
v * v'
ans = 100
pkg load symbolic; syms x f = 2 * (cos(x) + sin(x)^2) f1 = diff(f, x)
f = (sym) 2 2⋅sin (x) + 2⋅cos(x) f1 = (sym) 4⋅sin(x)⋅cos(x) - 2⋅sin(x)