Community Profile

photo

Akash Talapatra


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How could I get the value of Z from the cubic equation here in Jupyter Notebook?
import pandas as pd fluid_data='fluid.csv' df1=pd.read_csv(fluid_data) df1.head(6) binary_coef='binary.csv' df2=pd.read_csv...

2 years ago | 0 answers | 0

0

answers

Question


Why am I getting straight lines in the each plot instead of exponential curves?
clc clear load ore.txt; xx=size (ore,1) for k=1:xx G(k)=ore(k,1); R(k)=ore(k,2); end Gi=ore(1,1); Ri=ore(1,2); ...

2 years ago | 1 answer | 0

1

answer

Question


How could I plot moody diagram using this code?

2 years ago | 1 answer | 0

1

answer

Question


What is the problem with that coding? Why it is showing that 'x' is unrecognized? I am new to learn matlab coding so frequently got stuck with coding.
x=10; for i=1:10 fn(1)=exp(-x(1)+x(2))-x(1)^2; fn(2)=sin(x(1))+cos(x(2)); x=x-fn(1)/fn(2) end

2 years ago | 1 answer | 0

1

answer

Question


What is the problem here to run this code? Can I run this code without using fsolve?
function fn=ex_sys_n(x); fn(1)=exp(-x(1)+x(2))-x(1)^2; fn(2)=sin(x(1))+cos(x(2)); clc; clear all; fun=@(x) ex_sys_nl(x); x...

2 years ago | 1 answer | 0

1

answer

Question


I am having a problem to run this code. It may not seem stopped when run. What's the solution?
g = @(f) 1/sqrt(f) + 2 * log10((RR)/3.7 + 2.51/(Re * sqrt(f))); x_lower=0.008; x_upper=0.0001; x_mid=(x_lower* x_upper)/2; w...

2 years ago | 1 answer | 0

1

answer

Question


Why it is saying this? Index in position 2 is invalid. Array indices must be positive integers or logical values. Error in Homework (line 21) surf(x,y,F(i,j))
x=[-5:5] y=[-5:5] for i=1:(x-1); for j=1:(y-1); if (x(i)>=0)&(y(j)>=0) F(i,j)=2.*x(i)+y(j)^2 end if (x(i)>=0)&(y(...

2 years ago | 1 answer | 0

1

answer