Q:

Find the following sum by first creating vectors for the numerators and denominators:

0

Find the following sum by first creating vectors for the numerators and denominators: 

3/1 + 5/2 + 7/3 + 9/4

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

>> num = 3:2:9

num =

 3 5 7 9

>> denom = 1:4

denom =

 1 2 3 4

>> fracs = num ./ denom

fracs =

 3.0000 2.5000 2.3333 2.2500

>> sum(fracs)

ans =

 10.0833

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now