<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>NumPy on Ciência Programada</title>
    <link>https://cienciaprogramada.com/tags/numpy/</link>
    <description>Recent content in NumPy on Ciência Programada</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</managingEditor>
    <webMaster>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</webMaster>
    <copyright>© 2026 Francisco Bustamante</copyright>
    <lastBuildDate>Wed, 14 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://cienciaprogramada.com/tags/numpy/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Numerical Integration with SciPy</title>
      <link>https://cienciaprogramada.com/2026/10/numerical-integration-scipy/</link>
      <pubDate>Wed, 14 Oct 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/10/numerical-integration-scipy/</guid>
      <description>The Gaussian function has no elementary antiderivative, and that is a theorem of Liouville. When the antiderivative does not exist, or all you have is a table of measurements, the way forward is numerical: quad, trapezoid and Simpson, from scipy.integrate, with the care each one demands.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/10/numerical-integration-scipy/featured_0113.webp" />
    </item>
    
    <item>
      <title>Numerical Derivatives with SciPy</title>
      <link>https://cienciaprogramada.com/2026/10/numerical-derivatives-scipy/</link>
      <pubDate>Wed, 07 Oct 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/10/numerical-derivatives-scipy/</guid>
      <description>Is the reactor temperature rising too fast? The question is a derivative, but all we have are numbers in a table. We will see finite differences, numpy.gradient and scipy.differentiate, and why shrinking the step does not always improve the derivative, because of rounding and noise.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/10/numerical-derivatives-scipy/featured_0106.webp" />
    </item>
    
    <item>
      <title>Curve Fitting with NumPy</title>
      <link>https://cienciaprogramada.com/2026/09/curve-fitting-numpy/</link>
      <pubDate>Wed, 30 Sep 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/09/curve-fitting-numpy/</guid>
      <description>Experimental data rarely falls on a curve. We will see how NumPy fits polynomials to noisy data, what SymPy cannot do, why extrapolating is dangerous, and why Runge&amp;rsquo;s phenomenon comes from equally spaced nodes, not from high degree.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/09/curve-fitting-numpy/featured_0105.webp" />
    </item>
    
    <item>
      <title>Polynomials with NumPy</title>
      <link>https://cienciaprogramada.com/2026/09/polynomials-numpy/</link>
      <pubDate>Wed, 23 Sep 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/09/polynomials-numpy/</guid>
      <description>Stored in float64, the coefficients of Wilkinson&amp;rsquo;s polynomial no longer return the roots 1 to 20: two of them become a complex pair. Before getting there, we look at roots, derivatives, integrals and division with numpy.polynomial, and at the coefficient-order trap.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/09/polynomials-numpy/featured_0104.webp" />
    </item>
    
    <item>
      <title>From Chemistry to Engineering: Numerical Equations in Real Systems</title>
      <link>https://cienciaprogramada.com/2026/09/chemistry-engineering-numerical-equations/</link>
      <pubDate>Wed, 16 Sep 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/09/chemistry-engineering-numerical-equations/</guid>
      <description>From the pH of a weak acid to the volume of a real gas and the friction factor of a pipe: three equations that chemistry and engineering use every day and that only have a useful numerical solution. We solve all three with brentq and numpy.roots and rebuild the Moody chart.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/09/chemistry-engineering-numerical-equations/featured_0103.webp" />
    </item>
    
    <item>
      <title>Orbits and Trajectories: Numerical Equations in Physics</title>
      <link>https://cienciaprogramada.com/2026/09/orbits-trajectories-physics/</link>
      <pubDate>Wed, 09 Sep 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/09/orbits-trajectories-physics/</guid>
      <description>Where is Halley&amp;rsquo;s Comet on any given date? The answer requires solving Kepler&amp;rsquo;s equation, which has no closed form. With SciPy&amp;rsquo;s newton and brentq, we locate the comet, make the law of areas visible, and compute the range of a projectile with air resistance.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/09/orbits-trajectories-physics/featured_0102.webp" />
    </item>
    
    <item>
      <title>Solving Equations Numerically with SciPy</title>
      <link>https://cienciaprogramada.com/2026/09/numerical-equations-scipy/</link>
      <pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/09/numerical-equations-scipy/</guid>
      <description>In Kepler&amp;rsquo;s equation, the unknown appears both inside and outside a sine, and no algebra isolates it. For cases like this, SciPy approximates the root. We will see bisection and brentq, Newton&amp;rsquo;s method and why it can fail, and nonlinear systems with fsolve and root.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/09/numerical-equations-scipy/featured_0101.webp" />
    </item>
    
    <item>
      <title>From Symbol to Number: SciPy and NumPy Beyond SymPy</title>
      <link>https://cienciaprogramada.com/2026/09/from-symbol-to-number/</link>
      <pubDate>Tue, 01 Sep 2026 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2026/09/from-symbol-to-number/</guid>
      <description>Most equations, integrals, and differential equations in real problems have no closed-form solution, and SymPy can&amp;rsquo;t solve them. This 13-article series shows how NumPy and SciPy tackle these problems: roots, polynomials, numerical calculus, optimization, and FFT.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2026/09/from-symbol-to-number/featured_0112.webp" />
    </item>
    
    <item>
      <title>Understanding the Concept of Axis in NumPy and pandas: How to Work with Data in Python</title>
      <link>https://cienciaprogramada.com/2023/04/axis-concept-numpy-pandas/</link>
      <pubDate>Sun, 02 Apr 2023 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2023/04/axis-concept-numpy-pandas/</guid>
      <description>Both NumPy and pandas use the concept of an axis, but with subtle differences. In NumPy, it refers to the dimension along which an operation is performed, while in pandas it indicates the direction of an operation. This article presents examples of using axis in each library.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2023/04/axis-concept-numpy-pandas/featured_0051.jpg" />
    </item>
    
    <item>
      <title>NumPy broadcasting and vector quantization</title>
      <link>https://cienciaprogramada.com/2023/03/broadcasting-vector-quantization/</link>
      <pubDate>Thu, 02 Mar 2023 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2023/03/broadcasting-vector-quantization/</guid>
      <description>We learn in math that there are rules for adding or multiplying matrices. But in computational math problems we sometimes have matrices or vectors that we would like to add or multiply and that do not meet the requirements. In this article we will see how the NumPy broadcasting concept is useful in these contexts and how it relates to vector quantization.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2023/03/broadcasting-vector-quantization/featured_0050.jpg" />
    </item>
    
    <item>
      <title>So, What Is NumPy&#39;s reshape?</title>
      <link>https://cienciaprogramada.com/2023/02/what-is-numpy-reshape/</link>
      <pubDate>Thu, 02 Feb 2023 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2023/02/what-is-numpy-reshape/</guid>
      <description>If you are venturing into data science, you have most likely seen a reshape in some code. Maybe with a mysterious value of -1 in one of the positions, as in reshape(-1, 1). But what does that mean? Why do we sometimes need to transform our data to use model methods in Scikit-Learn? That is what we will see in this article.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2023/02/what-is-numpy-reshape/featured_0049.jpg" />
    </item>
    
    <item>
      <title>Monte Carlo Methods with Python</title>
      <link>https://cienciaprogramada.com/2022/08/monte-carlo-methods-python/</link>
      <pubDate>Tue, 02 Aug 2022 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2022/08/monte-carlo-methods-python/</guid>
      <description>Monte Carlo methods are computational algorithms that rely on random samples to obtain numerical results. In this article, we will see how to obtain the value of pi with these methods.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2022/08/monte-carlo-methods-python/featured_0048.jpg" />
    </item>
    
    <item>
      <title>Bolt vs Python: finding the speed of an Olympic athlete</title>
      <link>https://cienciaprogramada.com/2020/09/bolt-python-olympic-athlete-speed/</link>
      <pubDate>Thu, 10 Sep 2020 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2020/09/bolt-python-olympic-athlete-speed/</guid>
      <description>Usain Bolt is considered by many to be the greatest sprinter of all time. In this article, we will see how to use Python to find the speed and acceleration the Jamaican reached in his races. We will also take the chance to discuss mathematical models and the care needed in choosing them and interpreting their results.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2020/09/bolt-python-olympic-athlete-speed/featured_0008.jpg" />
    </item>
    
    <item>
      <title>Plots with units in Python: pint and matplotlib</title>
      <link>https://cienciaprogramada.com/2020/09/python-plots-pint-matplotlib/</link>
      <pubDate>Sat, 05 Sep 2020 00:00:00 +0000</pubDate>
      <author>contato[@]cienciaprogramada.com.br (Francisco Bustamante)</author>
      <guid>https://cienciaprogramada.com/2020/09/python-plots-pint-matplotlib/</guid>
      <description>In this article we detail how to get visually elegant plots that correctly show units on their axes. We will combine the pint, numpy and matplotlib libraries.</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://cienciaprogramada.com/2020/09/python-plots-pint-matplotlib/featured_0007.png" />
    </item>
    
  </channel>
</rss>
