24,253 reputation
13481
bio website
location
age
visits member for 2 years, 11 months
seen 15 hours ago

Mar
4
comment How to obtain differential equations of motion using Lagrangian dynamics?
Here is a demo demonstrations.wolfram.com/… that uses 3 springs and 2 masses. It has a link to detailed Lagrangian derivation of equations of motion which is similar to your problem (the link is below the demo, in the detailed section)
Mar
4
comment How to obtain differential equations of motion using Lagrangian dynamics?
You do not really count the unstretched length of the spring is L in these problems, since one always starts from the relaxed position. The initial stretched length of the spring is already account for. also the PE in spring is $\frac{1}{2} k x^2$ ? And do you really need a package to do this? You asked same question mathematica.stackexchange.com/questions/43256/… you just need to use the text book formula. One line per one equation. (if you use the textbook formula, I think you'll understand more than using blackbox function)
Mar
4
comment How to solve an inequality
I think you need to write R[k + 1] == R[k] - 2^N[k] Y in there and not R[k + 1] = R[k] - 2^N[k] Y i.e. use == and not = ?
Mar
3
answered Find an equations of motion using Euler Eqution
Mar
1
awarded  Popular Question
Feb
28
comment Why do InputFields not respond in Manipulate utilizing FindGeometricTransform?
do not put manipulate inside module. Put module inside Manipulate. Specially since you have the same symbol based to the outside module and used inside Manipulate. Manipulate should always (at least that is what I would do) be the outermost. This set up : Module[{a},Dynamic[a]] is what causing the problem I think, without even trying it (where a here is your imag). Manipulate is a DynamicModule.
Feb
28
revised Getting error FullSimplify::infd: … simplified to ComplexInfinity
clean code
Feb
28
revised Equation Simplification in Mathematica
clean code
Feb
27
answered Cannot Plot Function
Feb
27
comment Cannot Plot Function
fyi, I get errors !Mathematica graphics
Feb
25
comment Manipulates Behaving Badly--Why is it autoupdating?
Do not have to look at this now, but an advice: do not put Manipulate inside a Module. Put Module inside Manipulate.
Feb
25
revised Defining Piecewise Functions in Modules
added 94 characters in body
Feb
25
comment Image basics in mathematica
Mathematica does not "define" pixel values. Pixel values are defined by the image itself. Whoever creates an image, decides on the type of the image, and hence what format to store the image data in. This is no different than in Matlab. If you do ImageType[image] it will tell you the type of pixels of the image. byte, 16bit, Real, Bit, ..This is similar to Matlab's imfinfo() function.
Feb
25
comment How to calculate the residue of $1/f(z)$ at a numerical approximation to a root of $f(z)$?
what is LMFDB?....from help it says about Residue Laurent expansion of expr. What is the Laurent expansion of 1/DirichletL[19,10,s]? does it have a Laurent expansion?
Feb
24
revised How to dynamically update a variable by using mouse over?
deleted 2 characters in body
Feb
24
answered How to dynamically update a variable by using mouse over?
Feb
24
revised How can I selectively trigger computations in Manipulate?
added link
Feb
24
answered How can I selectively trigger computations in Manipulate?
Feb
23
comment How can I selectively trigger computations in Manipulate?
fyi, your code above does not run, it has errors in it, on V 9.01 , here is screen shot !Mathematica graphics may be if you fix these first it will help.
Feb
22
comment Prevent FullSimplify from converting trigonometric expressions to exponential
Simplify[TrigReduce[s]] gives (Cos[2 B g t] - I Sin[2 B g t]) Sin[u]^2 but this might not generalize without more testing...