Community Profile

photo

Matt Stone


Last seen: 12 Tage ago
2 total contributions since 2021

Matt Stone's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


Multiple conditions in an IF statement and they are not logical scalar values
Here is the sample code that I have written and keep getting this error: n=input('Enter the values: '); xmax=input('Enter the ...

2 Monate ago | 1 answer | 0

1

answer

Question


Why is my code only outputting one value instead of a vector?
v_0=input('Enter the inital Velocity'); g=input('Enter Gravity Constant'); for t=0:0.05:(pi/2) r=(v_0^2/g)*sin(2*t)%#ok<N...

3 Monate ago | 1 answer | 0

1

answer