subject
Mathematics, 20.02.2020 19:42 duke4527

The counter in a for or while loop can be given explicit increment: for i =m:k:n to advance the counter i by k each time. In this problem we will evaluate the product of the first 10 odd numbers 1 � 3 � 5 � . . . � 19 in two ways:

(a) Write a script file that evaluates the product of the first 10 odd numbers using a for loop.

(b) Evaluate the product of the first 10 odd numbers using a single MATLAB command. Use the MATLAB command prod.

Thanks a lot!!!

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 20:00
Aquadratic equation in standard from is written ax^2= bx+c, where a,b and c are real numbers and a is not zero?
Answers: 1
question
Mathematics, 21.06.2019 21:00
How do i put 3(x+7) in distributive property
Answers: 1
question
Mathematics, 21.06.2019 21:10
Indicate the formula for the following conditions: p^c(n,r)=
Answers: 3
question
Mathematics, 21.06.2019 21:30
Ijust need these 2 questions answered (the second pic is just confirmation i'm not confident in that answer)
Answers: 1
You know the right answer?
The counter in a for or while loop can be given explicit increment: for i =m:k:n to advance the coun...
Questions
question
Mathematics, 01.07.2019 03:30
Questions on the website: 13722367