217 reputation
28
bio website
location Finland
age
visits member for 1 year, 3 months
seen yesterday

Mechanical Engineer and Code/Modeling enthusiast. Also done lot of work on data migration.


Apr
13
comment Is it possible to get AltGr key to work in Math.exe?
I can not get the -rawterm flag to work. However disabling the dll does work. LOL, the IT department is going to have a fit :)
Apr
12
comment Is it possible to get AltGr key to work in Math.exe?
@SjoerdC.deVries Yes, I'm sure mathematica is doing this! Simply put if i try to type [ in the command window before starting math.exe, no problems once I stop math.exe no problems then either. Seems pretty conclusive to me. Sure i can make a script but the entire idea hinges on interactive access. Small things like this kills big sections of my entire teaching argument. Sure i could also use Linux, but again there goes the argument. Seems pretty evident that Mathematica is continue being a second class tool at our university.
Apr
8
comment List comprehensions pythonic way
also to add python zip ==Transpose[{lst1,lst2...}]
Apr
5
comment Distance between two line segments in 3-space
@tintin its the same calculation now just check that your on the segment or the endpoint is closest.
Apr
4
comment Boundary Value Problem- using NDSolve or another method
Is y1 a extra variable? Or did you define it?
Apr
4
comment How can I simulate this toggle mechanism?
@MichaelE2, No offense taken, I understood that it was a reference to my previous comment should have put a :) instead of +1. I was wondering how do you do a While loop that terminates once it does not get any warnings. NOTE: I have no problems iwth NDSolve. The NDSolve is not wrong, in fact when you start to interact with forces/bending links it becomes the ONLY way. But here the system is deterministic (a textbook problem) assuming its rigid. I do quite a lot of mechanical simulation with Adams. Your prejudice is common in my students, but simulation is used because its more accurate.
Apr
4
comment How can I simulate this toggle mechanism?
@MichaelE2 Yes, but there are quite a few known analytical solutions outlined in literature. This one is generally one of the best behaving ones for a fourbar mechanism, without making the solution unstable as mentioned by MichaelHale. Please note the piston solution is not entirely trivial trigonometric manipulation, but there exists also a pretty trivial version that uses again the law of cosines. (BTW is your intention to make a arms race?)
Apr
3
comment How can I simulate this toggle mechanism?
Off course one could solve this with the law of cosines without ndsolve and a DAE since there are no external forces involved. Nice beginning tough.
Jan
13
comment Grouping units more sanely
Yeah that's it. Still think that Mathematicas syntax for units is atrocious. My engineering students seem to come up with hives about this. But i think they can live with this. What does the &; do?
Jan
17
comment Changing parenthesis size for typography
Oh, yes. It might work better if you put it in grid with two elements center align and SpanFromAbove. Still needs tweak tough but is less buggy than what im finding the tweak to be. I must investigate further. Still not perfect.
Jan
15
comment Changing parenthesis size for typography
Yeah your right I can just make a number of different sizes and copy paste them.
Jan
15
comment Changing parenthesis size for typography
Yeah that works, but is messy as you say. Wonder if it would be possible to automate this tough. I'm Accepting your answer for now as its enough for my current situation.