Questions tagged [integrate]

Avoid using this tag as it is vague. For system integration, use tag [integration]; for numerical integration, use tag [numerical integration] as well as the tag for the computing language you are using.

Please avoid using this tag as it is vague. For system integration, use tag [integration]; for numerical integration, use tag [numerical integration] as well as the tag for the computing language you are using.

465 questions
2
votes
1 answer

R-Integrate an "integrated" function

I am using integrate function (in R) to numerically compute integrals. I have an univariate function with one argument f(x,a) like this (just for example purpose): test = function(x,a) 1/sqrt(2*pi)*exp(-(x-a)^2/2) I want to define new univariate…
Tuan
  • 41
  • 2
2
votes
1 answer

How to implement piecewise numerical integration?

Is there any way in Matlab, to shorten this function or is there any built-in function I can use instead of this? The following function works for me, but I want to exclude it from my script. function p = nintegrate(x, fx) acc = 0; for i =…
Dyin
  • 5,815
  • 8
  • 44
  • 69
2
votes
2 answers

How to integrate Wordpress with moodle 2.5

I'm trying to integrate wordpress with moodle 2.5 , what I want to do exactly is: I want that the users login in wordpress and from there they can link to moodle, also I'd like wordpress to use moodle's users. Is it possible? Anyone could help me…
Migua
  • 575
  • 1
  • 10
  • 17
2
votes
1 answer

Sympy integrate() does not produce output in the natural form of the common fraction

This code is taken from the Sympy tutorial: init_printing(use_unicode=False, wrap_line=False, no_global=True) x = Symbol('x') r = integrate(x**2 + x + 1, x) print(r) The output is: x**3/3 + x**2/2 + x It's correct, but in tutorial the output was: …
Netherwire
  • 2,669
  • 3
  • 31
  • 54
2
votes
2 answers

How to Integrate PHPList with the Existing Site

The existing site has it own "users" table in a database. I'm wondering how to integrate PHPList with the existing site so that a user can check the newsletter during registration. I installed phplist thru cpanel. Any help is greatly appreciated.
boxoft
  • 357
  • 2
  • 10
2
votes
2 answers

Definite Integral Matlab

I'm working on a project in Matlab and need to find the area between two lines (intersecting in a point (xIntersection,yIntersection) in the interval [-1,+1]. So the idea is to subtract the two lines and integrate between [-1, xIntersection] and…
Matteo
  • 7,924
  • 24
  • 84
  • 129
2
votes
2 answers

Update initial condition in ODE solver each time step

I am wanting to solve a system of ODEs where for the first 30,000 seconds, I want one of my state variables to start from the same initial value. After those 30,000 seconds, I want to change the initial value of that state variable to something…
Zack
  • 713
  • 2
  • 8
  • 21
2
votes
1 answer

Integrate Adobe AIR With C++

I'm learning C++ and before this i was reading some tutorials in the internet of the Adobe AIR development, but if Adobe AIR is so much easy to learn and C++ is a very flexible and good language it's possible to integrate those two languages in a…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
1
vote
1 answer

Combine two android projects with one login

I'm working on a project. In that, there are two applications. My new requirement is combine both apps into one. I have the two projects with me. Does anyone know how to merge those two projects into a single one? Then there is only one app after…
Amila Fonseka
  • 392
  • 1
  • 5
  • 15
1
vote
0 answers

Advice on Android Plugin App Design

I have an existing application which displays Song Lyrics (Lyric Pad) and has a fast menu system. I am looking at creating an additional application that will play backing tracks (mp3s) for musicians. Idealy I would like the Backing Track…
Daniel Neilsen
  • 33
  • 1
  • 1
  • 3
1
vote
1 answer

Integrating Facebook Group stream on an external website

I'm a member of a club that has a Joomla website and a Facebook group. Only about one third of the club's members are active on Facebook, and we'd like the rest to be able to follow the discussions taking place on Facebook from the club's external…
Anders
  • 1,401
  • 3
  • 16
  • 20
1
vote
1 answer

Integrate a function between a and b with n intervals

I'm totally stuck with that, i don't know where to start. I have to Integrate a function between a and b with n intervals in C. I only have the function definition : float funcintegrate(float (*f)(float x), float a, float b, int n); I need to use…
TheTime
  • 41
  • 2
  • 10
1
vote
1 answer

Integrate Rails and Python

This might sound like a vague question, but i wanted to know if there is to integrate Python code into my rails application. More specifically, if i had a game coded with something like pygame (and it might be pushing too far to say panda3d), how…
Kevin
  • 1,574
  • 4
  • 19
  • 45
1
vote
1 answer

Integrating an already build PHP mvc website to wordpress

I have made a website with php/mysql that is using the mvc architecture. I wish to transfer all these stuff into wordpress. How do I go on doing that? I saw WP MVP plugin but cant figure out how it is working. Thanks
Shakir
  • 273
  • 1
  • 5
  • 14
1
vote
2 answers

Calculating an integral of a Bernoulli likelihood function in R

I am trying to integrate a very simple likelihood function (three Bernoulli trials) in R, but it seems that I have not understood how integrate function works. My code is as follows: integrate( function(theta) prod( dbinom( x…