Linked Questions

0
votes
0answers
165 views

The /. syntax in numerical methods [duplicate]

I have an analytical approximation method for solving an ODE and want to compare this to an NDSolve solution, but the syntax is confusing me. To get the solution from NDSolve, I define the ODE as eqn ...
0
votes
1answer
119 views

StringJoin Dynamic problem [duplicate]

My goal is to import a XML file from the site fueleconomy.gov to get a list of cars dependent on the year given as the user input . Here is the code: ...
2
votes
1answer
69 views

Use pattern as Assumptions: How to properly extend working pattern? [duplicate]

I am struggling with an extension of using a working pattern used as Assumptions for Simplify and the like. Consider this: <...
1
vote
1answer
86 views

Part function: can we use pattern for part functions? [duplicate]

Can we use some patterns for the arguments of Part functions? ...
1
vote
1answer
84 views

Separation of output [duplicate]

I have solved two equations with two unknowns and confined my answer in just ten answers. The unknowns are n and k, and I want ...
1
vote
1answer
102 views

Creating sublists [duplicate]

I got this example in Mathematica references. v = ToExpression["a" <> ToString[#]] & /@ Range[1,44] Could someone explain to me the function of the ...
1
vote
1answer
61 views

Evaluation of m.v is blocked by applying MatrixForm. Why? [duplicate]

I'm trying to understand what is happening in the notebook session below. I have a 2x2 matrix m = {{-1,-1}, {-1,-1}}. And a vector ...
0
votes
1answer
59 views

Deciphering Coding Shortcuts [duplicate]

I'm having trouble deciphering why the following couple of expressions evaluate the way they do. #&@@ This returns the first value of a list. Why? Naïvely I ...
0
votes
1answer
123 views

Plot not displaying [duplicate]

I'm trying to perform a basic plot to show that two equations align, but I'm not getting any results. Plot[{[Pi]*Cos (3 x - [Pi]), [Pi] * Sin (3*[Pi] - 3 x)}, {x, -3 [Pi], 3 [Pi]}] To me this seems ...
0
votes
1answer
120 views

Stop function evaluating input at time of definition [duplicate]

I would like to create a function that acts on whether the input is even or odd, e.g.: In[644]:= f[a_] = If[EvenQ[a], 2 a, 3 a]; f[2] Out[645]= 6 I've ...
2
votes
1answer
90 views

Use Manipulate to visualize how roots of a system of equations changes with parameters - SOLVED [duplicate]

I am editing this question, I hope to be able to respect the rules. My goal is to find the roots of a system of 6 nonlinear equations (they are actually more, this is a simplified version). The roots ...
1
vote
1answer
89 views

NMaximize not substutiting parameters of objective function [duplicate]

NMaximize is not substituting parameters of its objective function. Is there a way to fix that? I have a three line program that exhibits the problem. ...
0
votes
1answer
84 views

Mathematica returns unsolved integral [duplicate]

I have the following integral: ...
2
votes
1answer
50 views

Maximization of a function [duplicate]

I have a function which includes finding roots of an equation. the coeffs of the equation are the inputs of the function and have to be numerical before calling. NMaximize passes symbolic input into ...
2
votes
2answers
63 views

Dynamic stops when shorten section [duplicate]

When I shorten the sections so I can get the input (slider bar) and out put on the page, Dynamic no longer works. Dynamic only ...

15 30 50 per page
1
3 4
5
6 7
60