Question: help with coding by creating a function function [ a f] = accel_calc() Use the accel_calc() function to calculate the acceleration and force on an
![help with coding by creating a function function [ a f]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3af9578579_22866f3af94d3430.jpg)
help with coding by creating a function
function [ a f] = accel_calc()
Use the accel_calc() function to calculate the acceleration and force on an object with the following properties: v1 = 4 m/s 2 kg t1 = @s V2 = 700 cm/s t2 = 10 s Since accel_calc has two outputs, the following syntax must be used [a,F] = accel_calc(v1, v2,ti,t2,m) (Answers: a = 0.3 m/s2 F = 0.6 N) Reminder: MATLAB does not keep trackof units - you must do this on your own(i.e., convert units before inputting values to your function)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
