Question

4, Programming Write a program to calculate integration the points and write the results The function is ymexp(-0.6 t). *cos(

mathlab works

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Program Files MATLAB R2016a bin Command Window >>syms t; int (exp (-0.6 t).*cos (t+pi/5)) >> ans 5 sin (t + pi/5))) /34 -(5*efnt mmand Here by the Co av 2 Ajmbolic vari abla t which he is ereated with rreopect to inbuit functioa ent takas he he MATLA

Add a comment
Know the answer?
Add Answer to:
mathlab works 4, Programming Write a program to calculate integration the points and write the results...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • please code on MATHLAB and show graph thank you in advance! Generate the following function y1(t)=2*...

    please code on MATHLAB and show graph thank you in advance! Generate the following function y1(t)=2* sin (2*pi* 1 *t)+4*sin(2*pi*2*t)+3*sin(2*pi*4*t) y2(t)=2*cos(2*pi*1*t)+4*cos(2*pi*2*t)+3*cos(2*pi*4*t) First, required by sampling theorem, the step size of t (delta t) has to be smaller than a value. Figure out this value and set the delta t at least 3 times smaller than this value and calculated y1(t) and y2(t). Increase the step size (delta t) and recalculate y1(t) and y2(t). See the difference. Calculate Fourier Transform of...

  • C- PROGRAMMING PROJECT #4 Design and Write a C program to calculate an average of an...

    C- PROGRAMMING PROJECT #4 Design and Write a C program to calculate an average of an array of numbers and produce the following output: 1. Your first and last name 2. Course Number 3. C Project Number 4. All the numbers in the array 5. The sum of all the numbers in the array 6. The count of all the numbers in the array 7. The average of all the numbers in the array Double-space after lines 3, 4, 5,...

  • Modular program mathlab: Write a program in Matlab that would continuously ask the user for an...

    Modular program mathlab: Write a program in Matlab that would continuously ask the user for an input between 1 and 6, which would represent the result of rolling a die. The program would then generate a random integer between 1 and 6 and compare its value to the value entered by user. If the user’s die is larger, it should display, “You got it” If the user’s die is smaller, it should display, “Nice try” If the results are the...

  • Use a Mathlab program using the while/for command and run it for the following exercise. 20. A twin primes is a pair of prime numbers such that the difference between them is2 (for example, 17 an...

    Use a Mathlab program using the while/for command and run it for the following exercise. 20. A twin primes is a pair of prime numbers such that the difference between them is2 (for example, 17 and 19). Write a computer program that finds all the twin primes between 10 and 500. The program displays the results in a two- column matrix in which each row is a twin prime. Do not use MATLAB's built-in function is prime. Use a Mathlab...

  • 4. Comprehensive (20 points) Based on Goodrich Programming Projects 12.1. Write a program to solve the "Vegetarians...

    4. Comprehensive (20 points) Based on Goodrich Programming Projects 12.1. Write a program to solve the "Vegetarians and Meat Eaters" problem. Three vegetarians and three hungry meat-eaters need to cross a river. Unfortunately, the boat only holds two people. If the meat- eaters outnumber the vegetarians on either bank, the vegetarians will be eaten! Please note: nobody gets to stay on the boat. When there's three meat-eaters on one side, it doesn't matter if one just came over on the...

  • 4. Write a MatLab program that calculates the following indefinite integrals. The program should ...

    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

  • Use DevC++ to implement a program uses objected oriented programming to calculate the area of a...

    Use DevC++ to implement a program uses objected oriented programming to calculate the area of a rectangle. The program should create a Rectangle class that has the following attributes and member functions: Attributes: width and length Member functions: setWidth(), setLength(), getWidth() , getLength(), getArea() Where width and length are the respect width and length of a Rectangle class. The setWidth() and setLength() member function should set the length and width, the getWidth(), getLenght(), and getArea() member function should get the...

  • Write a C++ program using a while loop to calculate the value of pi/2 accurate to...

    Write a C++ program using a while loop to calculate the value of pi/2 accurate to 6 digits after the decimal point using the following series: DIsplay the following and turn in printouts of the program and the results: The number of terms needed to find pi/2 THe value of pi/2 using acos(-1.0)/2 using 10 digits after the deciaml point The value of pi/2 found with the series using 10 digits after the decimal points (The first 6 digits after...

  • write a c programming Write a program that will calculate the perimeter, area and volume of...

    write a c programming Write a program that will calculate the perimeter, area and volume of a is is entered by the user. Your program will display the radius, perimeter, area and volume to the monitor and will also save them to a file called "circlePAV.txt". Your program should prompt the user for the radius until the user enters -1. Use the following structure. typedef struct ( float radius; float area, float perimeter; float volume; ylinder Figure>

  • please show MATLAB code with results please MATLAB Provide printouts of the program and results where...

    please show MATLAB code with results please MATLAB Provide printouts of the program and results where you calculated the Fourier transform of the following: Each student will substitute the last two numbers from their student ID number for the letter "a" ult-a) Wribc an ID nunber 6(t+a) rect(t/a) (a/n)(sinc(at/n) expljat) cos(at) sin(at)u(t) See the attached examples Fourier Page 1 of Fourier Transform syms t w f-cos (2 *pi*t) ; fourier (f,w) ADe 2 Fourier Page 1 of Foutier Transform syms...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT