Skip to main content
7 events
when toggle format what by license comment
Aug 16 at 6:29 comment added Alex Trounev @ahmed You should evaluate function sol[S_, M_] := Module[{\[Gamma] = .4}, s = NDSolve[{(1 + 1/\[Gamma]) F''''[\[Eta]] - S (\[Eta]*F[\[Eta]] + 3*F''[\[Eta]] + F'[\[Eta]]*F''[\[Eta]] - F[\[Eta]]*F'''[\[Eta]]) - M^2*F''[\[Eta]] == 0, F[0] == 0, F''[0] == 0, F[1] == 1, F''[1] == 0}, F, {\[Eta], 0, 1}]; s[[1]]] before using Plot. :)
Aug 15 at 8:13 comment added ahmed The following errors appear: ReplaceAll::reps: {sol[1,1]} is neither a list of replacement rules nor a valid dispatch table, and so cannot be used for replacing. ReplaceAll::reps: {sol[1,2]} is neither a list of replacement rules nor a valid dispatch table, and so cannot be used for replacing. ReplaceAll::reps: {sol[2,1]} is neither a list of replacement rules nor a valid dispatch table, and so cannot be used for replacing.
Aug 14 at 16:30 comment added Alex Trounev @ahmed Please, see Update 1.
Aug 14 at 16:29 history edited Alex Trounev CC BY-SA 4.0
added 823 characters in body
Aug 14 at 14:57 vote accept ahmed
Aug 14 at 14:57 comment added ahmed In the above code: How can I add a plot legend inside the figure? and how can I change some lines to dotted lines?
Aug 13 at 7:34 history answered Alex Trounev CC BY-SA 4.0