Community Profile

photo

Samuel Walker


Last seen: alrededor de 3 años hace Con actividad desde 2021

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


Need help writing a simple pseudo code for the following script
dt = 0.1; omega1 = 10; domega_dt = 1/1000; R = 0.11; S = pi*R^2; rho = 1.225; m = 0.43; t=0:dt:2; u=zeros(length(t)); v...

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


I can't figure out why n=length(sigma) has gone wrong
function [V1,V2]=q3_test1(K,CD0,S,sigma,W,T0) n = length(sigma); V1=zeros(1,n); V2=zeros(1,n); for i = 1:n T = T0*sigma...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


find the integer multiple of 3 whose square is closest to but lower than or equal to a number entered by the user. Replace lines 5-11, use a while loop but I'm not meant to use 'if' or 'floor'
clear value=input('Enter a number '); for i = 1:value if rem(i,3) == 0 && i*i <= value j=i; ...

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Finding the sum of the first n primes and to use a while function
clear % This scripts attempts to find the sum of the first n primes n=input('Enter a value for n'); i = 1; prime_count...

alrededor de 3 años hace | 3 respuestas | 0

3

respuestas