Posts

Showing posts from April 9, 2019

How to achieve display of embedded PDF files in WebView?

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 I have a simple Android client for my website based on WebView . My goal is to display, or at least download PDF files located on the page. The problem is that these PDF files are embedded(inside the embed tag), and WebView doesn't display them. Example of embedded PDF: <embed class="my-class" type="application/pdf" src="data:application/pdf;base64,[base64string]"> , where [base64string] is base64 representation of PDF file. However, the Chrome browser (hereinafter means version for Android) understands embedded PDF files and offers to open them. As far as I know, Chrome and WebView h

Don't understand how to use trig sub on $intfrac{x^3}{(4x^2+9)^frac{3}{2}}dx$

Image
2 $begingroup$ In my textbook it says First we note that $(4x^2+9)^frac{3}{2} = (sqrt{4x^2+9})^3$ so trigonometric substitution is appropriate. Although $sqrt{4x^2+9}$ is not quite one of the expressions in the table of trigonometric substitutions, it becomes one of them if we make the preliminary substitution $u=2x$ . When we combine this with the tangent substitution, we have $x=frac{3}{2}tan(theta)$ , which gives $dx=frac{3}{2}sec^2theta dtheta$ I understand the basic trig substitutions in integrals, and I recognize that this is going to turn into some kind of $tan$ substitution since the denominator $sqrt{4x^2+9}$ is equivalent to $sqrt{x^2+a^2}$ , but for the life of me I cannot figure out why he is subbing $u=2x$ . Does it have something to do with the fact that $sqrt{4x^2}=2x$ ? After that, then