Question

Plot the values for the following N = 10, 10^2 , 10^3,...., 10^10 use log scale...

Plot the values for the following N = 10, 10^2 , 10^3,...., 10^10 use log scale for both axes.

N^1/3 , 10N+3, 3N+10logN, N log N , N-5, N^3, 1.0001^N

Not sure where to start

Homework Answers

Answer #1

MATLAB Code:

close all
clear
clc

N = 10.^(1:1:10);
subplot(241), loglog(N, N.^(1/3)), title('N^1 ^/ ^3')
subplot(242), loglog(N, 10*N+3), title('10N+3')
subplot(243), loglog(N, 3*N+10*log(N)), title('3N+10log(N)')
subplot(244), loglog(N, N.*log(N)), title('Nlog(N)')
subplot(245), loglog(N, N-5), title('N-5')
subplot(246), loglog(N, N.^3), title('N^3')
subplot(247), loglog(N, 1.0001.^N), title('1.0001^N')

Output:

Know the answer?
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
Similar Questions
1. What is a "log-log" plot? a. A plot on which all quantities are related by...
1. What is a "log-log" plot? a. A plot on which all quantities are related by straight lines. b. A plot of the log of the log of a quantity. c. A plot relating the log of one quantity to the log of another quantity. d. A type of plot that describes the power output of a star. 2. What is the significance of a straight line on a log-log plot? a. It means that the quantities represented must be...
Put the following complexity classes in ascending order. O(n log n) O(n) O(2^n) O(n^3)
Put the following complexity classes in ascending order. O(n log n) O(n) O(2^n) O(n^3)
Use logarithms to solve the following. (a) log (5x – 1) = log (x + 5)...
Use logarithms to solve the following. (a) log (5x – 1) = log (x + 5) (b) log x + log(x – 1)= log (5x) (c) e^(0.4t) = e^8 (d) 3^(5x + 1)= 3^(6 - 3x)
plot use mat lab -5<n<5 x1[n] =u[n-2]
plot use mat lab -5<n<5 x1[n] =u[n-2]
Find the sum of the following series:∞∑n=2 5^n/13^(n+3) Determine whether the following series are con-vergent or...
Find the sum of the following series:∞∑n=2 5^n/13^(n+3) Determine whether the following series are con-vergent or not. Show your work!∞∑n=2 5n^2+ 5n/7n^2+ 3n+ 6
Matlab Create plot of the following density functions using x values between -10 and 10 with...
Matlab Create plot of the following density functions using x values between -10 and 10 with an increment of 0.02 -Normal cumulative distribution function with mu=1, sigma=1, mu=0, sigma=2, mu=0,sigma=1/2
1.Determine the generation time by using the following formula : Generation time =∆ t log 2...
1.Determine the generation time by using the following formula : Generation time =∆ t log 2 Log n – log N Where: N = number of bacteria at a particular time point during log phase n = number of bacteria at a second time point during log phase ∆t = time (This question was not anwsered in my previos question that i posted , please help. ) (please check the details and information needed on this question in my prevoius...
(1 point) The three series ∑An, ∑Bn, and ∑Cn have terms An=1/n^8,Bn=1/n^5,Cn=1/n. Use the Limit Comparison...
(1 point) The three series ∑An, ∑Bn, and ∑Cn have terms An=1/n^8,Bn=1/n^5,Cn=1/n. Use the Limit Comparison Test to compare the following series to any of the above series. For each of the series below, you must enter two letters. The first is the letter (A,B, or C) of the series above that it can be legally compared to with the Limit Comparison Test. The second is C if the given series converges, or D if it diverges. So for instance,...
Xi 1 2 3 4 Yi 12 10 2 1 (a) Make a scatter plot of...
Xi 1 2 3 4 Yi 12 10 2 1 (a) Make a scatter plot of the four data points (b) Compute the least-squares linear regression (c) Plot the regression line over your scatter plot Show the values of b0 and b1
Familiarize yourself with the subplot and hold command. Using the subplot and plot commands, plot the...
Familiarize yourself with the subplot and hold command. Using the subplot and plot commands, plot the volume of a sphere as a function of it’s radius for values of radius from 1 to 10. On the same graph plot the surface area of a sphere as a function of the radius ( from radius = 1 to 10). Use different colors for the two plots ( help plot will give details on how to select colors). Use the following formulas:...