photo

Jacob Savona


Attivo dal 2015

Followers: 0   Following: 0

Statistica

  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Domanda


How do I plot points with a certain direction and length?
Specifically I have a velocity a function that gives velocities in the x and y direction and I would like the direction of this ...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Why is the loop infinite?
Trying to do False Position method for the taylor series expansion of sin(x)= sigma(sum)]k=0=inf ((-1^k)/(2*p+1)!)*((x)^(2*k+1)...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Why does this not plot?
It runs through the loop and ends, but it doesn't plot. function [t]=HW7_JAS_1(P,k,C) t_lower=0;%lower guess t_upper=...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


I need help fixing my Bisection method code.
I'm trying to find the root of t , using the bisection method, where P=Ce^kt, with a percent error of .05%,or .0005. Here's the ...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


How do I plot the shortest route??
Here's my code that finds the shortest route and its distance: function [D_min,route_min,Dist] = TSP_JAS(coord) tic N...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


How do I plot a column vector like row number # vs row # value
say the column vector is N=round(3+rand(1)*6); H=round(3+rand(1)*6); D=zeros(N,1); D(:,1)=H;

oltre 9 anni fa | 0 risposte | 0

0

risposte

Risposto
I have a Traveling Salesman Problem, but I don't know how to do it...I'm just gonna post the question and see who wants to answer. I understand if you don't want to.
I almost have the first question. function [D_min,route_min,Dist] = TSP_JAS(coord) %% Question 1 [m n]=size(coord);...

oltre 9 anni fa | 0

Domanda


I have a Traveling Salesman Problem, but I don't know how to do it...I'm just gonna post the question and see who wants to answer. I understand if you don't want to.
Here is how it will work. I am providing a script called HW6 on Moodle. In it, you will see that I define a matrix called “coo...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Risposto
My code is just about there, but there is something not right...I can't figure it out. Help?!
I am pretty sure this is the correct code now. As for the sum(x>1000), the answer was 44. Is that the number of time steps it...

quasi 10 anni fa | 0

| accettato

Risposto
My code is just about there, but there is something not right...I can't figure it out. Help?!
Thank you for the advice, I'm am new to the forum...obviously. I attempted part a). The problem is with the acceleration. The i...

quasi 10 anni fa | 0

Domanda


My code is just about there, but there is something not right...I can't figure it out. Help?!
Here's my code: if true % code end m=1428.8; a_i=3; b=1.04; MaxSpeed= 65 * .4474; SpeedLimit= 50 * .4474; t=[...

quasi 10 anni fa | 4 risposte | 0

4

risposte

Domanda


Am I doing this right?
You are driving a car along a straight road for t = 50s. Assume that friction is negligible but drag is not, where F .5b(v_n-1)...

quasi 10 anni fa | 2 risposte | 0

2

risposte

Domanda


Please Help!!!I am stuck and I am not very good at Physics.
You are driving a car along a straight road for t = 50s. Assume that friction is negligible but drag is not, where F .5b(v_n-1)...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


I am completely lost on this.I am not very good at physics...Please help!!or get me started...
You are driving a car along a straight road for t = 50s. Assume that friction is negligible but drag is not, where F_drag=.5b(v...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Please help with for loop!!!
I am trying to create a draft sort of thing. Where there are two teams team A and team B. They take turns choosing from 10 playe...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Why won't it go through the ifelse statement when the if statement isn't satisfied?
A= zeros(3,10); A(1,:,:)=[1:10]; B=.5+rand(1,10)*.4; A(2,:,:)=B; C=round(1+rand(1,10)*7); A(3,:,:)= C; A ...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


I don't understand why the matrix dimensions are exceeded
A= zeros(3,10); A(1,:)=[1:10]; B=.5+rand(1,10)*.4; A(2,:,:)=B; C=round(1+rand(1,10)*7); A(3,:,:)= C; A ...

quasi 10 anni fa | 2 risposte | 0

2

risposte