Posts

Showing posts from March 15, 2019

Integral $int frac{sin^n(x)}{cos(x)}dx$

Image
3 1 $begingroup$ In one of my exercises about integration we had to solve the following integral: begin{equation} int frac{sin^n(x)}{cos^m(x)}dx end{equation} We had to do this via a recursive integral. I found: begin{equation} mathcal{K_{m,n}} = frac{sin^{n-1}(x)}{(m-1)cdotcos^{m-1}(x)}-frac{n-1}{m-1}cdotmathcal{K}_{m-2,n-2}, qquad n,mgeq2 end{equation} I know for a fact that this solution is correct because we solved this in class, but the other cases where m and/or n are not $geq$ 2, were left as an exercise for us at home. I've found a solution for every case except for the case where $m = 1$ , which makes the following integral. begin{equation} int frac{sin^n(x)}{cos(x)}dx end{equation} I've tried different things, I tried integration by parts with many different u's and v's

Deutsches Institut für Ernährungsforschung

Image
Deutsches Institut für Ernährungsforschung Deutsches Institut für Ernährungsforschung (DIfE) Kategorie: Forschungseinrichtung Träger: keiner (rechtlich selbstständige SöR) Mitgliedschaft: Leibniz-Gemeinschaft Standort der Einrichtung: Nuthetal (Bergholz-Rehbrücke) Art der Forschung: Grundlagenforschung Fächer: Naturwissenschaften Fachgebiete: Lebenswissenschaften Grundfinanzierung: Bund (50 %), Länder (50 %) Leitung: Tilman Grune Mitarbeiter: ca. 300 Homepage: www.dife.de Das Deutsche Institut für Ernährungsforschung Potsdam-Rehbrücke (DIfE) ist ein Institut der Leibniz-Gemeinschaft, das experimentelle und angewandte Forschung auf dem Gebiet von Ernährung und Gesundheit betreibt, um die molekularen Ursachen ernährungsbedingter Erkrankungen zu erforschen und neue Strategien für Prävention, Therapie und Ernährungsempfehlungen zu entwickeln. Insbesondere steht dabei die Entstehung von Adipositas, Diabetes

PHP _Session variables lost between php files. why?

Image
0 I know that, by the title, this question has been answered multiple times here, but none of the posts offers me a valid solution. So here I go: THE PROBLEM: I have and index.php file. It's a basic html-form with user/password fields and a login button. On clic in the Login button, a function called login() generates a hash for the password. Then user+hash are verified against a database. If the access is valid, I add some values to the SESSION, returns true and then the form loads a php file called process_login.php where, all I do, is check if the user is admin or not and load a different web according to that. So far, so good. The process_login.php loads the right website and it can see the SESSION values (I tried to print them, everything is ok). This values are used to check if the current user ha