コード例 #1
0
print

r4 = r1 * r2 + one
print "r4:", r4
print

e = psr.exp()
print "e:", e
print

r5 = r1 * r2 + e
print "r5:", r5
print

#print "psr.gens: ", [ str(i) for i in psr.gens() ];
[one, y] = psr.gens()
print "y:", y
print

r6 = one - y
print "r6:", r6
print

r7 = one / r6
print "r7:", r7
print

s = psr.sin()
print "s:", s
print
コード例 #2
0
ファイル: powerseries.py プロジェクト: rjolly/jas
print;

r4 = r1 * r2 + one;
print "r4:", r4;
print;

e = psr.exp();
print "e:", e;
print;

r5 = r1 * r2 + e;
print "r5:", r5;
print;

#print "psr.gens: ", [ str(i) for i in psr.gens() ];
[one,y] = psr.gens();
print "y:", y;
print;

r6 = one - y;
print "r6:", r6;
print;

r7 = one / r6;
print "r7:", r7;
print;


s = psr.sin();
print "s:", s;
print;
コード例 #3
0
print "r3:", r3;
print;

r4 = r1 * r2 + one;
print "r4:", r4;
print;

e = psr.exp();
print "e:", e;
print;

r5 = r1 * r2 + e;
print "r5:", r5;
print;

y = psr.gens();
print "y:", y;
print;

r6 = one - y;
print "r6:", r6;
print;

r7 = one / r6;
print "r7:", r7;
print;


s = psr.sin();
print "s:", s;
print;