photo

Lavish Goel


Last seen: 4 years ago Active since 2022

Followers: 0   Following: 0

Statistics

MATLAB Answers

3 Questions
0 Answers

RANK
256,218
of 300,771

REPUTATION
0

CONTRIBUTIONS
3 Questions
0 Answers

ANSWER ACCEPTANCE
66.67%

VOTES RECEIVED
0

RANK
 of 21,084

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,969

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 2

View badges

Feeds

View by

Question


How to find out if a number is odd or even
n = input("ENTER A POSITIVE NUMBER "); if (modulo(n,2)==0) then disp("ENTER NUMBER IS EVEN"); else disp("ENTER NUM...

4 years ago | 1 answer | 0

1

answer

Question


There is something wrong in this script because when I run this program it shows file:line:1, coloum:1 invalid use of operator
// to plot a graph of exponential function x=[0:.1:2]; //x y=exp(x); p1=1+x; p2=1+x+x^2; p3=1+x+x^2+x^3; p4=1+x+x^2+x^3+x...

4 years ago | 1 answer | 0

1

answer

Question


When I run this program it shows erron in line 4.
n = input("ENTER A NUMBER "); flag = 0 ; for i=1:n if (modulo(n,i)==0) then flag = flag+1 ; end end if...

4 years ago | 1 answer | 0

1

answer