Sjoerd C. de Vries
Reputation
46,709
102/100 score
 Feb 3 comment Exponential fitting - isn't actually a BUG there? @simplex are you sure that you have converted all numbers to exact numbers? I find it surprising that there should be a difference between our computers in this regard as the arbitrary precision routines are supposedly machine independent. Feb 3 revised Different Results from Simplify, dependent on explicit vs computed rules added 72 characters in body Feb 3 reviewed Reviewed How to fit the data comes from the table into a function of x so that I can plot Two functions using TWO Y aix in one figure Feb 3 revised How to fit the data comes from the table into a function of x so that I can plot Two functions using TWO Y aix in one figure added 60 characters in body Feb 3 revised Entropy[…] doesn't calculate the entropy of a probability distribution? What does it do? added 2 characters in body Feb 2 comment How can we draw a stencil for discretization of PDEs? All you have to do is look-up the following functions in the documentation: Graphics, Line, Point, Text, Arrow and the work is almost done. Feb 2 revised Different Results from Simplify, dependent on explicit vs computed rules added 29 characters in body Feb 2 answered Different Results from Simplify, dependent on explicit vs computed rules Feb 2 answered Entropy[…] doesn't calculate the entropy of a probability distribution? What does it do? Feb 2 awarded Notable Question Feb 2 comment What are the time and space complexities of Classify/Predict? Yeah, I forgot about that. I actually tested it myself. But of course, what BenchmarkPlot does (timing executions with various amount of data) is not that hard to do yourself. Just a Table and AbsoluteTiming should do the trick. Feb 1 comment Different Results from Simplify, dependent on explicit vs computed rules I am sorry, but you have to specify eq1 and eq2 as well. Otherwise you're asking us why one expression replacement differs from another one with unknown replacements. Feb 1 comment Different Results from Simplify, dependent on explicit vs computed rules what are the definitions of eq3 and eq4? Feb 1 comment How to calculate the value of financial derivatives Frankly, this code looks like nonsense. You probably copied and pasted parts of it from someone else without understanding what's going on. You find currentPrice and historicalPrice of a stock but never use them. All of the FinancialDerivative calls are incorrect. The Greeks = line does not follow the FinancialDerivative syntax and besides, you already have the greeks from the previous two lines. Given all this, I vote to close this question until you have clarified your intentions and the code. Feb 1 comment How to calculate the value of financial derivatives Also, you cannot put the name of a stock in FinancialDerivative. You're supposed to enter the option type there and provide all the parameters of the option and the underlying as function options to FinancialDerivative. Feb 1 comment How to calculate the value of financial derivatives I guess FinancialData[stock, "Price"] won't work because what you put in stock aren't stocks but option types. You should use FinancialData[] in the Select call in the beginning instead of FinancialDerivative[]. Feb 1 revised How to calculate the value of financial derivatives added 222 characters in body Feb 1 reviewed Close Conditional probability syntax Feb 1 reviewed Reviewed Discrete Fourier Transform: help on how to convert x axis in to the frequency when I have a set of data samples Feb 1 comment Discrete Fourier Transform: help on how to convert x axis in to the frequency when I have a set of data samples There were quite a few similar questions on this site. For instance 44237 and 33149. Also, have a look at the built-in Periodogram with option SampleRate