t=input('introduir la valeur de t'); t=-5:.1:50; if (0<=t<=10) v=(t^2)*11-5*t; elseif (10<t<=20) v=1100-5*t; elseif (20<t<=30) v=50*t+2(t-20)^2; elseif (t>30) v=1520*exp-0.2*(t-30); else v=0 end
Please don't attempt if you can not write a MATLAB PROGRAM. I don't need numerical physics solution, I need MATLAB code. Read the question carefully 2) Falling Drops Imagine a solid sphere of diameter, d, falling through the air. After its release, the sphere accelerates until it reaches its terminal velocity. The terminal velocity is obtained when the drag force due to air friction, Fa, balances the weight of the sphere, W. The weight of the sphere is simply its...
Matlab: Write a program that calculates and stores in a vector the results of the sum 9 + 99 + 999 + 9999 + .... for any number of components.
4. Write a MatLab program that calculates the following indefinite integrals. The program should use pretty() to display both the original integrand and the integrated result, and also us
5. Cut-off frequency of an arbitrary TE or TM mode [Marks 1] Write a function cutoffFreq) in MATLAB that calculates the cut-off frequency of an arbitrary TE or TM mode in a rectangular waveguide, with the following input arguments: the intrinsic phase velocity of the waveguide dielectric, c, waveguide transverse dimensions, a and b, and mode indices, m and n. 5. Cut-off frequency of an arbitrary TE or TM mode [Marks 1] Write a function cutoffFreq) in MATLAB that calculates...
read instructions carefully please matlab only Write a MATLAB function for a BMI calculator that receives the inputs for body weight (lbs)and height (ft) from the user's program, calculates the BMI using the equation below, displays the BMI category, and outputs the BMI value tothe user's program W (kg) h2 (m2) BMI Display Normal if 18.5 s BMI 25 Display Overweight if 25 s BMI <30 Display Obese if BMI 2 30 Else display underweight So you will create two...
i want the code and the answer to last image question#4 please By the way, we need to print values for velocity, acclaration, mass, all of the values This program will prompt the user for the following input The distance an object traveled from point 1 to point 2 (variable distance) The time required to travel distance (variable time) The object's initial velocity (variable initVelocity) . The mass of the object (variable mass) You will need to write a series...
MATLAN Quiz 2 Create a MATLAB function that calculates the average of values in a vector that also drops the slowest values. Call this function average_drop(). The function must have a single input (the vector) and a single output (the average without the lowest score). 1. 2. Create a MATLAB program that asks the user to input grades for a student and calculates the final grade and letter grade. The user must enter 5 quiz grades (worth 50% of the...
Submarine Buoyancy Program The goal is to use Matlab to design a submarine that can rise or sink as fast as possible. The submarine can be made of any metal The submarine can be any shape or size The metal walls of the submarine must be at least 1 cm thick. Include Drag Force when the submarine rises or sinks The important pieces of understanding are: Buoyancy Filling or removing water from the submarine Relating net force to movement Drag...
MATLAB Program Problem A projectile is shot at an angle of 50 degrees with respect to the horizontal at a velocity of 200 m/s. Earth's gravity is 9.81 m/s 2. Take the variable x as the range and y as the altitude. Create a MATLAB plot, which plots that trajectory. Now, assume the terrain slopes up by 1 m in y for every 10 m in x. On the same axis, plot the line of the terrain in a different...
can someone please help me out with this? i have to write this in vba excel. Question 2: (40 Pointsy) The total cnerey, E. ofa movins hint i comual to energy, E, of a moving object is equal to the sum of its kinetic and potential energieS: where m is the mass (in kg) v is the velocity (in m/s) h is the height of the object (in m) g is the acceleration due to gravity (9.81 m/s') 5 m/s...