Search found 686 matches

by Henko
Thu Oct 08, 2026 10:47 am
Forum: BASIC programs
Topic: Two springs & weights "piggy backed"
Replies: 11
Views: 973
Flag: Netherlands

Re: Two springs & weights "piggy backed"

Hi, Yes, the “air friction” is just there to get a stable proces (wich remains within limits). It turns out, that there is a precise value of the “Cd” coefficient for each combination of body masses and spring constants. I deliberately used V in stead of V^2, because the friction must always be coun...
by Henko
Mon Oct 05, 2026 4:47 pm
Forum: BASIC programs
Topic: Two springs & weights "piggy backed"
Replies: 11
Views: 973
Flag: Netherlands

Re: Two springs & weights "piggy backed"

Hi,
You don’t need the “copy all” feature. You may select the whole code in the code window “by hand”, and use copy/paste.
by Henko
Mon Oct 05, 2026 8:12 am
Forum: BASIC programs
Topic: Two springs & weights "piggy backed"
Replies: 11
Views: 973
Flag: Netherlands

Re: Two springs & weights "piggy backed"

To study the (in)stability of the discrete simulation, i made a “as simple as possible” model. Indeed, the method proves to be unstable for this physical casus. The instability decreases as the duration of the time slice (dt) gets smaller, and becomes stable in the end as dt approaches zero. To comp...
by Henko
Sun Oct 04, 2026 9:05 pm
Forum: BASIC programs
Topic: Mass on Spring Resonance
Replies: 14
Views: 43836
Flag: Netherlands

Re: Mass on Spring Resonance

by Henko
Sat Oct 03, 2026 9:07 pm
Forum: BASIC programs
Topic: Two springs & weights "piggy backed"
Replies: 11
Views: 973
Flag: Netherlands

Re: Two springs & weights "piggy backed"

Hi Davey, You did quite a job on the “two body/two spring” object. I had a look at your method, the math, and the code, and have some remarks/sugestions. If the kinematics are done correctly, the system should remain within its limits, also without the correction due to air drag. Most important is a...
by Henko
Sat Oct 03, 2026 5:08 pm
Forum: BASIC programs
Topic: Mass on Spring Resonance
Replies: 14
Views: 43836
Flag: Netherlands

Re: Mass on Spring Resonance

Henko wrote: ↑
Sat Oct 03, 2026 6:17 am
Where?
I can’t find it.
Ah, a separate post😊.
by Henko
Sat Oct 03, 2026 6:17 am
Forum: BASIC programs
Topic: Mass on Spring Resonance
Replies: 14
Views: 43836
Flag: Netherlands

Re: Mass on Spring Resonance

Where?
I can’t find it.
by Henko
Mon Sep 21, 2026 9:38 pm
Forum: BASIC programs
Topic: “Draw an arrow” utility
Replies: 0
Views: 2019
Flag: Netherlands

“Draw an arrow” utility

IMG_1456.jpeg graphics ! graphics clear .8,.8,.8 ! draw color 0,0,0 get screen size sw,sh ! xc=sw/2 ! yc=sh/2 option angle degrees draw size 2 ! R=300 ! da=15 for alfa=0 to 360-da step da R=50+.6*alfa xo=xc+8*cos(alfa) ! yo=yc-8*sin(alfa) xe=xc+R*cos(alfa) ! ye=yc-R*sin(alfa) draw_arrow(xo,yo,xe,ye...
by Henko
Sat Sep 19, 2026 11:22 am
Forum: BASIC programs
Topic: Simulation of the use of a home battery
Replies: 0
Views: 1988
Flag: Netherlands

Simulation of the use of a home battery

In the Netherlands, the vast majority of housholds have installed solar panels on the roof. Due to the fact that excessive electricity production of a household will stop generating benefits coming year, the installation of home batteries is now hot in the Netherlands. The question is then what batt...
by Henko
Wed Aug 26, 2026 6:23 am
Forum: BASIC programs
Topic: Mass on Spring Resonance
Replies: 14
Views: 43836
Flag: Netherlands

Re: Mass on Spring Resonance

Nice graphics! It would be really interesting to have a simulation of a system with two balls and two springs, the second spring “piggybacked* to the other. If the spring constants and the ball masses could be set by sliders, interesting ball movements could be investigated. The math of the two ball...