photo

Chesus


Last seen: 3 maanden ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Problem with cubic root
When I try to get the cubic root of -1 (which should be -1) I get this: (-1).^(1/3) How do I fix this?

ongeveer een jaar ago | 1 answer | 1

1

answer

Question


Use user input in a function
I want to use a user input variable in a function like: n=input('n') k=3 f1=func(k) function f1=func(x); f1=n*x; end But...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


User input fractions or operations
I want to ask for an input in which the user is able to introduce a fraction like: x=input('Hi: ') Hi: 1/3 x= 0,333...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


Logarithm with a variable base
I want to make a logarithm that has a variable as its base, like: k=2 logk(8) ans = 3 How can I do that?

ongeveer een jaar ago | 1 answer | 0

1

answer

Answered
Assign multiple results to the same variable
indexing the varoable is the solution if true % code k=0 while ... %the condition you decide k=k+1 %by experience ...

ongeveer een jaar ago | 0

| accepted

Question


Assign multiple results to the same variable
I'm doing a code that uses while, and inside that while is a variable whose value gets changed every instance, I want to store a...

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


How do I table a variable with multiple values?
I have a variable with multiple values x= -10:1:10 and I want to put it in a table, with each value being in one row of the ta...

ongeveer een jaar ago | 1 answer | 0

1

answer