Solve for x with given equation

1 回表示 (過去 30 日間)
Muhammad Syauqi
Muhammad Syauqi 2024 年 4 月 14 日
編集済み: Sam Chak 2024 年 4 月 14 日
I have a problem trying to find the value in this long equation, whats the correct input?
I consider f'c = x so i use syms x
and below my simplified attempt but no result
syms x
3.818=x(1-sqrt(1-(2.809*10^-5*(42/sqrt(x))^2+7.9*10^-3*(42/sqrt(x))-0.0053*(42/sqrt(x))
Incorrect use of '=' operator. Assign a value to a variable using '=' and compare values for equality using '=='.

回答 (1 件)

Alan Stevens
Alan Stevens 2024 年 4 月 14 日
Look up the help on function fzero.
And don't forget that Matlab doesn't recognise implicit multiplication. x(...) should be x*(...)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

製品


リリース

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by