Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello I need help editing this code to find out how long this curving soccer ball will be in the air until it hits ground

Hello I need help editing this code to find out how long this curving soccer ball will be in the air until it hits ground and find the force of the equation and the trajectory of the ball? The website that I used for this is https://www.wired.com/story/lets-use-physics-to-model-a-curving-soccer-ball/

GlowScript 2.7 VPython #this prevents accidental user scrolling scene.userzoom=False

#gravitational field vector g=vector(0,-9.8,0)

#these two lines make the ground ground=box(pos=vector(0,-1.5,0), size=vector(10,.2,20), color=color.green) line=box(pos=vector(0,-1.49,0), size=vector(.1,.2,20), color=color.white)

#the soccer ball ball=sphere(pos=vector(0,-1.4,9.5), radius=.105, color=color.white, make_trail=True) #density of soccer ball rhosoccer=74*1.02 #74 times the density of air #calculate the mass of the soccer ball ball.m=(rhosoccer*4*pi*ball.radius**3)/3

#launch speed in m/s - YOU CAN CHANGE THIS v0=15 #launch angle - YOU CAN CHANGE THIS

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

Are any corporations exempt from the AMT? Briefly explain.

Answered: 1 week ago

Question

If ( A^2 - A + I = 0 ), then inverse of matrix ( A ) is?

Answered: 1 week ago

Question

What is computer neworking ?

Answered: 1 week ago