photo

Samuel Walker


Last seen: 3 years 前 自 2021 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 1

查看徽章

Feeds

排序方式:

提问


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...

3 years 前 | 0 个回答 | 0

0

个回答

提问


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...

3 years 前 | 1 个回答 | 0

1

个回答

提问


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; ...

3 years 前 | 0 个回答 | 0

0

个回答

提问


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...

3 years 前 | 3 个回答 | 0

3

个回答