New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.
Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 Free
99.99% Uptime for MySQL and PostgreSQL Databases
Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.
Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
The program simulates simple harmonic motion using a spring and block.
The program simulates simple harmonic motion using a spring-mass system. The mass of the block, the spring constant, and the position to which the spring is stretched can all be adjusted (decimal values can be used). When the simulation begins the block oscillates in accordance with these given values and with the given scale. The scale can be adjusted.
NOTE: For Windows 8 users, Windows SmartScreen may stop you from opening this program but I promise this is not a malicious file. When...