photo

Mohammed Safwat


Con actividad desde 2017

Followers: 0   Following: 0

Estadística

Feeds

Ver por

Pregunta


Can someone help me. Appreantly, my code has a minor mistake..plz help
function main() clear clc %Part A% total = 0; for n = 1:99 total = total + n*(n+1); end fprintf('T...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Can someone help with a nested for loop question...
This is the problem: Using nested loops, produce a 3 by 3 (square) matrix A. The matrix should look like this: 0 1 ...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Respondida
New to matlab, need help with problem..
Total = 0; not understanding why its working for z = 1:300 Total = Total + z if mod(z,50)==0 di...

más de 6 años hace | 0

Pregunta


New to matlab, need help with problem..
I am suppose to create a loop to calculate the sum 1+2+3+...+300. Display the total after each 50 (i.e. 50, 100, 150 …) I know ...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Help me with this question please....
Write a loop to calculate the sum 1*2+2*3+3*4+ ... + 99*100. The answer is 333300 so far I have total = 0; for n = ...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


I'm currently stuck on this problem, can someone help me please
1. Create a script called Problem01.m that does the following: Make the following variables A. Write a loop to calculate the s...

más de 6 años hace | 0 respuestas | 0

0

respuestas