Skip to content

Commit 2c28c4c

Browse files
committed
updated readme
1 parent f8a2eab commit 2c28c4c

1 file changed

Lines changed: 129 additions & 17 deletions

File tree

README.md

Lines changed: 129 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -488,31 +488,143 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
488488

489489
## 🎓 Example Conversations
490490

491-
### Simple Physics Question
491+
### Projectile Motion
492492
```
493-
User: How far does a baseball go if I throw it at 30 m/s at 40 degrees?
493+
User: A golf ball is hit at 70 m/s at 15 degrees. How far does it go and what's the flight time?
494494
495-
LLM: I'll calculate the projectile motion for you.
496-
[calls calculate_projectile_motion(30, 40)]
495+
LLM: [calls calculate_projectile_motion(70, 15)]
496+
497+
Range ≈ 249.7 m
498+
Time of flight ≈ 3.694 s
499+
Maximum height ≈ 16.73 m
500+
501+
Here are 50 trajectory points for visualization...
502+
```
503+
504+
```
505+
User: What angle gives maximum range for a cannonball fired at 100 m/s?
506+
507+
LLM: [calls calculate_projectile_motion multiple times with different angles]
508+
509+
The optimal angle is 45°, which gives:
510+
- Maximum range: 1019.4 m
511+
- Flight time: 14.4 s
512+
- Peak height: 254.8 m
513+
```
514+
515+
### Collision Detection
516+
```
517+
User: Two asteroids: one at (0,0,0) moving at 1000 m/s in x direction,
518+
another at (50000, 100, 0) moving at -800 m/s in x. Will they collide?
519+
520+
LLM: [calls check_collision with both objects]
521+
522+
Yes, they will collide!
523+
- Collision time: ~27.8 seconds
524+
- Impact location: (27,778, 100, 0)
525+
- Impact speed: 1,800 m/s
526+
- This would be a devastating impact given the closing speed.
527+
```
528+
529+
```
530+
User: Two cars 500m apart, one at 60 mph, other at 45 mph heading toward each other.
531+
When do they collide?
532+
533+
LLM: [calls check_collision]
534+
535+
Collision in 10.7 seconds at position 250m from car 1's starting point.
536+
Combined approach speed is 105 mph (46.9 m/s).
537+
```
538+
539+
### Force & Energy Calculations
540+
```
541+
User: What force is needed to accelerate a 1500 kg car at 3 m/s²?
542+
543+
LLM: [calls calculate_force(1500, 3)]
544+
545+
Force required: 4,500 N (Newtons)
546+
This is about 1,011 pounds of force.
547+
```
548+
549+
```
550+
User: What's the kinetic energy of a 2000 kg car at 30 m/s (about 67 mph)?
551+
552+
LLM: [calls calculate_kinetic_energy(2000, 30)]
553+
554+
Kinetic energy: 900,000 J (Joules)
555+
That's 900 kJ or 0.25 kWh of energy.
556+
For perspective, this is why car crashes at highway speeds are so dangerous.
557+
```
558+
559+
### Momentum Analysis
560+
```
561+
User: Calculate momentum of a 70 kg runner at 10 m/s
562+
563+
LLM: [calls calculate_momentum(70, 10)]
564+
565+
Momentum: 700 kg⋅m/s
566+
Direction: same as velocity vector
567+
```
568+
569+
### Complex Multi-Step Problems
570+
```
571+
User: I'm designing a water fountain. Water shoots up at 15 m/s.
572+
How high does it go and when does it come back down?
573+
574+
LLM: [calls calculate_projectile_motion(15, 90)]
575+
576+
The water will:
577+
- Rise to maximum height: 11.47 m
578+
- Take 1.53 seconds to reach peak
579+
- Return to ground level after 3.06 seconds total
580+
- Have the same 15 m/s speed when it lands (just downward)
581+
```
497582

498-
The baseball will travel approximately 88.6 meters and reach a
499-
maximum height of 28.4 meters. Flight time is 3.72 seconds.
500583
```
584+
User: A basketball player shoots from 2m high at 7 m/s toward a hoop
585+
3.05m high and 4.6m away. What angles work?
501586
502-
### Complex Simulation
587+
LLM: [calls calculate_projectile_motion with various angles]
588+
589+
Two possible angles work:
590+
1. Low arc: 38° (faster, flatter shot)
591+
2. High arc: 52° (slower, higher shot)
592+
593+
Most players use 50-55° for better chance of going in.
594+
```
595+
596+
### Rigid Body Simulations
503597
```
504-
User: Simulate a Newton's cradle with 5 balls
598+
User: Create a simulation of a ball dropping from 10 meters and bouncing
599+
600+
LLM: [calls create_simulation(gravity_y=-9.81)]
601+
[calls add_rigid_body for ground plane (static)]
602+
[calls add_rigid_body for ball (dynamic, sphere, position=(0,10,0))]
603+
[calls record_trajectory(steps=200)]
604+
605+
Simulation complete! The ball:
606+
- Hits ground at t=1.43s with velocity 14.0 m/s
607+
- Bounces to 7.5m (with restitution=0.8)
608+
- Makes 5 bounces before settling
609+
610+
Here's the full trajectory data for R3F visualization...
611+
```
612+
613+
```
614+
User: Simulate 5 boxes stacked, then another box hits them from the side
615+
616+
LLM: [calls create_simulation]
617+
[calls add_rigid_body for ground]
618+
[calls add_rigid_body 5 times for stacked boxes]
619+
[calls add_rigid_body for projectile box with velocity]
620+
[calls step_simulation(300)]
621+
[calls record_trajectory for each box]
505622
506-
LLM: I'll set up a physics simulation for that.
507-
[calls create_simulation]
508-
[calls add_rigid_body for frame (static)]
509-
[calls add_rigid_body 5 times for balls (dynamic spheres)]
510-
[sets ball 1 initial velocity]
511-
[calls record_trajectory for each ball]
623+
The collision causes a realistic toppling effect!
624+
Boxes 1-2 fall left, boxes 3-5 scatter right.
625+
Peak chaos at t=0.8s. All settled by t=3.2s.
512626
513-
Simulation complete! The energy transfers perfectly through the balls.
514-
Ball 1 stops, balls 2-4 barely move, ball 5 swings out with the same
515-
velocity as ball 1 had. Here's the trajectory data for visualization...
627+
Full trajectory data ready for 3D visualization...
516628
```
517629

518630
---

0 commit comments

Comments
 (0)