Usually d'Alembert's ratio test is easier to perform than Cauchy's root test but it is less powerful (-> book Advanced mathematics for applications, Andrea Prosperetti, Cambridge University press).
On Amazon:
http://www.amazon.com/Advanced-Mathematics-Applications-Andrea-Prosperetti/dp/0521735874
On Google Books:
http://books.google.com/books?id=yQejXXN8zdoC
Sunday, November 6, 2011
Wednesday, November 2, 2011
[LATEX] Re-installation
A far more tedious task than I remembered...
With a few blocking points:
* Installation of miktex:
configuration of the proxy : proxyweb.xxx.xx + port 3128 (not 8080 for me !!!)
* Compilation issue with an old miktex version :
error message:
! You are attempting to make a LaTeX format from a source file
! That is more than five years old.
solution:
edit \MiKTeX 2.8\tex\latex\base\latex.ltx
and change \ifnum\count@65 to \ifnum\count@165
* TexnicCenter tex=>pdf (with .eps images)
copy the basic tex=>.ps profile and add a postprocessor:
gs\gs9.04\bin\gswin64.exe
-sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"
Miktex (Latex for Windows):
http://miktex.org/
Texniccenter (Latex environment for Windows):
http://www.texniccenter.org/
Latex softwares (including the all-in-one solution Protext for Windows)
http://tug.org/texcollection/
With a few blocking points:
* Installation of miktex:
configuration of the proxy : proxyweb.xxx.xx + port 3128 (not 8080 for me !!!)
* Compilation issue with an old miktex version :
error message:
! You are attempting to make a LaTeX format from a source file
! That is more than five years old.
solution:
edit \MiKTeX 2.8\tex\latex\base\latex.ltx
and change \ifnum\count@65 to \ifnum\count@165
* TexnicCenter tex=>pdf (with .eps images)
copy the basic tex=>.ps profile and add a postprocessor:
gs\gs9.04\bin\gswin64.exe
-sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"
Miktex (Latex for Windows):
http://miktex.org/
Texniccenter (Latex environment for Windows):
http://www.texniccenter.org/
Latex softwares (including the all-in-one solution Protext for Windows)
http://tug.org/texcollection/
Thursday, October 27, 2011
[Abaqus] - Hidding elements' edges
* with the mouse:
view/part display options/show edges in shaded render style
* with python:
session.viewports['Viewport:1'].partDisplay.meshOptions.setValues(meshEdgesInShaded=OFF)
Abaqus Finite Element Software:
http://www.simulia.com/
view/part display options/show edges in shaded render style
* with python:
session.viewports['Viewport:1'].partDisplay.meshOptions.setValues(meshEdgesInShaded=OFF)
Abaqus Finite Element Software:
http://www.simulia.com/
Thursday, September 15, 2011
[Matlab] Generation of nice and light .eps from matlab figures
*From matlab:
-> generate a bitmap file with a good resolution
hX=figure(X)
...
print(hX,'-dtiffn','-r500','name_of_the_output_file');
*In inkscape (in French !):
-fichier/importer -> name_of_the_output_file.tif
-fichier/propriétés du document -> ajuster la page à la sélection
-define the quadrangle that will be the frame of the final image
-select the imported image and the frame
-object/découpe/définir
-fichier/propriétés du document -> ajuster la page à la sélection
-fichier/save as -> .eps
Matlab:
http://www.mathworks.com/
Inkscape:
http://inkscape.org/
-> generate a bitmap file with a good resolution
hX=figure(X)
...
print(hX,'-dtiffn','-r500','name_of_the_output_file');
*In inkscape (in French !):
-fichier/importer -> name_of_the_output_file.tif
-fichier/propriétés du document -> ajuster la page à la sélection
-define the quadrangle that will be the frame of the final image
-select the imported image and the frame
-object/découpe/définir
-fichier/propriétés du document -> ajuster la page à la sélection
-fichier/save as -> .eps
Matlab:
http://www.mathworks.com/
Inkscape:
http://inkscape.org/
Wednesday, September 14, 2011
[Bibtex] Respecting capital letters in an article title
Just have to change in the .bib file:
title = {Bla Bla Bla},
by
title = {{Bla Bla Bla}},
in order to disable bibtex re-interpretation
Jabref bibliography manager:
http://jabref.sourceforge.net/
title = {Bla Bla Bla},
by
title = {{Bla Bla Bla}},
in order to disable bibtex re-interpretation
Jabref bibliography manager:
http://jabref.sourceforge.net/
Saturday, August 13, 2011
[Fun] Maths Jokes !
* Why do the mathematicians name their dog "Cauchy" ?
Because he leaves a residue at every pole.
* You know what's odd to me ?
Numbers that are not divisible by two.
* A pair of discrete mathematicians are in a field. One asks: "I wonder how many sheeps there are in this field ?"
The second replies: "There are 200."
Astonished, the first asks: "How do you manage to count that fast ?"
"That's simple, I counted the legs and divided by four."
source (in french): Blagues mathématiques et autres curiosités, Bruno Winkler, Editions ellipse.
Because he leaves a residue at every pole.
* You know what's odd to me ?
Numbers that are not divisible by two.
* A pair of discrete mathematicians are in a field. One asks: "I wonder how many sheeps there are in this field ?"
The second replies: "There are 200."
Astonished, the first asks: "How do you manage to count that fast ?"
"That's simple, I counted the legs and divided by four."
source (in french): Blagues mathématiques et autres curiosités, Bruno Winkler, Editions ellipse.
Tuesday, July 26, 2011
[C/C++] Formatting today's date in C/C++
struct tm Today; time_t Now; time(&Now); Today = *localtime(&Now); printf("%4.4d/%2.2d/%2.2d\n",Today.tm_year+1900 ,Today.tm_mon+1 ,Today.tm_mday);
Subscribe to:
Posts (Atom)