3 ms·
I am often amazed that one can run Maxima on an Android phone (Maxima on Android), including Gnuplot graphics and MathJax math formulae: plot3d ([cos(x)*(3 +
by marcle 6y ago
I am often amazed that one can run Maxima on an Android phone (Maxima on Android), including Gnuplot graphics and MathJax math formulae:
plot3d ([cos(x)*(3 + y*cos(x/2)), sin(x)*(3 + y*cos(x/2)), y*sin(x/2)], [x, -%pi, %pi], [y, -1, 1], ['grid, 50, 15]);
/* gradient of the log-likelihood for a time-dependent accelerated failure time model */
assume(t>0)$ H:-log(S(integrate(exp(alpha+beta*x(u)),u,0,t))); diff(delta*diff(H,t)-H,beta);
Axiom/Fricas is a beautiful language which provides a powerful mathematical type system.
- ogogmad 6y agoIndent by two spaces if you want to quote some code, otherwise the asterisks get turned into italics. plot3d ([cos(x)*(3 + y*cos(x/2)), sin(x)*(3 + y*cos(x/2)), y*sin(x/2)], [x, -%pi, %pi], [y, -1, 1], ['grid, 50, 15]);
- marcle 6y agoThank you - now edited.
- em500 6y agoWhy are you amazed about that? A modern Android phone is a general purpose computer roughly as powerful as a 2010-2015 laptop. Math software like Maxima, Mathematica, Maple have a very long history and was widely used on 1980s/1990s hardware.
- ploika 6y agoBecause it is amazing? Intellectually I know all about Moore's law, but having a supercomputer in your pocket still feels like science fiction in reality. There's no reason to push that feeling away.
- Sharlin 6y agoBut things like plotting a simple function, 3D or not, are vastly less performance-intensive than almost all other things that people do with their phones, like rendering just about any modern webpage. Never mind actually demanding things like playing 3D games (doing that on a cellphone was indeed rather amazing back in 2011, being accustomed to mobile games mostly being simple 2D affairs).
- narwally 6y agoI recently pulled out an old 2008 unibody Macbook pro just to play around on. It was a nearly %100 CPU utilization just attempting to play a 4K youtube video. That's something my $400 phone doesn't even break a sweat on. It's amazing how well cell phones have been optimized in the last decade.
- Sharlin 6y agoThat one's probably thanks to hardware h.264/265 decoding. That poor 2008 MBP likely has to do all the heavy lifting in software…