Skip to main content
Glama
chrishayuk

Physics MCP Server

by chrishayuk

calculate_buoyancy

Calculate buoyant force on objects in fluids using Archimedes' principle. Determine if objects float or sink by comparing buoyancy to weight.

Instructions

Calculate buoyancy force using Archimedes' principle.

The buoyant force equals the weight of displaced fluid: F_b = ρ_fluid * V_submerged * g Args: volume: Object volume in m³ fluid_density: Fluid density in kg/m³ (water=1000, air=1.225) gravity: Gravitational acceleration in m/s² (default 9.81) submerged_fraction: Fraction submerged 0.0-1.0 (default 1.0 = fully submerged) Returns: Buoyant force (upward) and displaced mass Example - Checking if a 1kg ball will float: # 10cm diameter sphere: V = (4/3)πr³ = 0.000524 m³ result = await calculate_buoyancy( volume=0.000524, fluid_density=1000 # water ) # buoyant_force = 5.14 N # If weight (mg) < buoyant force, it floats # 1kg * 9.81 = 9.81 N > 5.14 N, so it sinks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
volumeYes
fluid_densityYes
gravityNo
submerged_fractionNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrishayuk/chuk-mcp-physics'

If you have feedback or need assistance with the MCP directory API, please join our Discord server