Hi,



I am trying to solve the following integral using sagemath



<https://lh3.googleusercontent.com/-hbWyZgVMTvk/VeVyoDreVcI/AAAAAAAAAHk/Ns936Z-6p0w/s1600/01.gif>
where,




<https://lh3.googleusercontent.com/-SJSEa-IV1Sw/VeVygYzhD9I/AAAAAAAAAHc/H3WKQBnT3Ho/s1600/02.gif>


 

These are steps I have followed 

var('x, y, a, b, c')
f(x)=0.5* a * (1-cos(3*x-b))

h=integral(exp(-c*f(x)), x, 0, 2*pi)

h


The output from sagemath is as follows 
integrate(e^(0.5*a*c*(cos(-b + 3*x) - 1)), x, 0, 2*pi)

Can you please let me know if I am doing something wrong in the steps?? 
Any helping for solving the integral is highly appreciated.
 

Thanks in advance,

Regards,
Rajitha


























-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-edu+unsubscr...@googlegroups.com.
To post to this group, send email to sage-edu@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to