You are on page 1of 1

Write a code in Matlab OR in python without using any built-in

function to
a) calculate the following integration:
b


a
f ( x) * eiwx dx

Where f ( x)  cos(x)  6 * i * sin( 2 * x) & a & b are obtained by the user


b) show the results in both Cartesian and polar forms
c) Compare you results with respect to the analytical form.
d) apply the same code to functions different from the above f (x) to
contain two different combinations of the following functions :
n
{ a) cos(x) b)sin(x) c)tan(x) d)exp(x) e)log(x) f) x , or any derived
form such as cos 1
(x) }
The due date is after two weeks from the beginning of the term to the
assistants in the sections.
‫السلام عليكم ورحمه هللا وبركاته‬
.)2024/3/21-17( ‫ فى سكاشن الاسبوع السادس فقط ان شاء هللا‬Assignment ‫ سيتم تسليم الـ‬-
:‫ وفقاً للمعايير التاليه‬Assignment ‫ سيتم تقييم الـ‬-

built- ‫ بدون استخدام اى‬Assignment ‫ كما هو موضح فى ملف الـ‬complex function ‫عمل تكامل لـ‬ .1
.)‫ درجه‬5( ‫ خاصه بعمليه التكامل‬in functions
.)‫ درجه‬2( ً‫ او يدويا‬built-in functions ‫اثبات صحه عمليه التكامل باى وسيله سواء باستخدام الـ‬ .2
‫ الخاص بك لعمل تكامل لـ‬Code ‫ فى السكشن سيطلب منك تجربه الـ‬Assignment ‫اثناء تسليم الـ‬ .3
.)‫ درجه‬3( .‫ مختلفه‬complex exponential function
.‫ للتعويض فيها فقط‬exp ,cos ,sin ‫ الخاصه بالـ‬built-in function ‫مسموح باستخدام الـ‬ .4

‫برجاء الالتزام التام وبالتوفيق ان شاء هللا‬

You might also like