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
x=0:.1:2*%pi;
for i=1:length(x)
mprintf('%10.5f %10.5f ',x(i),-1.3*sin(x(i))*exp(1.3*cos(x(i)))*cos(exp(1.3*cos(x(i)))))
if modulo(i,2)==0
mprintf('\n')
end
end

I neerd help with this Scilab program yo calculate the derivatives of this function between 0...
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,! 쯔즈 '6'4 3
lease write a Scilab program to calculate the derivatives of following function at given points: y = xe tanx, at x = 0,! 쯔즈 '6'4 3
Consider the following C++ program. It prints a small table containing sin and cos values from 0 to 360 degrees. #include <iostream> #include <iomanip> #include <cmath> using namespace std; int main() { int step = 20; cout << setw(10) << "degrees" << setw(10) << "cos" << setw(10) << "sin" << endl; for (int degrees = 0; degrees <= 360; degrees += step) { cout << setw(10) << degrees << setw(10) << setprecision(5) << fixed << cos(degrees) << setw(10) << setprecision(5)...
Please help: For this project, you will create a shape drawing program using Turtle graphics. Your program will begin by asking the user how many points they would like to enter (# of vertices for the shape). Next, you will use a loop to input each X and Y coordinate and store these coordinates in lists. After inputting all of the coordinates, create a second loop that will draw and fill the shape using the coordinates that were entered. All...
Hello. I want to write a function in C program to track calories for specified fitness activities i.e. run, walk, bike etc. I am trying to make an array with the activities and return calories burned per minute for each workout. The function will keep running until user tells it to stop. "maybe 'while' loop (Y/N)" or something like that. The main function will call the activity function and a few printf/scanf. My code looks pretty bad so if you...
Hello. I want to write a function in C program to track calories for specified fitness activities i.e. run, walk, bike etc. I am trying to make an array with the activities and return calories burned per minute for each workout. The function will keep running until user tells it to stop. "maybe 'while' loop (Y/N)" or something like that. The main function will call the activity function and a few printf/scanf. My code looks pretty bad so if you...
Write a program (python) to calculate and plot the position and
the velocity of a linear piston connected to a crank through a
connecting rod as a function of crank angle. The crank shaft is
rotating at a constant angular velocity. The equation for the
piston position and velocity is respectively given by ? = ? ???? +
√? 2 − ? 2???2? ? = −? ? ???? − ? 2 ? ???? ???? √? 2 − ? 2???2?
where...
I need help with a C++ assignment: Write a program containing the following: 1. Variable Definitions only as (DieRoll, Guess, cnt1, cnt2) followed by this statement: srand((unsigned int)time (NULL)); which will give the random number generator a random starting point. Note: srand and rand require the TIME.H (or iomanip) cnt1 and cnt2 will be used in Chapter 5 drop box as counters for loops. Do NOT create additional variables. Points will be taken off for any additional variable creation. 2....
C++
Hey, I really need help with this lab. I don't understand the
function part at all. It'll be great way for me to understand. Than
you
Functions and loops: Write a program that will ask the user which type of triangle they would like to draw on the characters. The choices are screen with left-top-big left-bottom-big right-top-big right-bottom-big Get the user's choice, ask how big it should be, and then draw the shape. After each successful drawing, ask the...
MATLAB help please!!!!!
1. Use the forward Euler method Vi+,-Vi + (ti+1-tinti , yi) for i=0.1, 2, , taking yo-y(to) to be the initial condition, to approximate the solution at 2 of the IVP y'=y-t2 + 1, 0 2, y(0) = 0.5. t Use N 2k, k2,...,20 equispaced timesteps so to 0 and t-1 2) Make a convergence plot computing the error by comparing with the exact solution, y: t (t+1)2 exp(t)/2, and plotting the error as a function of...
Lanuage C++ (Beginner level) Please...I need help with this assignment If I still have question, can i contact you? -------------------------- Program 1 - WRITE ALL THE CODE in ONE FILE... MyArrayPtrArith1.cpp Step 1 - Define the class Write a class, myArrayClass, that creates an integer array. * Add an 'arraySize' variable, initialize to zero ( default constructor function ) * Create int * ptrArray ( default constructor set to NULL ) * Add a default constructor ( see above for...