Community Profile

photo

Rajan Bhandari


Active since 2018

Statistics

Content Feed

View by

Question


When I run the script file I get the values of my variables in the command window. But the problem is that it does not display all data as there may be about 5000 to 6000 values. What can I do to extract all the values of my variables?
The code goes this way: clear all; clc; dh=0.0005; k=1.4; M2=3.765; Rg=287.04; g=1.4; gplus=(g+1); gminus=(g-1); CP=g*...

3 years ago | 1 answer | 0

1

answer

Question


I got such an error while running this code.
%x'(t)=y(t)+0.2*x(t)*y(t)*(x(t)+y(t)*cot(t))/(y(t)^2-q) %y'(t)=-x(t)+(1-0.2*y(t)^2)*(x(t)+y(t)*cot(t))/(y(t)^2-1) functi...

3 years ago | 2 answers | 0

2

answers

Question


How to solve these equations using ode45 solver?
I couldnot use the boundary condition for t.

3 years ago | 0 answers | 0

0

answers