subject

Myvar = 0;
for (i=1, 30, i++)
myvar = myvar+module(i,2)*i;
end
a) what does this algorithm do?
b) what is it's cost?
c) is there a function that exists that could express the same result as this algorithm?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:20
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
question
Computers and Technology, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
You know the right answer?
Myvar = 0;
for (i=1, 30, i++)
myvar = myvar+module(i,2)*i;
end
a) what doe...
Questions
question
Mathematics, 11.06.2021 19:00
question
Mathematics, 11.06.2021 19:00
Questions on the website: 13722359