<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=M%C3%A8todes_num%C3%A8rics._numpy%2C_scipy%2C_sympy</id>
	<title>Mètodes numèrics. numpy, scipy, sympy - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=M%C3%A8todes_num%C3%A8rics._numpy%2C_scipy%2C_sympy"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=M%C3%A8todes_num%C3%A8rics._numpy,_scipy,_sympy&amp;action=history"/>
	<updated>2026-04-20T13:27:31Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=M%C3%A8todes_num%C3%A8rics._numpy,_scipy,_sympy&amp;diff=258069&amp;oldid=prev</id>
		<title>Joan: /* scipy */</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=M%C3%A8todes_num%C3%A8rics._numpy,_scipy,_sympy&amp;diff=258069&amp;oldid=prev"/>
		<updated>2018-12-04T23:34:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;scipy&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Introducció=&lt;br /&gt;
(TBD)&lt;br /&gt;
=numpy=&lt;br /&gt;
(TBD)&lt;br /&gt;
=scipy=&lt;br /&gt;
==Resolució numèrica d'una equació diferencial==&lt;br /&gt;
exemple de molla en presència de fricció:&lt;br /&gt;
*https://micropore.wordpress.com/2011/03/02/python-1d-mass-and-spring-system-with-friction/&lt;br /&gt;
==Resolució d'equacions diferencials==&lt;br /&gt;
exemples d'equacions diferencials de primer ordre:&lt;br /&gt;
*https://apmonitor.com/pdc/index.php/Main/SolveDifferentialEquations&lt;br /&gt;
exemple d'equacions diferencials de segon ordre: Coupled spring-mass system&lt;br /&gt;
*https://scipy-cookbook.readthedocs.io/items/CoupledSpringMassSystem.html&lt;br /&gt;
&lt;br /&gt;
=sympy=&lt;br /&gt;
(TBD)&lt;br /&gt;
==Instal·lació==&lt;br /&gt;
*https://docs.sympy.org/latest/install.html#installation&lt;br /&gt;
If you wish to contribute to SymPy or like to get the latest updates as they come, install SymPy from git. To download the repository, execute the following from the command line:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git clone git://github.com/sympy/sympy.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To update to the latest version, go into your repository and execute:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cd sympy&lt;br /&gt;
$ git pull origin master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to install SymPy, but still want to use the git version, you can run from your repository:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ python setupegg.py develop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will cause the installed version to always point to the version in the git directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After installation, it is best to verify that your freshly-installed SymPy works. To do this, start up Python and import the SymPy libraries:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ python&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; from sympy import *&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
From here, execute some simple SymPy statements like the ones below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; x = Symbol('x')&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; limit(sin(x)/x, x, 0)&lt;br /&gt;
1&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; integrate(1/x, x)&lt;br /&gt;
log(x)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Versions of SymPy prior to 1.0 included mpmath, but it now depends on it as an external dependency.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ pip install mpmath.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you use mpmath via sympy.mpmath in your code, you will need to change this to use just mpmath. If you depend on code that does this that you cannot easily change, you can work around it by doing:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import sys&lt;br /&gt;
import mpmath&lt;br /&gt;
sys.modules['sympy.mpmath'] = mpmath&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Autor}}, novembre 2018&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>