The Open Source Physics website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.
Hello! I want to know: 1. Is it possible to define in EJS relation between two variables as Lookup Table (as in Matlab)? 2. How to change a value of the constant when certain condition is met? For example:
IF time>5 THEN spring_constant=10 ELSE spring_constant=5