Answer:
Go to explaination for the step by step answer.
Explanation:
a)Code
function[y]=operation(x) % this function takes x as input and returns y as output
y=(-0.2*x^3+7*x^2)*exp(-0.3*x)
end
% call this function in command widow by typing operation(value of x) like shown in figure in the first attachment.
b. write a code of above function in one script window and save the code with same name as name of function that is name of script should be saved as operation.Now copy paste the below code in new script window and run the code
clc
clear all
x=-2:.1:6
n=length(x)
for i=1:1:n
a=x(i)
y(i)=operation(a)
end
plot(y,x)
xlabel('X')
ylabel('Y')
Please kindly check attachment for pictorial answers that supports the code.
Answer:
Green computing is also known as green information technology (green IT)
I'm unsure in What it is you're asking.
While their rational of a drug user's mind???
this alone makes no direct sense.
also I'm unsure what Computers and Technology have to do with drug user's or their brains.
I can leave you with this a drug addict is and addict hence the name it's an addiction so there is no rationality or distinctiveness in knowing not to use again until one truly wants to get help and change for the better of self.
hope this helps
Answer: Exception
Explanation: A throw statement is a statement that whenever it gets executed ,it stops the flow of the execution immediately. The throw statement has a throw keyword for stopping of the execution which is denoted as the exception. A checked or unchecked exception can only be thrown. The compiler of a program has the function of giving warning if there are chances of exception.