Question: Matlab code please use IF structure En tiro parablico, la distancia y altura mximas que alcanza el objeto, estn dadas por las frmulas 2 2

Matlab code please
Matlab code please use IF structure En tiro parablico, la distancia y
altura mximas que alcanza el objeto, estn dadas por las frmulas 2
use IF structure

En tiro parablico, la distancia y altura mximas que alcanza el objeto, estn dadas por las frmulas 2 2 2 v sine VO s="Osin 20 and g h%3D = 2g Pregunte al usuario: 1. Que sistema de unidades desea usar? (metrico o imperial) 2. Que desea calcular, distancia maxima o altura maxima? 3. Velocidad inicial? 4. Angulo de disparo en GRADOS Si la persona escogio el sistema metrico, la constante de gravedad es g = 9.81m/s2 Si la persona escogio el sistema imperial, la constante de gravedad es g = 32ft/s2. Si la persona escogio que quiere saber la distancia maxima, use la formua de "s" mostrada arriba Si la persona escogio que quiere saber la altura maxima, use la formula de "h" mostrada arriba In parabolic shooting, the maximum distance and height reached by the object are given by the formulas: : S=v^20/g sin20 and h=v^20 sin^20/29 Make a script that asks the user for the system of units they want to use, and using the IF structure, apply the formulas with a constant of gravity in the correct units: G = 9.81m / s2, or, G = 32ft / s2. a The program must also ask if the angles are in degrees or radians, and must use the appropriate formulas as the case may be (using IF) The program should ask for the initial velocity and angle of fire, and calculate both the maximum distance and height

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!