{ "cells": [ { "cell_type": "markdown", "metadata": { "collapsed": false }, "source": [ "#SageMath" ] }, { "cell_type": "code", "execution_count": 23, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "" ] }, "execution_count": 23, "metadata": { }, "output_type": "execute_result" } ], "source": [ "var('x, a')\n", "assume(a>0)\n", "f(x)=sqrt(x*(1-x))/(x+a)\n", "#show(integral(f(x),x))\n", "show(integrate(f(x),x,0,1))" ] }, { "cell_type": "code", "execution_count": 24, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "" ] }, "execution_count": 24, "metadata": { }, "output_type": "execute_result" } ], "source": [ "var('x,a,b')\n", "assume(a