Linked Questions

3
votes
1answer
214 views

I want to compute the derivative of Black and Scholes option

Good evening to everybody, my question is about computing the derivative of a Black and Scholes option and to draw it. My code is ...
1
vote
2answers
198 views

How to deal with the condition that a function own many options?

Assming that I have a function myFunc which has some options. ...
1
vote
1answer
144 views

Requesting explanation of FitModel code

I am struggling with understanding the code given in this original post I understand how the tests are conducted, both of them. However, I do not understand this part: ...
1
vote
1answer
297 views

VectorPlot3D of the Electric Field E as Determined from the Potential V

I am new to Mathematica and I am trying to create the electric field $F$ from the electric potential $V$ (using arbitrary distances) and then plot the subsequent vector graph to show that the electric ...
1
vote
1answer
465 views

NDSolve memory usage [closed]

I am trying to solve numerically a system of linear ODEs with some quickly varying driving functions. The basic command is: ...
1
vote
1answer
144 views

Scope of dummy variables used in defining a function

I define a function and then define another function, using the same name for the dummy variables as I used for the first function. Will Mathematica use the first definition in the second definition? ...
2
votes
1answer
143 views

Unprotect fails the first time, works on second pass [duplicate]

I am redefining some of the standard math functions. I know this is dangerous, so I am trying to be extra careful. (For instance, in the redefinitions, I make sure to only match a custom head) The ...
5
votes
2answers
117 views

Custom opaque operator with custom axioms?

Is there any way to define a custom opaque operator/function in Mathematica that satisfies custom axioms, so that the Mathematica engine can perform simplifications using those axioms? For example, ...
0
votes
1answer
170 views

Get imaginary part of symbolic expression [duplicate]

I define ψ1 = Sqrt[Subscript[ρ, 1][t]] E^(I Subscript[θ, 1][t]); ψ2 = Sqrt[Subscript[ρ, 2][t]] E^(I Subscript[θ, 2][t]); and ...
2
votes
1answer
243 views

Syntax f[x_][y_]

Need to understand the principle of the distinction between f[x_,y_] and f[x_][y_] It seems also that z[x_, y_][a_, b_, c_][α_, β_] := a (x + y)^b + c/(α-β) ...
0
votes
1answer
146 views

How to map a function over a dimension in a matrix? [closed]

I have a function g[x,r] yielding a 3x1 vector, where x is a ...
3
votes
0answers
230 views

Measuring Temp on a cubical using heat equation with Neumann and Dirichlet boundary conditions

I'm trying to solve 3D heat equation to understand how the temperature varies with time on cubical. i have mixed boundary conditions: Dirichlet on the bottom surface (constant Temp) Neumann on all the ...
0
votes
1answer
162 views

for loop and list

I'm new to Mathematica. I want to built a function like that; ...
2
votes
1answer
119 views

Sum of operations involving an arbitrary number of 2D vectors

I need to define an equation stating that the sum of n operations involving n 2D vectors and ...
1
vote
2answers
113 views

How to define a function whose argument is in the replace list?

As a simplified example: In[780]:= f[x_] := a /. {a -> x}; f[1] Out[781]= 1 This yields the correct result. But ...

15 30 50 per page