photo

Becca


Last seen: 3 years ago Active since 2022

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
162,412
of 300,369

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 20,936

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,436

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 2

View badges

Feeds

View by

Question


How do I change the sign without altering the other and how can I do the factorial denominator? 1-1/3!+1/5!-1/7!+... and perform the sum?
disp('serie 4: 1-1/3!+1/5!-1/7!+...' ) n=input('Enter a number: '); sum=0; for j=1:2:n sum = sum + 1/j; end disp('the ...

3 years ago | 1 answer | 0

1

answer

Question


How can I change the numbers to negative without altering the positive ones and make a sum of that? This is the serie 1-2+3-5+8-13+21-34+...
n=8; F=[1 2]; suma=0; for i=3:n F(i)=F(i-1) + F(i-2); end disp(F) this is only for show the positive serie

3 years ago | 1 answer | 0

1

answer