« first day (491 days earlier)      last day (923 days later) » 

5:28 AM
@JohnRennie sir there?
 
@satan29 Hi :-)
 
free right now?
 
Yes :-)
 
cool :-)
My club is participating in a contest called IRC where we have to build a mars rover
And there is one aspect which is a bit confusing
 
5:33 AM
sir go to page 9 of the rulebook
 
This page?
 
next page
 
3.2 SCAM
 
5:38 AM
sir read?
 
Yes
 
I have confusion in this point:
The teams should conduct these analyses on both soil and atmosphere: sub-surface temperature, humidity, pH and atmospheric pressure. The teams can do other analysis depending on their choice. Teams should conduct only those tests and analysis which provide conclusive results in the allotted mission time of 30 minutes.
the first para has this:
 The objective is to identify and characterise the sites for their capabilities to support microbial life and seek signs of extinct or extant life in those sites. The rover may use cameras or other passive instruments to investigate the designated area and collect samples using mechanical methods. The rover must have at least one life-detection capability instrument or assay of the team’s choice.
I cant quite think of ways to check capabilities for microbial life....
 
I would start by Googling for how the existing Mars missions have done this.
 
yes, I did that. NASA built their own devices (kind of)
SOLID and SHERLOC
but then these arent as easily available as say a temp/pH sensor , and are also quite bulky
 
If you're asking whether I can suggest an experiment to test for life I'm not sure I can help.
 
 
4 hours later…
9:29 AM
@JohnRennie sir there?
clear all;
clc;
t=[0:0.01:7]
for j=1:length(t)
    V(j)=10*(2- exp(-5*t(j))*sin(5*pi*t(j)))
end
matlab script
I wanted to initialise an array $V(t)= 10*(2-e^{-5t}sin(5\pi t)$
 
Can't you do this without a loop?
V=10*(2- exp(-5*t)*sin(5*pi*t))
Something like that?
 
element wise mult. you mean
 
Yes.
 
9:49 AM
sir another one
nvm
no wair
still error
just a minute sir
sir we are required to solve the eqn RC dv/dt + v = 10(2- e^(-5t)sin(5pit)) using matlab ode45
clear all;
clc;
tspan=[0 7]
v0=[2]
[t,v]=ode45(@of,tspan,v0)
plot(t,v)

function dydt=of(t,v);
dydt=5*((2- exp(-t).*(sin(5*pi*t)))-v)
end
this keeps giving me error
 
I wiped the test PC that had MatLab on to run ROS. If you give me an hour or so I can reinstall it and install MatLab.
 
10:18 AM
ok sir
 
@satan29 That went faster than I expected. I have MatLab 2021a up and running now.
 
wow
 
function dydt=of(t,v);
dydt=5*((2- exp(-t).*(sin(5*pi*t)))-v)
end
The arrays t and v have different sizes
 
sir just a second I messed up the DE too. this is the correct one:
 
Shouldn't v just be scalar rather than an array?
 
10:28 AM
clear all;
clc;
tspan=[0 7]
y0=[2]
[t,y]=ode45(@of,tspan,y0)
plot(t,y)

function dydt=of(t,y);
dydt=(10*(2- (exp(-t).*(sin(5*pi*t))))-y)/(0.2)
end
@JohnRennie v is the voltage for which we are solving the DE
 
Yes, but when you write y0 = [2] doesn't this create an array of length 1 containing the single element 2?
 
yes thats the initial condition, the format of ode45 requires that
 
Your script just ran fine here ...
 
what??
 
10:34 AM
can you crop this SS a bit so that just the code and the plot are visible?
 
thanks
sir try this next script
clear all;
clc;
tspan=[0,3000];
y0=[2,0];
[t,y]=ode45(@of,tspan,y0);
plot(t,y(:,1)); %array y contains y and dy/dt both
function Y= of(t,y)
Y1=y(2); %dy/dt
Y2=(1000*(1-y(1).^2).*y(2)) - y(1); %d^2y/dt^2= 1000(1-y^2)dy/dt-y
Y=[Y1;Y2];
end
 
:/ this gave problems at my end
 
What error did you get?
 
10:39 AM
sir run the script again with 15 instead of 45
 
Unrecognized function or variable 'ode15'.
 
oops, 15s, not 15
 
thanks
 
10:53 AM
sir can you open simulink also
it has been 40+ minutes and the simulink screen is still loading for me :(
 
How do I run Simulink? From inside MatLab?
 
yes..go to the home tab
 
OK, it's open.
 
new blank model
 
Done
 
10:57 AM
already!?!?!
i have only 2 chrome tabs open and nothing else...why is it taking so much time for me :/
 
I have a spare PC I can send you if you want. I have lots of these test PCs and can easily spare one.
 
finally it opened
8gb RAM + i5 10th gen seem like decent specs to me :/
 
Well this test PC has 16GB and perfmon is showing 8GB used already with nothing but MatLab and Simulink running. On an 8GB PC you'd be out of memory by now.
 
hm
 
11:27 AM
I need to go now. I'll be around later or tomorrow morning as usual.
 
yes sir, thanks a lot!
 
Bye :-)
 

« first day (491 days earlier)      last day (923 days later) »