Question

Can I please have help with the following in Scilab

lease write a Scilab program to calculate the derivatives of following function at given points: y = xe tanx, at x = 0,! 쯔즈

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

// save this function
function y=f(x)
y = x.*exp(tand(x));
endfunction

//then run this code

x = [0, %pi /6, %pi /4, %pi /3];
// Jacobian and hesian derivative
[J, H] = numderivative(f, x)

Add a comment
Know the answer?
Add Answer to:
Can I please have help with the following in Scilab lease write a Scilab program to calculate the derivatives of follow...
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
  • Can I please have help with the following in Scilab Please write a Scilab program to solve following differential equat...

    Can I please have help with the following in Scilab Please write a Scilab program to solve following differential equation: y' = (1-20x, 0 <= x <= 1 initial condition: y(0)- 2 Please write a Scilab program to solve following differential equation: y' = (1-20x, 0

  • I neerd help with this Scilab program yo calculate the derivatives of this function between 0...

    I neerd help with this Scilab program yo calculate the derivatives of this function between 0 and 2pi with step size 0,1; y=sin(e^1.3cos(x))+1 Have to use mprintf(), modulo() and loop to out put in this format xdata ydata xdata ydata __________________________________ 0.00000 0.00000   0,10000 0.41431 0.20000 0.83788 0.30000 1.26231 0.40000 1.65227 0.500000 1.95030 0.60000 2.09565 0.700000 2.04914 and so on, this is just how partially the program should look like

  • Can I please have help with the following Scilab 5. Use Scilab to create following rational expression matrix: 1+x 1 +2...

    Can I please have help with the following Scilab 5. Use Scilab to create following rational expression matrix: 1+x 1 +2x - x2 x 1+x1+x 1-X 1+x+3x3 5x +x3 217 1 2x 1- 1 +3x +x2 1-x +x2 5. Use Scilab to create following rational expression matrix: 1+x 1 +2x - x2 x 1+x1+x 1-X 1+x+3x3 5x +x3 217 1 2x 1- 1 +3x +x2 1-x +x2

  • 3.) Write a Scilab script that will calculate the following:  Suppose you know the lengths...

    3.) Write a Scilab script that will calculate the following:  Suppose you know the lengths and the angle (in degrees) between two adjacent sides of a triangle. You can find the area of the triangle using the following relationship: TriArea = 1⁄2 * a * b * sin(x)  Have the user input a vector in the form of [a, b, angle x] in units of feet.  Calculate the area of the triangle (Use the correct Scilab function...

  • Please help me program this in C! Description Given the following equations sets to calculate the...

    Please help me program this in C! Description Given the following equations sets to calculate the value of variables x, y and z, a2+b Write a program that takes values for integers a and b as input and displays the values of the unknown variable triple (x, y and z) generated by the formulas above. Hint: The input variables a and b should be integers. In case you need to find a function from the math.h library, visit cplusplus.com Sample...

  • can someone please do this for me Calculate the derivatives of the following functions: 1) y...

    can someone please do this for me Calculate the derivatives of the following functions: 1) y = 3x2 GC - 36236) dy 2) y = 5/x2 3) y = 3x2 + 4x + 7 Assignment 3 - Finding a Minimum and Maximum of a Function Find the minimum or maximum of the following functions: 1) y = 5x² - 4x-1 1-sace - 400 2) y = -3x2 + 2x + 8 Assignment 4 - Graphs of Linear and Quadratic Functions...

  • This is in Python Can I have some help? y =gt2 + yo with yo =...

    This is in Python Can I have some help? y =gt2 + yo with yo = 0 and g = 32 ft/s2, then we get y = 16t2 Write a program to perform the following tasks: • Create a "build Height” class • Create a function to calculate the height of the building Prompt the user to enter the measured time for the object to free fall from the top of the structure to the ground • Create three objects,...

  • 9. A control system is given by the following state-space representation -8 101 [2 dt 1-6 00 y [1...

    this problem needs to be done using SciLab 9. A control system is given by the following state-space representation -8 101 [2 dt 1-6 00 y [1 0 0]x Please do the following: a. Find its transfer function representation. b. Calculate its zeros and poles c. Write a Scilab program to draw the step response and impulse response graphs in the same window with the step response graph in the upper half the window and the impuise response graph in...

  • 10. Use the limit definition of the derivative to calculate the derivatives of the following functions....

    10. Use the limit definition of the derivative to calculate the derivatives of the following functions. a. f(x) = 2x2 – 3x + 4 b. g(x) = = x2 +1 1 x2 +1 c. h(x) = 3x - 2 a. 11. Find the derivative with respect to x. x² - 4x f(x)= b. y = sec v c. 5x2 – 2xy + 7y2 = 0 1+cos x 1-cosx cos(Inu) e. S(x) = du 1+1 + + f. y =sin(x+y) g....

  • I need help with the C++ for the following problem: Write a program that can store...

    I need help with the C++ for the following problem: Write a program that can store and output 5 integers, where the user can input its value into an array named arrayValue. The program should implement the following: 1. Calculate the sum and average of the array. 2. Output the content (value) that stored in the array of five elements. 3. Continue to ask the user to store for storing data into another array.

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