Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

If you could do each of these problems thank you so much! I am using MatLab and

ID: 3880419 • Letter: I

Question

If you could do each of these problems thank you so much! I am using MatLab and I am a beggining program and need help. Please explain your steps if capable, thank you!

Problem B) Through calculus, it is possible to show that For this problem, we want you to gather empirical evidence for that limit by evaluating the expression for progressively smaller values. Specifically, write a script named 1imits.m that creates a vector called limit by evaluating the expression for values of z in the series 1, . , . Display your results by executing the following commands: 2 4 format long; Problem C) For this problem, we consider the motion of a ball under the force of gravity (we will ignore other factors such as air resistance). Let g 9.8 is the acceleration due to gravity, measured in m/s2.If a ball is thrown vertically with an initial velocity of vo. measured in meters/second), it will remain in the air for , seconds. Its height at time t measured in meters will be 2 Write a script baseball.m that creates a vector named eime with 25 evenly spaced values from 0 to . Then compute another vector named he ight that tracks the corresponding height for each time, using the above formula. Test your program using an initial velocity of 43.81 meters/sccond (the equivalent of a 98 m.p.h. fastball). To produce a two-column display of your results, use the command displ [time', height'1 Lastly, use the max function to find the maximum value of your height vector, and store this in a variable called maxHeight Problem D) For any non-zero real number, we have the identity that1. However, computers do not perform arithmetic with arbitrary precision. Instead, they use a convention known as floating-point representation for storing and manipulating numbers with fixed precision. We can find evidence of this by trying to venty the above mathematical identity. If you perform the test 3 * (1 3) == 1 you will likely see that the equivalence is true with the logical true value displayed as I n matlab Yet if you perform the similar test 49 (1 / 49) 1, the condition is false (with the logical false value displayed as "O in matlab Write a script named floatingError.n that per orms the following experiment. Determine what percentage of the first 100 integers successfully satisfy the identity. when computed in MA'T .AB Count how many integcrs satisfy the identity in a variable called numcorrect, and store the percentage of correct integers in a variable called correctRate.

Explanation / Answer

ize or have sizes that are compatible (for example, a is an M-by-N matrix and m is a scalar or 1-by-N row vector). For more information, see Compatible Array Sizes for Basic Operations.

If a and m are duration arrays, then they must be the same size unless one is a scalar. If one input is a duration array, the other input can be a duration array or a numeric array. In this context, mod treats numeric values as a number of standard 24-hour days.

If one input has an integer data type, then the other input must be of the same integer data type or be a scalar double.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | duration | char

m — Divisor
scalar | vector | matrix | multidimensional array

Divisor, specified as a scalar, vector, matrix, or multidimensional array. m must be a real-valued array of any numerical type. Numeric inputs a and m must either be the same size or have sizes that are compatible (for example, a is an M-by-N matrix and m is a scalar or 1-by-N row vector). For more information, see Compatible Array Sizes for Basic Operations.

If a and m are duration arrays, then they must be the same size unless one is a scalar. If one input is a duration array, the other input can be a duration array or a numeric array. In this context, mod treats numeric values as a number of standard 24-hour days.

If one input has an integer data type, then the other input must be of the same integer data type or be a scalar double.

Data Types: