Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

help needed urgently!!!!

$
0
0
Write a matlab script that uses the int command to solve the following integral
0∫1 1∫2 ((x*e^x)/y)dy dx
syms x y
firstint=int((x.^exp(x))./y,y,1,2)
answer=int(firstint,x,0,1)

firstint =

x^exp(x)*log(2)

Warning: Explicit integral could not be found.

answer =

int(x^exp(x)*log(2), x == 0..1)




but i know the answer is log(2)=0.693147
i don't know why it's acting different for this particular function. the commands work for all other double integrals i did.

Viewing all articles
Browse latest Browse all 2703

Trending Articles