Question

Faculty of Engineering Question 1 Consider the integral 8 1-0.055x4 0.86x3 - 4.2x2 + 6.3x + 2)d:x 0 Evaluate the integral anaEvaluate in matlab please Part d

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Program code screenshot:

main.m

%% clear the screen clc; %% close all the previous task on command prompt close all; %% use for display the result in long %%

Sample output:

Command Window The evaluvate integration of the given function is: 20.992000

program code to copy:

%main.m

%% clear the screen

clc;

%% close all the previous task on command prompt

close all;

%% use for display the result in long

%% to get the result up to 4 decimal places

format long;

%% define the given integral equation

fun = @(x) -0.055*x.^4 + 0.86*x.^3 - 4.2 * x.^2 + 6.3*x + 2;

%% evaluate the integral by using inbuilt integral function

%% here integration range going from 0 to 8

q = integral(fun,0,8);

%% display the integration message

fprintf('The evaluate integration of the given function is: %f\n', +q)

Add a comment
Know the answer?
Add Answer to:
Evaluate in matlab please Part d Faculty of Engineering Question 1 Consider the integral 8 1-0.055x4...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT