I need help on the last problem! I provided all the information though, in case it was needed.
For all of the graphs below use a vector x ranging from 0 to 10 in steps of 0.1. Create two additional vectors using the following formulas: yp=x.^2.5 and ym=x.^(-2.5);
[7;5] Plot yp and ym on a single plot controlling the line color and style (your choice). Put a symbol and text string at the point where the two lines cross (Create a variable holding the x and y values where the lines cross. Explain how you found this answer). Add appropriate labels and a title.
[2;3] Create a new plot of yp and ym using a log scale on the y axis. Put a symbol and text string at the location where the two lines cross. Add appropriate labels and a title.
[1;2] Create the formula for the derivative of yp (apply the rules of calculus to the formula for yp). Plot yp versus x. Add a straight line at 3 points (at x = 3, 5, 8) with the slope of the line (determined from the derivative) showing that the derivative is the slope of a tangent line at the indicated points.
`Hey,
Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.
1)
clc%clears screen
clear all%clears history
close all%closes all files
x=0:0.1:10;
yp=x.^2.5;
ym=x.^(-2.5);
f=@(x) x^2.5-x^(-2.5);
disp('Point of intersection is');
xx=fzero(f,5)
yy=xx^(-2.5)
plot(x,yp,x,ym);
legend('x^{2.5}','x^{-2.5}');
text(xx,yy,['(' num2str(xx) ', ' num2str(yy) ')']);
title('Plot 1');
Note: Brother According to Chegg's policy we are only allowed to answer first part if there are many. So, I request you to post other part as separate posts.
Kindly revert for any queries
Thanks.
I need help on the last problem! I provided all the information though, in case it...
Please help me with this MATLAB programming problem! Im coding
iin MATLAB2018 if that makes any difference!
The first picture is the question i need to answer.
The picture below is used as reference to answer the
question.
The last picture (below) is the into to the problem, and is
used as reference.
1. Use Matlab to create the following single plot with three subplots. All titles, gridlines, and axis labels should be as shown. Arc System Response 15 E...
I need help understanding this programming assignment. I do not
understand it at all. Someone provided me with the code but when I
run the code on eclipse it gives an error. Please explain this
assignment to me please.
Here is the code:
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class TextEditor {
public static List<String> lines = new
ArrayList<String>();
public static void main(String[] args) throws IOException
{
Scanner s = new...
All i need is graphs thank you!
Problem 9.22 Consider the frame shown in (Figure 1). Assume A and B are pins and the joint at C is fixed connected. Er is constant. Draw the moment diagram for member AC. Follow the sign convention for the internal loadings in the beam shown in the figure below. Click on "add vertical line off" to add discontinuity lines. Then click on "add segment" button to add functions between the lines. Note 1...
*JUST NEED 3 and 4 ANSWERED THANKS*
1. Explore the data: create a scatterplot
. 1a. Type the data into a blank SPSS spreadsheet. Name
variables as Distance and Snowfall respectively. Go to
Graphs-Legacy Dialogs-Scatter/Dot-Simple Scatter-Define. In the
window that follows, select Distance into X axis and Snowfall into
Y axis. Click on OK.
1b.Double click on the scatter plot to activate it. Double click
on the horizontal axis and select the Scale tab. At Auto, uncheck
all boxes. At...
Just need question 2a-e answered. Thanks!
1. Explore the data: create a scatterplot. 1a. Type the data
into a blank SPSS spreadsheet. Name variables as Distance and
Snowfall respectively. Go to Graphs-Legacy
Dialogs-Scatter/Dot-Simple Scatter-Define. In the window that
follows, select Distance into X axis and Snowfall into Y axis.
Click on OK. 1b.Double click on the scatter plot to activate it.
Double click on the horizontal axis and select the Scale tab. At
Auto, uncheck all boxes. At Custom, set...
A group of physics students collected data from a test of the projectile motion problem that was analyzed in a previous lab exercise (L5). In their test, the students varied the angle and initial velocity Vo at which the projectile was launched, and then measured the resulting time of flight (tright). Note that tright was the dependent variable, while and Vo were independent variables. The results are listed below. (degrees) Time of Flight (s) Initial Velocity V. (m/s) 15 20...
Need help with this Matlab program %% Exercise 1 % NOTE: Please suppress output--i.e., use a semicolon ';' at the end of any % commands for which the output is not necessary to answer the question. % Delete these notes before turning in. % Define input variable theta as discretized row vector (i.e., array). theta = ??; % Define radius. r = ??; % Define x and y in terms of theta and r. x = ??; y = ??;...
I need help with parts A B D E and F. Please show hand work
for solving A and B while D and E should be matlab codes. How do i
pick the right graph for part F?
5 2 4 6 Linear spline: s fi+ (x-x) 2) Given the points 40 78 125 256 348 425 X1-x a) Write the correct linear spline equation to interpolate for x 4.72, simplifying where appropriate to get to the slope-intercept form. (4...
could you please help me with this problem, also I
need a little text so I can understand how you solved the
problem?
import java.io.File; import java.util.Scanner; /** *
This program lists the files in a directory specified by * the
user. The user is asked to type in a directory name. * If the name
entered by the user is not a directory, a * message is printed and
the program ends. */ public class DirectoryList { public static...
I need help with the last part of this problem - (d) Would it be reasonable to use the least-squares regression line to predict the miles per gallon of a hybrid gas and electric car? Why or why not? - Thank you so much! An engineer wants to determine how the weight of a gas-powered car, x, affects gas mileage, y. The accompanying data represent the weights of various domestic cars and their miles per gallon in the city for...