Skip to content

Instantly share code, notes, and snippets.

@Observatorio-de-Matematica
Forked from raydsameshima/complex gaussian
Created November 30, 2023 17:04
Show Gist options
  • Save Observatorio-de-Matematica/2c61a6523de23c7cd22dd47fafb00faf to your computer and use it in GitHub Desktop.
Save Observatorio-de-Matematica/2c61a6523de23c7cd22dd47fafb00faf to your computer and use it in GitHub Desktop.
(%i73) assume(l>0);
(%o73) [l > 0]
(%i74) integrate( exp(-%i*l*t^2),t,-inf,inf);
1 %i
sqrt(%pi) (------- - -------)
sqrt(2) sqrt(2)
(%o74) -----------------------------
sqrt(l)
(%i75) polarform (%);
%i %pi
- ------
4
sqrt(%pi) %e
(%o75) --------------------
sqrt(l)
(%i76) polarform ( sqrt(%pi/(%i*l) );
incorrect syntax: Missing )
( sqrt(%pi/(%i*l) );
^
(%i76) polarform ( sqrt(%pi/(%i*l) ) );
%i %pi
- ------
4
sqrt(%pi) %e
(%o76) --------------------
sqrt(l)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment