Sponsored links: Algebra eBooks
 

Related

quad_qaws

? quad_qaws;

Calculate

quad_qaws

? quad_qaws;

Calculate

quad_qaws

Run Example
(%i1)u : exp((x^2 - 1)/2);
                                      2
                                     x  - 1
                                     ------
                                       2
(%o1)                              %e
(%i2) a : -1;
(%o2)                                 - 1
(%i3) 		b : 1;
(%o3)                                  1
(%i4) N : 30;
(%o4)                                 30
(%i5) 	w : 1 / sqrt(1 - x * x);
                                      1
(%o5)                            ------------
                                           2
                                 sqrt(1 - x )
(%i6) quad_qaws(u * cos(30 * acos(x)) * 2 / %pi, x, a, b, -1/2, -1/2, 1, epsabs=1d-12, limit=1000);
(%o6)     [- 1.4556498367790383E-15, 2.6774316844590494E-13, 870, 0]
(%i7) 
Run Example
u : exp((x^2 - 1)/2);
                                      2
                                     x  - 1
                                     ------
                                       2
(%o1)                              %e
(%i2) a : -1;
(%o2)                                 - 1
(%i3) 		b : 1;
(%o3)                                  1
(%i4) N : 30;
(%o4)                                 30
(%i5) 	w : 1 / sqrt(1 - x * x);
                                      1
(%o5)                            ------------
                                           2
                                 sqrt(1 - x )
(%i6) quad_qaws(u * cos(38 * acos(x)) * 2 / %pi, x, a, b, -1/2, -1/2, 1);
 ***MESSAGE FROM ROUTINE DQAWS IN LIBRARY SLATEC.
 ***INFORMATIVE MESSAGE, PROG CONTINUES, TRACEBACK REQUESTED
 *  ABNORMAL RETURN
 *  ERROR NUMBER = 2
 *   
 ***END OF MESSAGE
 
(%o6)     [- 3.0357660829594124E-16, 9.595837878031552E-15, 1670, 2]
(%i7) 
Run Example
u : exp((x^2 - 1)/2);
                                      2
                                     x  - 1
                                     ------
                                       2
(%o1)                              %e
(%i2) a : -1;
(%o2)                                 - 1
(%i3) 		b : 1;
(%o3)                                  1
(%i4) N : 30;
(%o4)                                 30
(%i5) 	w : 1 / sqrt(1 - x * x);
                                      1
(%o5)                            ------------
                                           2
                                 sqrt(1 - x )
(%i6) quad_qaws(u * cos(24 * acos(x)) * 2 / %pi, x, a, b, -1/2, -1/2, 1, epsabs=1d-16, limit=10000);
 ***MESSAGE FROM ROUTINE DQAWS IN LIBRARY SLATEC.
 ***INFORMATIVE MESSAGE, PROG CONTINUES, TRACEBACK REQUESTED
 *  ABNORMAL RETURN
 *  ERROR NUMBER = 2
 *   
 ***END OF MESSAGE
 
(%o6)     [- 5.2475385148298415E-16, 9.5836934023204149E-15, 1110, 2]
(%i7) 

Related Help

Help for Quad_qaws