MATLAB: Hwo can i fix the errors below

calculushomeworkintegration

1.JPG
2.JPG

Best Answer

Hey Abdulrahman,
Based on what I can understand I think there is a logical error in the 15th line of your code. F_of_u is a function of x and not u_of_x. Therefore there is nothing the subs command can replace. Also if needed you can refer to the documentation for the subs() function.
Related Question