Community Profile

photo

Reza Ghasemi


Last seen: 6 månader ago
2 total contributions since 2020

Contributions in
View by

Question


how do i write this equation?
hello, how do i write this? my code is k = abs(x).*exp(-abs(x))

6 månader ago | 1 answer | 0

1

answer

Question


hello how do I write this function without getting an error saying "variable K has an incorrect value".
my code is: And so far only the (K) is wrong. N = 1000; a= 0; b= pi; h = (b-a)/N; x=a:h:b; f = x.^2.*sin(x); F = sum(f*h ...

6 månader ago | 2 answers | 0

2

answers