lehrkraefte:blc:math:maxima-cheatsheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lehrkraefte:blc:math:maxima-cheatsheet [2021/05/05 09:44]
Ivo Blöchliger [Vector operations]
lehrkraefte:blc:math:maxima-cheatsheet [2024/05/03 09:06] (current)
Ivo Blöchliger [Using results of solve for further computations]
Line 20: Line 20:
 (%o11)        [x = ---------------------------------------------] (%o11)        [x = ---------------------------------------------]
                                       log(2)                                       log(2)
-</code> 
  
 +</code>
 +Und sonst halt mit ''find_root (expr, x, a, b)''
 ===== Output stuff like Maxima Input ===== ===== Output stuff like Maxima Input =====
 <code txt> <code txt>
Line 52: Line 53:
 rhs(sol[2]); rhs(sol[2]);
 map(rhs, sol); map(rhs, sol);
 +</code>
 +===== Nummerically solve equations =====
 +[[https://maxima.sourceforge.io/docs/manual/maxima_116.html|Maxima doc]]
 +<code txt>
 +find_root(sin(2*x)=x,x,0.5,2);
 </code> </code>
  
Line 61: Line 67:
 area(a,b,c):=1/2*norm(cross(b-a,c-a)); area(a,b,c):=1/2*norm(cross(b-a,c-a));
 vec2eq(eq):=makelist(rhs(eq)[i]=lhs(eq)[i], i, 1, length(rhs(eq))); vec2eq(eq):=makelist(rhs(eq)[i]=lhs(eq)[i], i, 1, length(rhs(eq)));
 +</code>
  
 +===== Binomial Distribution =====
 +<code maxima>
 +load("distrib");
 +pdf_binomial (25,500,0.03);   
 +cdf_binomial (25,500,0.03);
 </code> </code>
 +
  • lehrkraefte/blc/math/maxima-cheatsheet.1620200640.txt.gz
  • Last modified: 2021/05/05 09:44
  • by Ivo Blöchliger