Q6 8 1 Write Code Implement Following Mathematical Expression Y X 1 100 Y Sin 10x Ln X Log Q37220627

% Q6(8%)
% 1. Write code to implement the following mathematical expressiony.
% x = 1:100
%   y = (sin(10x) + ln(x) + log(x))/e^(x/100)
% 2. Plot y.
% 3. Do not display x and y in the Command Window.
% Note 1: x is a set of angles in degrees in the above sin(x)term.
% Note 2: ln(x) refers to the natural logarithm.
% Note 4: e is the base of the natural logarithm
% Note 3: log(x) refers to the base 10 logarithm.
% Note 5: See the plot in the quiz3.pdf file for the requiredstyle.

clear, clc
x=1:100;
figure
% Write your answer here:


Answer


clear,clcx =1:100;y = (sin(10.*x) + log(x)

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.