« first day (1865 days earlier)      last day (2625 days later) » 

MMM
4:43 AM
Hello Everyone,
b1 = 1; \[CapitalGamma]0 = 2; b2 = 1;

R1 = -Log[1 - ef]

sol = ParametricNDSolve[{N1'[t] == -R1*N1[t] +
b1*\[CapitalGamma]0*N2[t],
N2'[t] == +R1*N1[t] - \[CapitalGamma]0*N2[t],
N3'[t] == b2*\[CapitalGamma]0*N2[t] - \[CapitalGamma]0/2 N3[t],
N1[0] == .65, N2[0] == 0, N3[0] == 0}, {N1, N2, N3}, {t, 0,
300}, {ef}]

ListLinePlot[
Evaluate@Table[
NIntegrate[t*N2[ef][t] /. sol, {t, 0, 300}], {ef, 0.1, 1, 0.1}],
PlotRange -> All]
Why I am getting so many warnings?
 
@MMM Do you know what the logarithm of 0 is?
 
MMM
@halirutan oh i didn't realize that. Thx mate. BTW, is my approach to integrate outside parametricndsolvevalue ok?
 
@MMM You mean to integrate the solution?
I wouldn't know why not as long as your functions behave well.
 
MMM
@halirutan yes to integrate w.r.t t and endup with a function of the parameter ef.
 
@MMM Your solutions look well and I assume in most cases NIntegrate would scream at you with an error if something went wrong.
 
MMM
4:57 AM
@halirutan Once again thanks mate. You are always helpful. BTW, this is a proposed answer to a question.
 
@MMM No problem. Sometimes it just needs a second pair of eyes.
 
MMM
@halirutan Yes indeed!
 
 
4 hours later…
8:55 AM
What's mean of the 3?
What's meannig of the digtal in the "LocalVariables"?
@Kuba Help
 
@yode It means that only symbols from the 2nd to 3rd argument will be considered local (by syntax highlighter). E.g. Plot3D[{x, y, z}, {x, 1, 2}, {y, 1, 2}, {z, 1, 2}] won't highlight z.
 
 
5 hours later…
2:27 PM
I made the video game 20 questions program a bit more human.
It now can only ask two questions about release year instead of what it found to be the best strategy of doing a binary search on exact release date until less than 10 or so were remaining.
I also manually added some extra data about console categories, which is something the guys on the podcast often ask about.
That GIF goes with this week's Game Scoop podcast from IGN, where they did two rounds. The first was restricted to just RTS games, hence the extra code snippet at the bottom.
I presented it last night at a Miami game dev meetup event. I went last and it was well received. We did four games and 20+ people were shouting out the answers. People asked quite a few questions about Mathematica and how the code worked. Afterward several people talked to me about being a programmer and such. A high schooler and his dad, and two undergrads studying game dev.
 
 
3 hours later…
5:24 PM
It looks like there is a chance to open source the Workbench Eclipse plug-in: community.wolfram.com/groups/-/m/t/1019904
 

« first day (1865 days earlier)      last day (2625 days later) »