blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
51940b8cdbe9959a115bb3889c09b238145d2afa | 42da785fe7fc2d2f8e60f53e1b48b79cc2bad49e | /src/flight_control/PID/scilab/optigainPD.sce | 53276414d7fe4a803bc50afc1b1bdf2258100939 | [] | no_license | Jian117/Quadcopter-Michelle | 3f28d475c11c2454efad715c3e5a2579dc3b0ef1 | a4fb166e82c47ee4cae3d9cc56b289b28e4bd519 | refs/heads/master | 2021-01-10T16:36:27.475293 | 2015-10-28T23:57:35 | 2015-10-28T23:57:35 | 45,148,844 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,745 | sce | optigainPD.sce | //optigain.sce
//
// search for optimal PD gains
// EE447 13-Oct-2011
exec('stepperf.sce');
t = 0:dt:tmax;
start_time = getdate("s");
////////////////////////////////////////////////////////////
//
// function which evaluates controller performance, PID version
//
function [ts, po, ss, cu, y] =... |
3959508b2e7e69855b403c4dbc194ed3bd31aa40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH9/EX9.3/Ex9_3.sce | 7edaab739cc3bca3d0a85e910cd69bdef7878342 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,041 | sce | Ex9_3.sce | clear all; clc;
disp("The tangential velocity at the rotor mean radius is Um")
rm=1.5
N=3600
Um=rm*N*%pi/30
printf("Um=rm*N*pi/30= %0.1f",Um)
disp("From the velocity diagram in figure 8.11 for the impulse stages we have delta_h0")
disp("delta_h0=delta_Et=UmVu2-UmVu3/g_c=UmVu2/g_c=2((Um)^2)/gc")
Um=565.5
gc... |
3390654c5d66f82c060b54d9f45f36e39a585511 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH10/EX10.3/Ex10_3.sce | 46f9afa6759fea0a5d2473255a4024acf3ac2fff | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex10_3.sce |
i=20D-3 //current throught the coil
r=4 //resistance of coil
V=i*r
//when total current to be measured=2 A
Is=2-i //shunt current
R1=V/Is
mprintf("Resistance of shunt for 2A range=%f ohm\n",R1)
//when total current to be measured=4 A
Is=4-i //shunt current
R2=V/Is
mprintf("Resistance of shunt for 4A ran... |
786a27361fb880adcd3c6d6ecd4d1fd1a0cb96b4 | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/PCIeGen3/EqFlatnessStudy/Phase_Flatness.sce | 11e9e377eddea460467fc64300cac23cda463cce | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,092 | sce | Phase_Flatness.sce | //Simulation of Lossy transmission line based on algorithms outlined in
// Dr. H. Johnson's High Speed Signal Propagation , Ch 4.
stacksize(16*1024*1024);
clear; //Clear all user created variables
//Data Sequences Constants
K=2; //Oversampling rati... |
64b843ec841afc1c830840cde349384db141d99e | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH7/EX7.5/ex7_5.sce | 4e68ecf070df8f831b3f912d440360e5849f0ebf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | ex7_5.sce | //Example 7.5
//factorial calculation
function[prod] = Factorial(n) //factorial is a reserve word
prod=1;
if n >1 then
for i = 2 :1: n
prod=prod*i;
end
end
return prod;
endfunction
|
b63edc2cda187774ac6b9648a89f0f51ca827b36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH6/EX6.29/Example_6_29.sce | 7fa590f92b0f7238f0ba1e76f4e0986a0691e21c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Example_6_29.sce | // Example 6.29 A certain company estimates its average monthly sales in a particular year
clc;
clear;
SI=[78 75 100 126 138 121 101 104 99 103 80 75];
Total=sum(SI);
SE=SI./100;
ES=SE.*20;
disp(ES,"Estimated Sales in lakhs =",SE,"Seasonal Effect =",Total,"Sum of seasonal index =",SI,"Seasonal Index =");
|
3195d0e76a9850614cff7d2952cfb481da97182b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH2/EX2.27/Ex2_27.sce | 727450cfbdcb2e0f12d48f4a14860c11bf0c5b3d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Ex2_27.sce | clear
//
//variable declaration
PB=20.0 //vertical loadng at point B,KN
PC=25.0 //vertical loadng at point C,KN
thetaab=30.0*%pi/180.0
thetadc=60.0*%pi/180.0
//Writing equations of equilibrium for the system of forces at joints B and C
//T1*sin(thetaab)=T3*sin(thetadc)
T3=... |
404a15609061ba1c1a6f3cfea2aafc868fcafc29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.a.4/exaA_7_4.sce | 4b687627c2dc4af1089745ac3cb4c1f7d579113b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | exaA_7_4.sce | // Example A-7-4
// Bode plot for different gain K
clear; clc;
xdel(winsid()); //close all windows
s = %s /2/%pi ;
P = s*(s+1)*(s+5);
num = [1,10,20];
den = [P+1 , P+10, P+20];
Gtf = num ./ den;
G = syslin('c',Gtf);
bode([G(1,1); G(1,2); G(1,3)],0.1,100,['K = 1';'K = 10';'K = 20'] );
xtitle('','rad/s');
a = gcf();s... |
b10257e91982e4648ac534fbe90019ab2d51c9eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH2/EX2.1/2_1.sce | 4f916a1388e229f263ed26638e451ebcada10a84 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,015 | sce | 2_1.sce | clear
clc
//Example 2.1
disp('Example 2.1')
w1bar=500;
w2bar=200;
x1bar=0.4;
x2bar=0.75;
wbar=w1bar+w2bar;
t=0:0.1:25; //Time scale for plotting of graphs
//(a)
xbar=(w1bar*x1bar+w2bar*x2bar)/wbar;
printf('\n (a) The steady state concentration is %f \n',xbar)
//(b)
w1bar=400; //flow rate changes, rest remains same
... |
e9078f053c7fef8c7ee1d0ac1f58a001100c96bb | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnKo/enko.3.tst | 2b7ccc8679e73c6e2f8860a3c351f73611e10e32 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,436 | tst | enko.3.tst | a b e r c r o m b y 애 버 크 롬 비
a b r u z z i 아 브 루 치
a c h i m 아 심
a c h i m 아 킴
a d a m 아 담
a d a m o v 아 다 모 프
a i t k e n 에 이 킨
a i t k e n 에 이 트 켄
a j a c c i o 아 작 시 오
a k h m a t o v a 아 흐 마 토 바
a k r o n 애 크 런
a l d i n g t o n 올 딩 턴
a l e x a n d r a 알 렉 산 드 라
a l g i e r s 알 제
a l g r e n 올 그 런
a l i c e 엘 리 스
... |
a8f73827cd278c48048e44f4c353c933ec53d7ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH18/EX18.26/Ex18_26.sce | a41b39ba88ee2983200b837f213479bf8c1a3873 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Ex18_26.sce | clc;
VCC=20;
VEE=20;
RC=5*10**3;
RE=10*10**3;
RB=10*10**3;
B1=50;
B2=100;
VBE1=0.7;
VBE2=0.6;
IE1=(VEE-VBE1)/(RE+RB/B1);
disp('mA',IE1*10**3,"IE1=");
IC1=IE1;
VC1=VCC-IC1*RC;
disp('V',VC1,"VC1=");
VE=-VBE1;
VCE1=VC1-VE;
disp('V',VCE1,"VCE1=");
IE2=(VEE-VBE2)/(RE+RB/B2);
disp('mA',IE2*10**3,"IE2=");
IC2=IE2;
VC2=VCC-IC2... |
9b0b47d170c2c5d6c2f74e551389e44680fa7f1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH5/EX5.5/5_5.sce | 2ba08e477aff248a1f4c33dbc22ac852cf236804 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | 5_5.sce | dHfFe2O3=-196.5;//dHf value of Fe2O3 in kcal per mol//
dHfCO2=-94.05;//dHf value of CO2 in kcal per mol//
dHfCO=-26.41;//dHf value of CO in kcal per mol//
dH298=(3*dHfCO2-dHfFe2O3-3*dHfCO);//enthalphy change at 298K in Kcal//
printf('Enthalpy change for the reduction of Fe2O3 by Co at 298K=%fKcal',dH298);
|
a101a50cb267e5ac2e5f1e6e5fe325b24d24d05c | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/impinvar.sci | ff90f6a862a9802bea2fdd772f0b4dca5ad65244 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,227 | sci | impinvar.sci | function [b_out, a_out] = impinvar (b, a, fs, tol)
//This function converts analog filter with coefficients b and a to digital, conserving impulse response.
//Calling Sequence
//[b, a] = impinvar (b, a)
//[b, a] = impinvar (b, a, fs)
//[b, a] = impinvar (b, a, fs, tol)
//Parameters
//b: real or complex valued scalar o... |
f29e355490e73fd6cfb271d9d2851fb543d68add | ff0f2f0553307972877bbd4f9acb9751263b2920 | /Sem2_Mathe/All/3D_3_Sombrero.sce | 7b9cc2e042f68365a6578ca61f024653560a5ce6 | [] | no_license | 42ow0rm/UNI | 78b4bbc339cffb7124e5c8112827bec5a4799b7c | 56a5a1429a458544f5a33e3480f51c03849872f7 | refs/heads/master | 2020-03-31T22:34:19.230790 | 2019-01-03T20:00:27 | 2019-01-03T20:00:27 | 152,623,141 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 377 | sce | 3D_3_Sombrero.sce | //3. Schaubild Sombrero mit farbe
xy = linspace(-%pi, %pi, 40);
[X, Y] = meshgrid(xy)
F = sin(X.^2 + Y.^2)./(X.^2 + Y.^2);
mesh(X, Y, F)
//Achsenbeschriftung
a = gca(); //
a.font_size = 2; //Schriftgröße für x,y,z scala
//Achsenbeschriftung
xlabel('x-Achse', 'fontsize', 5)
ylabel('y-Achs... |
ab3be8f05be6342bae1a1921672798c476d23912 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH10/EX10.1/EX10_1.sce | 3770ea89538342498fd04c0e7a83064c2a90895f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | EX10_1.sce | //Finding of velocity of flow and discharge
//Given
c=50;
sb=1/3000;
R=10/9;
a=10;
//To Find
b=R*sb;
v=c*sqrt(b);
q=a*v;
disp("Velocity of flow ="+string(v)+" m/sec");
disp("Discharge ="+string(q)+" m^3/sec");
|
96bb7883ed4710de7d843b0c6e91b349eb3b5094 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/simp_mode.man.tst | 598c6b92d4794ed4f5b93356d859c82a58d78426 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 108 | tst | simp_mode.man.tst | clear;lines(0);
s=poly(0,'s');
mod=simp_mode()
simp_mode(%f);hns=s/s
simp_mode(%t);hns=s/s
simp_mode(mod);
|
520f6aeac1a6582349c5dfa05146c83c5b13bb36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH12/EX12.5/example12_5.sce | 48bdc4841fd38d1ada7a1119f674ad38c2e1ea74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,039 | sce | example12_5.sce | clear;
clc;
//Example12.6[Selective Absorber and Reflective Surfaces]
//Given:-
G_D=400,G_d=300;//Direct and diffuse components of solar radiation[W/m^2]
Ts=320,T_sky=260;//[K]
theta=20*%pi/180
//Solution:-
G_solar=(G_D*cos(theta))+G_d
//(a)
ab_a=0.9,e_a=0.9;//Grey absorber surface
q_net_rad_a=ab_a*G_solar... |
03c72f697cf067e21f9ec796025531634809cc92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH10/EX10.28/10_28.sce | 6c6ac371eed0954c18f33925c0aa208d0af1abb9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | 10_28.sce | clc;
clear;
tetha=55 //braggs angle in degree
KE=0.25*1.6*10^-19 //enrgy in J
m=1.675*10^-27//mass of neutron in kg
h=6.63*10^-34 //Plancks constant in J-s
n=1 //first reflection maximum
//calculation
d=((n*h)/(2*sind(tetha)*sqrt(2*m*KE)))
mprintf("The interplanar distance is = %1.1e m",d)
|
6736001af2171f49317eea6fb48d4291835f55dd | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/sim/plots_f16.sce | b906bf626ba616b7679b876eda45801a3f04dd46 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | plots_f16.sce | subplot(311)
plot(t, elev_step);
xgrid
xlabel('Time(s)');
ylabel('Elevator(deg)')
subplot(312)
plot(t, nzs_g);
xgrid
xlabel('Time(s)');
ylabel('Nz(g)');
subplot(313)
plot(t, y(12,:));
xgrid
xlabel('Time(s)');
ylabel('H(ft)');
|
3c6306651e4f34184d1be414d18144c9758c12c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH3/EX3.2/Ex3_2.sce | c1c78023e184208f362e0ce91acda84ae1a4a419 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,094 | sce | Ex3_2.sce | //Book - Power system: Analysisi & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J.Overbye
//Chapter-3 ;Example 3.2
//Scilab Version - 6.0.0; OS - Windows
clc;
clear;
Srated=20 //rated input power in kVA
E1rated=480 //Rated v... |
7efda5b8ae8800d39e52212529acf16148eb11f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH5/EX5.69/EX5_69.sce | 8bb4c9f8759a6cd6acc3ec41a9ea558745b7fc7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | EX5_69.sce | //EXAMPLE 5-69 PG NO-349
V=24; //VOLTAGE
R1=0.1;
R2=6;
R3=5;
I=V/[R1+(R3*R2)/(R3+R2)];
I1=I*(R3/(R2+R3));
I2=I*(R2/(R2+R3));
VTH=-(I1*2)-(-2*I2);
RTH=2.533;
IAB=VTH/(RTH+1);
disp('ii) CURRENT (I) is = '+string (I) +' A ');
disp('ii) CURRENT (I1) is = '+st... |
51f11365003b84971328258ad922140f9ec75117 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH2/EX2.3.5/ex_2_3_5.sce | 03afdea466fb3a19463274b6a015f36c25375618 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | ex_2_3_5.sce | errcatch(-1,"stop");mode(2);//Example 2.3.5: resolution
;
;
//given data :
V=200;// full scale reading in volts
N=100;// number of divisions
Scale_div=V/N;
R=(1/10)*Scale_div;
disp(R,"resolution,R(V) = ")
exit();
|
3030b29b995d86c5e22099d08cf77c7e394299d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1664/CH11/EX11.4/Ex11_4.sce | 9cd1c42cbf755ad5b90939f82750a28a3d4989ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | Ex11_4.sce |
//Example NO.11.4
//Page No.336
clc;clear;
E0 = (8.854*10^-12);
R = (0.158*10^-9);//Radius of neon -[m].
a = (4*%pi*E0*R^3);//Electronic polarizability.
printf("\nElectronic polarizability of neon is %3.3e F m^2",a);
|
aa3d0151e9f21feb9f10f1addae04a18df84520a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH13/EX13.2/Ex13_2.sce | e6f0d69d9a0e344e50f17e389196223ec2fa66f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,347 | sce | Ex13_2.sce | clc;clear;
//Example 13.2
//given data
NN2=2;
NCO2=6;
Tm=300;
Pm=15000;
//constants used
Ru=8.314;//in kJ/kmol - K
//calculations
//part - a
Nm=NN2+NCO2;
Vm=Nm*Ru*Tm/Pm;
disp(Vm,'the volume of the tank on the basis of the ideal-gas equation of state in m^3');
//part - b
//from Table A-1
//for ... |
85f7d906be2574c3e74b7436284aa0d5dec46555 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3878/CH21/EX21.7/Ex21_7.sce | bb63f86f40a41a93870748000679de6191505a3f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 450 | sce | Ex21_7.sce | clear
// Variable declaration
m_w=4// The mass of water in kg
m_a=1// The mass of air in kg
h_ab=45.79// Enthalpy of air before in kJ/kg
h_aa=26.7// Enthalpy of air after in kJ/kg
C_pw=4.187// The specific heat capacity of water in kJ/kg.K
// Calculation
Q_l=h_ab-h_aa// Heat lost per kilogram air in kJ
Q_g=Q_l/m_w// H... |
48efa41f81e4a9b784747e2f79a5076f44eea24a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH5/EX5.14/exa_5_14.sce | 81c98f0f4a7ce52f08f76ce017375d23707ca176 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | exa_5_14.sce | // Exa 5.14
clc;
clear;
close;
// Given data
totalPulse= 174;// unit less
t=100;//time period of total pulses in miu s
t=t*10^-6;// in sec
t1= t/totalPulse;// time period of one pulse in sec
f= 1/t1;// frequency in Hz
f=f*10^-6;// in MHz
disp(f,"Frequency in MHz");
resolution= totalPulse/t;// in sec
resolu... |
68e25dbcc0442a89e3ccfd76a48fce39fbc32af2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH2/EX2.11/example11_sce.sce | bacb323004f41c0a5037659df58791070a9a3207 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | example11_sce.sce | //chapter 2
//example 2.11
//page 51
printf("\n")
printf("given")
If=10*10^-3;Vf=.7;t=70*10^-9;
Cd=((t*If)/Vf)*10^9;
printf(" diffusion capacitance is %dnF\n",Cd) |
e976d28399fa2a4bb21ab98e4e755b218cd3f807 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/percent/%lsscr.sci | da02376fc7a3e707ce851187dd4107687872109a | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sci | %lsscr.sci | //<s>=%lsscr(s1,s2)
//<s>=%lsscr(s1,s2) calcule la concatenation d'un systeme lineaire decrit
//par sa representation d'etat s1 et d'une matrice de transfert s2.
// u=[u1;u2] y=y1+s2*u1
//Cette macro correspond a l'operation <s1,s2>
//!
// origine s. steer inria 1988
//
[s1,s2]=sysconv(s1,s2);s=[s1,s2];
//end
|
243515c63d0eb7fb1effaa787314ff9110b02b02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH4/EX4.7/example4_7.sce | 0c62b61c35704d4d35ba993c41e22cf10ed5f26c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | example4_7.sce | clear;
clc;
//Example4.7[Surface Temperature Rise of Heated Blocks]
//Given:-
flux=1250;//Constant solar heat flux[W/m^2]
T=20;//Temperature of black painted wood block[degree Celcius]
k_wood=1.26;//Thermal conductivity of wood at room temperature[W/m.K]
a_wood=1.1*(10^(-5));//Diffusivity of wood at room tempe... |
1aa44b5a43d152141f80a2bdc4a35459149bf0bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH14/EX14.5/Ex14_5.sce | 730b5ff9763b63772f63972cf8532171e35d23ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | sce | Ex14_5.sce | // scilab Code Exa 14.5 DGVs and upstream guide vanes
beta2=86; // rotor blade air angle at inlet in degree
beta3=10; // rotor blade air angle at exit in degree
dh=0.3; // hub diameter in m
dt=0.6; // tip diameter in m
N=960; // rotor Speed in RPM
phi=0.245; // flow coefficient
T1=316; // in Kelvin
p1=1.02; //... |
28c46bf49268eaa0c503800fc627f6ffb51d8f19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH4/EX4.7/Ex4_7.sce | 49e4fc374f09f6ba78b780a4b968d51d751d9d3a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | Ex4_7.sce | clc;
clear;
close;
//pagec no 103
//capacitors are used to remove higher frequencies
Rf=200*10^3;//In Ohm
Ri=15*10^3; //In Ohm
Av=-(Rf/Ri);
Av1=20*log10(-Av);
disp(Av,"Maximum gain is ");
disp(Av1,"Maximum gain in dB is ");
Av2=0;// divider action makes Ri infinite
disp(Av2,"Minimum gain in dB is ");
|
d4c0ba55c71b1aa270b789b3c2662bda0e2080f0 | 9529743628356087982492c0591fe61937eb8e55 | /src/main/resources/wallcologi.sci | 6141c5e421fb45e45acccbadbc45ed0a4529b73f | [
"MIT"
] | permissive | ltg-uic/wc-phen-java-logic | 0666b7731cf6c5968ce183b4c817126fec2caa8d | ae0be10983b941162e5a289e322709ae79cdb219 | refs/heads/master | 2016-09-05T11:38:33.656064 | 2012-04-21T18:03:24 | 2012-04-21T18:03:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,314 | sci | wallcologi.sci | clear
disp("Running population model for WallCology...");
// Define the model
function xdot=simpleModel(t,x,r1,r2,k1,k2,al11,al12,al21,al22,a11,a12,a21,a22,d1,d2,c1,c2,a11,a21,a12,a22)
xdot=[
x(1)*(r1*(1-al11*x(1)/k1-al12*x(2)/k1)-a11*x(3)-a12*x(4));
x(2)*(r2*(1-al21*x(1)/k2-al22*x(2)/k2)-a21*x(3)-a22*x(4)... |
ffd666cfdabc2967c5e4f9b072e5784908901b71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH9/EX9.1/9_1.sce | 3f7f3c85ef2d1c4581fce4bfcc5c280d2f532432 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 107 | sce | 9_1.sce | //Eg-9.1
//pg-386
clear
clc
//Theoretical Problem
disp("given example is Theoretical") |
68dc1251ea2df8463543f88f61fcec203ec00479 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.71/Ex71.sce | bc2c2569cad85c31ba16c9813a0002faaaff99a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 508 | sce | Ex71.sce | //Ex:71
clc;
clear;
close;
r=6378;//radius of earth in km
h=35786;// height in km
r_o=2000;// in km
x=37.4;// in degree
i_e=x/2;// in degree
y=asin(i_e/23.4);
y1=y*180/%pi;// in degree
y2=floor(y1);
t=(365*y2*%pi)/(2*%pi*180);// in days
A=acos(r/(r+h));
B=A*180/%pi;// in degree
y_mx=180-2*B;
C=(asin((y_... |
29a507352bf95ebe66b1b2ab8d51604de7e49819 | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH1/EX1.5/1_5.sce | 8df6bc304c62221ffe9f9c94ecbc4b29154fe67f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | 1_5.sce | clc;
clear;
vis=0.04;//lb*sec/ft^2
vel=2;//ft/sec
h=0.2;//inches
//given u=(3*vel/2)(1-(y/h)^2)
//shearing stress t=vis*(du/dy)
//(du/dy)=-(3*vel*y/h)
//along the bottom of the wall y=-h
//(du/dy)=(3*vel/h)
t=vis*(3*vel/(h/12));//lb/ft^2
disp("lb/ft^2",t,"shaering stress t on bottom wall=")
//along the mi... |
0cec10e17bcb0fd152dbb366d1287de1b970ddd3 | abd7728083df51a785c94e61999237380b32c4f8 | /examples/Presentation Packs/Cognitive Psychology Experiments III (Version 3)/Choice Reaction Time/Scenarios/Choice Reaction Time.sce | 56201ff22a7a1d0bd1c028be093940fa0c598a19 | [] | no_license | LCTO-TLCO/UAVpresentation | 93b0c0e0eb123b550218bbae4e0bb1db8c30cb5e | 83e0f22cfdc2b7172bf0b90a9a14ddf77e6ccf2a | refs/heads/master | 2023-07-25T14:03:39.874916 | 2021-09-07T07:19:38 | 2021-09-07T07:19:38 | 301,918,691 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,751 | sce | Choice Reaction Time.sce | # -------------------------- Header Parameters --------------------------
scenario = "Choice Reaction Time";
write_codes = EXPARAM( "Send ERP Codes" );
default_font_size = EXPARAM( "Default Font Size" );
default_background_color = EXPARAM( "Default Background Color" );
default_text_color = EXPARAM( "Default Font Col... |
67acaaf3830ef72e015e5504a9bb9f8674c082ff | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/XW75EDU/ATWM1_Working_Memory_MRI_XW75EDU/ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | 1b2a7cd548e8032a289566bcc541195afafc3cc7 | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 12,492 | sce | ATWM1_Working_Memory_MRI_Nonsalient_Cued_Run1.sce | # ATWM1 MRI Experiment
scenario = "ATWM1_Working_Memory_MRI_nonsalient_cued_run1";
scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
#scenario_type = trials;
scan_period = 2000; # TR
pulses_per_scan = 1;
pulse_code = 1;
#pulse_width=6;
default_monitor_sounds =... |
7d9ffd5d99dc493c978037e09b9b0a12a733c461 | 0b723790e0b9a96d140e3d5d5c309a627aa5eefb | /program3_PES2UG19CS301.sce | b5af62627976140f03919cc1c207911934d5b03b | [] | no_license | Priya2410/Scilab-Assignment | 89e7e3cd1a5e7ebcb9321aa037d5882131533e39 | 103a4441b637e37dc1309a62da3000155056e99f | refs/heads/main | 2023-04-16T19:55:26.248164 | 2021-04-29T16:38:59 | 2021-04-29T16:38:59 | 361,316,782 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | program3_PES2UG19CS301.sce | clc;clear;
A = [1 0 0;1 1 1;0 0 1];
n = length(A(1,:));
Aug = [A,eye(n,n)];
//Forward Elimination
for j=1:n-1
for i=j+1:n
Aug(i,j:2*n) = Aug(i,j:2*n)-Aug(i,j)/Aug(j,j)*Aug(j,j:2*n);
end
end
//Backward Elimination
for j = n:-1:2
Aug(1:j-1,:) = Aug(1:j-1,:)-Aug(1:j-1,j)/Aug(j,j)*Aug(j,:);
end
//Diagon... |
ab2b4e66601deeb0e06b2a0bbbebac014a7316ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.23/Exa2_23.sce | 06e85a215e374873679d6ffb55f4d176801925a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 529 | sce | Exa2_23.sce | //Exa 2.23
clc;
clear;
close;
//Given data :
format('v',6);
UsefulOutput=55;//in H.P.
MechLosses=2;//in H.P.
Stator_Losses=13.5;//in KW
MechPowerDev=UsefulOutput+MechLosses;//in H.P.
MechPowerDev=MechPowerDev*735.5/1000;//in KW
S=50;//in %
Pin_Rotor=MechPowerDev/(1-S/100);//in KW
RotorCopperLoss=(S/100)*Pi... |
25c8f2cbd89eececb813c23d8615c343f3348df9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.19/EX3_19.sce | 46706fb10ebaccc246f2e5a588168359d21cd138 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,100 | sce | EX3_19.sce | //Calculating the efficiency and voltage regulation//Chapter 3
//Example 3.19
//page 225
clear;
clc;
disp("Example 3.19")
kVA=50; //rating of the transformer
V1=3300; //open circuit primary voltage
Culoss=540; //copper loss from short circuit test... |
29cb309ee038547f17f1203a7e8983d9fe171316 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH4/EX4.4/Example4_4.sce | 53bcd63915105a9ae3f5a36afcc3934331e7b659 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | Example4_4.sce | //Example 4.4
clc;
clear;
close;
format('v',7);
//Given data :
S=0.9;//sp. gravity of liquid
Sm=13.6;//sp. gravity of mercury
S1=Sm/S;//sp. gravity
w=S*9.81;//kN/m^3
h2=500/1000;//m
h1=300/1000;//m
a_BY_A=1/80;//ratio of area
pa=w*(h2*[(S1-1)*a_BY_A+S1]-h1);//kPa
disp(pa,"Pressure in the pipe in kPa: ");
... |
4ef2c0d98b069b295a4d788fae77c3bfee222c54 | 9224090b07cb3f466fe72819cf90ca0c4dedc901 | /Exercise 19/Exercise 19.sce | 492daacf75017e22e92f82b204648e7730c8fe71 | [] | no_license | MGYBY/advanced_ocean_modelling | 8c383b09f4077174559bd7964062625012026fa0 | 848f0f4d616d472021c31582b64557f04067ce74 | refs/heads/main | 2023-07-14T14:37:57.714203 | 2021-08-20T20:13:49 | 2021-08-20T20:13:49 | 398,386,684 | 4 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,551 | sce | Exercise 19.sce | //============================
// Exercise 19: Ekman pumping
//============================
// Animation of sea level & density field
// Author: Jochen Kaempf, March 2015 (update)
f = gcf(); f.color_map = jetcolormap(64); f.figure_size = [1000,600]; scf(0);
// read input data
ep=read("eta.dat",-1,101);
rho1... |
0372c36bcbda2b39ad1e64576c74a892c90c2f74 | 06c050d87b5b6b7e42f2d24889ec60b0f5fdd998 | /Gauss Seidel.sce | 8d8b87b31d310307249f8398a6d236836ab0efe8 | [] | no_license | jaimedantas/Numerical-Computation-Scilab | 06958d436ee9724daa7c03f2ea14f195e5fbb596 | 66bf163bdbc0d9453cafff0369bbd5cd2fce78f3 | refs/heads/master | 2021-01-11T15:18:52.809391 | 2017-01-29T03:47:50 | 2017-01-29T03:47:50 | 80,327,110 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 923 | sce | Gauss Seidel.sce | //MEODO DE GAUSS SEIDEL
//a = [10 2 1; 1 5 1; 2 3 10];
//b = [7; -8; 6];
x0=[0.7; -1.6; 0.6];
a = [5 1 1; 3 4 1; 3 3 6];
b = [5;6;0];
function x = gauss_seli(x0, a, b, p)
[l,c] = size(a);
x = x0;//iniciar o vetor soluçao
//normalizaçao da matriz
for i=1:l
pivo = a(i,i);
a(i, :) = a(i, :)/piv... |
044ff074876023f71d1ee5d38747bfc90f1e8670 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3116/CH17/EX17.6/Ex17_6.sce | d4cc25e96681a5a57ed9733e1d1eb32bdaee5c7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 860 | sce | Ex17_6.sce |
//page no 649
clc
// given that
p1 = 1e22 // Number of electrons per unit volume
e = 1.6e-19 // Charge on electron in coulomb
mu_h1 = 0.04 // concentration of holes mobility in m^/Vs
sigma_d = 50 // Desired conductivity in (ohm-m)^-1
p2 = 1e21// Number of electrons per unit volume
mu_h2 = 0.045// concentr... |
2170feee8a633ed7e779e99ccd607a266eb97579 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH3/EX3.39.1/Ex3_39.sce | 43ec4bdcd2c261e2144ca5d6c4dae0b1cfba144c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | Ex3_39.sce | clc
clear
//Inputs
//The Values in the program are as follows:
//Temperature in Celcius converted to Kelvin(by adding 273)
//Pressure in bar converted to kPa (by multiplying 100)
//Volume in m^3
//Value of R,Cp and Cv in kJ/kg K
V1=0.6;
P1=1;
T1=90+273;
V2=0.18;
P2=5;
R=0.287;
G=1.4;
m=(P1*100*V1)/(R... |
a3d3fbb7606762219be32360c10e046f8bfca0a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH2/EX2.20/Exa2_20.sce | c1298f663379a7870729154a3d332be724d2e957 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Exa2_20.sce | //Exa2.20
clc;
clear;
close;
//given data
alpha20=1/254.5;// in ohm/ohm/degree C
t2=60;//degree C
t1=20;//degree C
rho0=1.6*10^-6;
alpha60=1/(1/alpha20+(t2-t1));
disp("Temperature coefficient of resistance at 60 degree C is : "+string(alpha60)+" ohm/ohm/degree C");
//from alpha20=1/(1/alpha0+20)
alpha0=1/(1... |
71deaaa11716d8d869ace90d01b0051e0a7b2aed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH4/EX4.5.a/ex_4_5_a.sce | d89f30d2695e51188ce3c1ab0a32e73b10f9d10b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | ex_4_5_a.sce | //Example 4.5.a: total load
clc;
clear;
close;
//given data :
l=300; // number of lamps
w1=60; // in watt
W1=w1*l; // wattage required for 300 lamps, 60 watt each
w2=40; // in watt
f=100; // number of fan
W2=w2*f;// wattage required for 100 fans, 40 watt each
W=(W1+W2)*10^-3;
disp(W,"total load,W(kilo-watt) = ")
|
8b4a3b2a9adb83795f622c417cc41bd486b9c9c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH8/EX8.10.1/Example_8_10_1.sce | 54baf99311342f27e5142fc3ae107bd338f1795d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Example_8_10_1.sce | // Example 8.10.1 page 8.25
clc;
clear;
//erfc 4.24 is given to be 2d-9
SN=(2*sqrt(2)*4.24)^2; //computing optical SNR
SN=round(SN);
SN1=sqrt(SN); //computing electrical SNR
printf("\nOptical SNR is %d.\nElectrical SNR is %d.",SN,SN1);
|
296c0273c9d1e14b0811faa2f3887db53e46c874 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.36/EX1_36.sce | 643e3e7764d7b060af5711d7f6b2fba4e0503b5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 742 | sce | EX1_36.sce | //EXAMPLE 1-36 PG NO-31
T=0.99425; //TIME
disp('i)Time = '+string (T)+' seconds')
X=0.37; //DERAVATIVES OF 'I' W.R.T
disp('ii)(di\dt) = '+string (X)+' A\sec')
LI=0.63; //CURRENT
dli=0.37; // deravatives of 'SI' w.r.t
disp('iii)(dsi\dt) = '+string (dli)+' Wb-turns\sec')
VL=dli;
disp('iv)(VL) = '+strin... |
0bfc0538fd1a0e4a4cad97bc523655bacc84c815 | 449d555969bfd7befe906877abab098c6e63a0e8 | /74/CH3/EX3.9/example9_sce.sce | 19920a9aceadce807e034d0ab020281559a9e347 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 421 | sce | example9_sce.sce | //chapter 3
//example 3.9
//page 137
R1=120*10^3;Rf=1.2*10^6;Cf=10*10^-9// given
fa=1/(2*%pi*Rf*Cf);// corner frequency
F=10*10^3;
Vin=5;
disp(fa)//coner frequency
safefrequency=10*fa//safe frequency is 10 times of corner frequency
Adc=Rf/R1;//D.C gain
Adb=20*log10(Adc)// gain in db
A=(Rf/R1)/sqrt(1+(F/fa)^2... |
02aecc8817d2f7efb83b4f8f01ec241f73c993fd | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/C45-C/results/C45-C.vowel-10-1tra/result4.tst | 277c7b972094626c94e46cebda48689b423fd45e | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 978 | tst | result4.tst | @relation vowel
@attribute TT integer[0,1]
@attribute SpeakerNumber integer[0,14]
@attribute Sex integer[0,1]
@attribute F0 real[-5.211,-0.941]
@attribute F1 real[-1.274,5.074]
@attribute F2 real[-2.487,1.431]
@attribute F3 real[-1.409,2.377]
@attribute F4 real[-2.127,1.831]
@attribute F5 real[-0.836,2.327]
@attribute... |
0af8736819c61e0b2a139bfb44ac7ac2dff644a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH17/EX17.6/Ex17_6.sce | cd4f87a5fb245de84a2a9b185dde4e366729256f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | Ex17_6.sce | //Example 17_6 page no:842
clc;
f1=2000;
f2=6000;
k=600;
L1=k*(f2-f1)/(%pi*(f2*f1));
C1=1/(4*%pi*k*(f2-f1));
L2=1/(4*%pi*k*(f2-f1));
C2=1*(f2-f1)/(k*%pi*(f1*f2));
//calculating T-section filter
L11=L1/2;
C11=2*C1;
L2=12;
C2=0.176;
L11=L11*1000;//converting to milliHenry
C11=C11*10^6;//converting to micro... |
1fff188547390b1ae7141126cb5a6955b9bc441d | 140b35fabb72e96536284510672e3f7cb6d466dd | /src/resources/FichierPourScilab/spectre.sce | 5dbdb30d8d3f3408e336f705f462625578603590 | [] | no_license | stephane81/cabalab | 9386e2bd0d214a1899f816e96c9ffa4bb137e24d | 19c3d0614b18415ea4c0b4981aa0209abf98ba1f | refs/heads/master | 2021-01-10T03:25:27.430933 | 2015-06-02T06:33:28 | 2015-06-02T06:33:28 | 36,711,646 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 666 | sce | spectre.sce | chdir('C:\temp\');
//u=file('open','essai_bis.dat','unknow');
//yn=read(u,-1,2);
//file('close',u);
//ys=yn';
//xset("window",1);
//plot2d(ys(1,:),ys(2,:),[2]);
//xgrid(0:0.1);
//stacksize(11e6);
u=file('open','blocsignal.dat','unknow');
yn=read(u,-1,3);
file('close',u);
ys=yn';
xset("window",1);
pl... |
a7cdc2ec9119c517314235967c4b45f3da370b57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH5/EX5.1/RTS_Ex_5_1.sce | 678c7610a2a6da94763b219b77a4741fb99c6498 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | RTS_Ex_5_1.sce | clc
//Chapter8
//Example8.15, page no 230
//Given
//b
fm=1e2//modulation freq
Phimax=10*%pi/180// Max Phase deviation
//i
Freq_dev=Phimax*fm// Freq deviation
//ii
Mul_fact=30e3/Freq_dev// Multification factor
mprintf('Freq deviation is %f Hz\n Multification factor is %d\n corresponding modified max freq dev... |
61d0b5ea4422bba6d155ebabca9b64ae21203e44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH2/EX2.3/Ex_2_3.sce | bb33a782f8b46156449168e6671bf7f0f7b60b9a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | Ex_2_3.sce | // Example 2.3:Numerical Aperture
clc;
clear;
close;
v= 26.6;//normalised frequency
h=1.3;// Wavelenght in micro meters
a=25;//core radius in micro meters
NA=(v*h)/(2*%pi*a);// Numerical Aperture
disp(NA,"Numerical Aperture of the Fiber is")
|
af5cf58fcec0b9a596f94628adbc056633afd620 | e9d5f5cf984c905c31f197577d633705e835780a | /data_reconciliation/linear/scilab/functions/wls/wls_functions.sci | eb592015e483b9f1fd10f5a679a98794d5db254e | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,071 | sci | wls_functions.sci | // Data Reconciliation Benchmark Problems From Lietrature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
// aux functions to weighted least squares functions
function f = objfun ( x )
f = sum(((xm(red)-x(red)).^2)./var(red));
// f = sum(((xm-x).^2)./var);
... |
e0158cb6e34d0e7298be1c983efabe78adfed9ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH10/EX10.2/Ex10_2.sce | 2e207ebcaf2b142dc6d1ed3cec6c74c1135faf5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,143 | sce | Ex10_2.sce | clear all; clc;
disp("Scilab Code Ex 10.2 : ")
//Given:
ep_x = -350;//(*10^-6) Normal Strain
ep_y = 200; //*(10^-6) Normal Strain
gamma_xy = 80; //*(10^-6) Shear Strain
//Orientation of the element:
tan_thetap = (gamma_xy)/(ep_x - ep_y);
thetap1 = (0.5)*(atan(tan_thetap));
//Principal Strains:
k = (... |
17e426e6e23ba7b34ea41216c38be4b5965cde95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH4/EX4.22/Ex4_22.sce | ee640b754076716d6740a81a24d6f2a1b20281d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,017 | sce | Ex4_22.sce | // Calculating the volume of air required per second and fan power
clc;
disp('Example 4.22, Page No. = 4.50')
// Given Data
MVA = 50;// MVA rating of turbo-alternator
Q = 1500;// Total loss (in kW)
Ti = 25;// Inlet temperature of air (in degree celsius)
T = 30;// Temperature limit (in degree celsius)
H = 760;//... |
0a359c02d773745e8a178542f74905aaeda61212 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH8/EX8.4/4.sce | 8eb24280ec9b1f759aa25c7cd4949fe352e0f62d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sce | 4.sce | clc
v=1.5*10^(-5); // m^2/s
Re_t=5*10^5;
x_t=1.2; // m
rho=1.21; // kg/m^3
u_m=v*Re_t/x_t;
disp("(a) the velocity of the airstream =")
disp(u_m)
disp("m/s")
theta=0.646*x_t/sqrt(Re_t);
F=rho*u_m^2*theta;
D_F=2*F*x_t;
disp("(b) the frictional drag of the plate, D_F =")
disp(D_F)
disp("N")
|
f669e51c95a01961ec6aaabed067f326f31dd4f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH8/EX8.4/Ex8_4.sce | cc8fbfac059c001a4fab073579a22b780237aedb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sce | Ex8_4.sce | //Example 8.4, page 299
clc
u_s=10^-23//amp-m2
u_b=10^-23//amp-m2
B=u_s/u_b
printf("\n The deflection is %d Tesla ",B)
|
2f6342695bd4189b24472026285bd236ed3eb90e | 584105ff5b87869494a42f632079668e4c3f82de | /Help-files/solvePnPRansac.sci | 4b152eac4b1d90a5ec2672c31a6f86cb4e252aa6 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,110 | sci | solvePnPRansac.sci | // Computes pose of object from 2D and 3D points using Ransac method.
//
// Calling Sequence
// [rvec tvec] = solvePnP(objectPoints,imagePoints,cameraMatrix,distortionCoeffs,useExtrinsicGuess,
// flags,IterationsCount,reprojectionError,minInliersCount);
//
// Parameters
// Input
// MatrixOfDou... |
4a77cf319a322abfd70d9a4e55ba9601fc7934f1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH10/EX10.15/ex10_15.sce | 5b22b01ae062f95df0b3e96d3daf96d3401d2ec7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | ex10_15.sce | clc;
k=1.38*10^-23; //Boltzmann's constant in J/K
t=100+273; //temperature in Kelvin
m=5.3*10^-26; //mass of oxygen molecule in kg
v=sqrt((3*k*t)/m); //calculating average velocity using kinetic theory of gases.
disp(v,"Average velocity of molecules in m/sec = "); //displaying resul... |
235eabf1e3b3416055ad99823bae29428ab67bc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH17/EX17.18/Example17_18.sce | 327aba200628204b03f0ad0c44e03b6e40918b21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,121 | sce | Example17_18.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 10: POWER SYSTEM STABILITY
// EXAMPLE : 10.18 :
// Page number 305
clear ; clc ; close ; // Clear the work space and con... |
20799ce97756a2d8f1cd109abe60beefae8485bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.24/15_24.sce | 4f1a7a61f6b24481f4e7a0a6bcbabb2b2d81acc8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | 15_24.sce | //Chapter 15, Problem 24
clc;
//from eqn i=250 sin ωt
Im=0.250;
R=5000; //resistance in ohm
I=Im*0.707; //rms current
P=R*I^2; //power
printf("Power dissipated in the resistor = %.1f W",P);
|
daa03427d4d412bb099e8049748fdd10a4fc42dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH16/EX16.4/Example16_4.sce | a8b2b8b52705707ea5adaa264b7488e0a76d223f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | Example16_4.sce | //Example 16.4.
clear ; clc; close ;
t= 0:0.1:20;
for i=1:length(t);
if(t(i)<=5)
x(i)=(15/5)*t(i);
elseif(t(i)>=5&t(i)<=15)
x(i)=-3.2*t(i)+30;
elseif(t(i)>=15&t(i)<=20)
x(i)=(15/5)*t(i)-60;
end
end
for i=1:length(t)
if(x(i)>3)
y(i)=x(i);
elseif(x(i)<=3)
y(i)=3;
end
end
plot2d(t,y,2,'011','',[0,0,20,1... |
b2256ef057ddccce485e604017d924618ba056b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH19/EX19.6/Ex19_6.sce | a0bb9182935624f9a96192d7545ee47837a94433 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | Ex19_6.sce | clc;
tr=0.000000040;
fc=0.35/tr;
tf=0.000000030;
fmax=0.35/(100*tr);
disp('MHz',fc/1000000,"fc=");//The provided in the textbook is wrong
disp('kHz',fmax/1000,"fmax=");//The provided in the textbook is wrong
|
ae7e6e46b075550d0d0db65269a3f221c7eab9f2 | 717ddeb7e700373742c617a95e25a2376565112c | /503/CH8/EX8.42/ch8_42.sci | 711c2306503d7b6f8548221b0499cb20b2b02ede | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 681 | sci | ch8_42.sci | //to caculate generator current,pf, real power,ecitation emf
clc;
r=500*10^6;
V=22000;
Ia=r/(sqrt(3)*V);disp(Ia,'generator current(A)');
Vt=V/sqrt(3);
Zb=Vt/Ia;
MVA_b=500;
MW_b=500;
Xsg=1.57;
Xb=.4;
Xb=Xb/Zb;
rr=250;
rr=rr/MVA_b;
Vb=1;
Vt=1;
Ia=.5;
phi=asind(Xb*Ia/2);
pf=cosd(phi);disp(pf,'pf');
... |
dfa326cb107ed77cc60fe001779506214aa6004f | 449d555969bfd7befe906877abab098c6e63a0e8 | /23/CH11/EX11.9/Example_11_9.sce | 06d0e4d10158c5a6b05c6fdb627418b1f2bec512 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,017 | sce | Example_11_9.sce | clear;
clc;
//To find Approx Value
function[A]=approx(V,n)
A=round(V*10^n)/10^n;//V-Value n-To what place
funcprot(0)
endfunction
//Example 11.9
//Caption : Program to Find the Fugacity Coefficients for mixture
P=25;//[KPa]
T=323.15;//[K]
R=83.14;
x1=0.5;
x2=1-x1;
ij=[11,22,12];
Tc_ij=[535... |
7f95bae0b45cc1f281498a250bbac27e7540d41f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH1/EX1.18/Ex1_18.sce | e507ea6ae4c081130b1ab613e08e59a93fc797b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sce | Ex1_18.sce | //Chapter 1: Structure and Bonding
//Problem: 18
clc;
//Declaration of Constants
e = 1.602 * 10 ** -19 // Charge of proton, C
m_p = 1.66 * 10 ** -27 // Mass of proton, kg
m_e = 9.1 * 10 ** -31 // Mass of electron, kg
h = 6.626 * 10 ** -34 // Plank's constant, J.sec
// ... |
dae9ecf6d844624716b721812d295fa99ed9fbef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH6/EX6.8/Ex_6_8.sce | 40a0fd0ecbea7f07bbe1531be9e43b6ee21a5e74 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | Ex_6_8.sce | // Example 6.8 //find output power and bandwidth
clc;
clear;
close;
Pdc=320*10^-6;//d.c. power in Watt
f1=20*10^6;//frequency in hertz
Ti=5*10^-9;//recombination life time in nano second
Pe1=(Pdc/sqrt(1+(2*%pi*f1*Ti)^2))*10^6;
f2=100*10^6;//frequency in hertz
Pe2=(Pdc/sqrt(1+(2*%pi*f2*Ti)^2))*10^6;
f=((sqrt(3... |
db9260df83ef3ae4530f0005816a14793e55e6ec | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_I._A._Khan_1962.zip/Fluid_Mechanics_I._A._Khan_1962/CH1/EX1.5/example1_5.sce | d95c4d094cb622c7b2289d4cc261fb5efe592e6d | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 229 | sce | example1_5.sce | errcatch(-1,"stop");mode(2);//example 1.5
//page 14
; funcprot(0);
//initialisation of variable
T=68+460;//degree R
R=1716;
kappa=1.4//value from table
c=(kappa*T*R)^(0.5);
disp(c,"velocity of sound(ft/s)=");
exit();
|
47e398cd3db48fea692397246054c828c354e967 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH9/EX9.5/5.sce | ca0563ec70de5f15ab29eeb1cd3d6829ef758f21 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 505 | sce | 5.sce | clc
clear
//INPUT DATA
Ef=3.2*1.6*10^-19//The fermi energy in a metal in J
m=9.11*10^-31//mass of electon in Kg
KB=1.38*10^-23//Boltzmann's Constant in m^2 Kg s^-2 k^-1
//CALCULATION
Tf=(Ef/KB)/10^3//The fermi temparature for sodium in K*10^6
Vf=(sqrt((2*Ef)/m))/10^6//The fermi velocity fo conducting electron... |
b197bf60554e3c3da972a0224c4663f480443d6e | ecd2d931395f0b1280d01efdf8fd451286106a32 | /data/in/ExportFixedData.sce | 627d3c1148c5a5aa5a89d440e60fa71ea06bf30e | [] | no_license | MaxRCC/TDB32 | 90c079862496647b9e6f9630fe7040263cd92429 | 4b5910b24c2126b2dd6ce672f5c01f1a5d4216aa | refs/heads/master | 2022-01-06T08:46:25.206207 | 2018-09-03T18:41:17 | 2018-09-03T18:50:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | ExportFixedData.sce | //clf;
clc;
clear all;
Pos = 44;
N = 12
num = 1:32;
k =1;
y = 0:2047;
z = dec2bin(y,16);
for Ch =1+ (32*Pos):32+ (32*Pos)
str = 'chan_' + string(num(k)) + '.txt';
k = k+1;
csvWrite(z', str);
end
clear data;
|
ee029c328781d87fa946851a4af865bb09fc36ab | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX2.16/EX2_16.sce | b7d237abd7e526bf02d6982e1ea9354182802caf | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 765 | sce | EX2_16.sce | clc;funcprot(0);//Example 2.16
//Initilisation of Variables
r1=0.04;....//inner radius of hallow sphere in m
r2=0.06;....//outer radius of hallow sphere in m
q=10^5;....//heat transfer rate at inner surface in W/m^2
Ta=100;....//temparature of fluid in degrees celcius
h=450;....//heat transfer coefficient in W/m... |
507936fb618b76525b493ef97a4157d6b48d6d3c | d1a2737ec744ffbba1165afa7b05f26a4076f513 | /Lab 7/q1.sce | bd784f8b7413e0413cbe24be0da271f6d3400199 | [
"MIT"
] | permissive | ipsitmantri/EE-324-Control-Systems-Lab | 4e37a3de51f4114ba0ea281cbb1da78a6c4815bb | b34c45efc3539005603b2e76c1665d6636f80f88 | refs/heads/master | 2023-04-03T10:42:34.548542 | 2021-04-13T14:11:21 | 2021-04-13T14:11:21 | 357,540,595 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,943 | sce | q1.sce | clc; clear;
s = poly(0, 's');
g = 1 / ((s+3)*(s+4)*(s+12));
G = syslin('c', g);
//---------------------------
// Part a
zeta = 0.2;
slope = sqrt(1 - zeta^2) / zeta;
x = -2:0.001:0;
y = -slope * x;
z = 0.01;
ga = g * (s + z) / s;
Ga = syslin('c', ga);
scf();
evans(Ga, 1000);
plot(x, y, 'c-', 'LineWidth', 2);
L = legend(... |
dc8e9fc90bf97797f581bece3e0f557a6543e850 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH3/EX3.4/exp3_4pp.sce | 3cb2751582cf76c80dd1d7ef4d6a362bfb71b8ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,300 | sce | exp3_4pp.sce | clc
clear
disp("example 3 4")
p=100 //ratring of steam station
fc=3000 //fixed cost of plant per year
rg=0.9 //90 paise per kv generation
uf=1 //utilization factor 1
lf=20:20:100 //let load factor be 5 discreate units
lm=uf*lf //lwt load MW is as same as lf as utilisation factor is 1
n=size(lm)
fc=fc*ones(... |
56b46c9bf9ad56c432f2304811516507c7c22e65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH6/EX6.18/Ex6_18.sce | 5dac1f964d9ac692e20fe4a9852566e3f5ef9ab0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,379 | sce | Ex6_18.sce | //===========================================================================
//chapter 6 example 18
clc;
clear all;
//variable declraration
Ts = 300; //number of turns in secondary winding
Tp = 1; //number of turns in primary winding
Is =5; //current in A
Zs =(1.5)+(%i*1) //secondary impedance Ω
MMF = 10... |
2c8d509d124f15bdc911ffc678b6c49f24fe1a2e | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Bongo Aimer.sce | 88f758b2633ffd043ef4126f639b997684cb31d2 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 67,387 | sce | Bongo Aimer.sce | Name=Bongo Aimer
PlayerCharacters=Pistol Shooter;AR Shooter
BotCharacters=Bongo Target.bot;Bongo Static Target.bot
IsChallenge=true
Timelimit=10.0
PlayerProfile=Pistol Shooter
AddedBots=Bongo Target.bot;Bongo Target.bot
PlayerMaxLives=0
BotMaxLives=0;0
PlayerTeam=1
BotTeams=2;2
MapName=bongo_aimer.map
MapSc... |
252acb46c5143fa686e1685a892cd0847c969e12 | 389bd4af3bf5a0f54f51e8aafea5035f568ba445 | /for_dongusu.sce | 4242210ac6584fde72f95f508cc8c0383f0d375f | [] | no_license | esraatlici/Bilgisayar-Destekli-Matematik | d47f057d9cb7ee987e367c67f8923cfcf02342d8 | dae1079f60fc7e0d3b54802b4cbed9182b52fcd7 | refs/heads/main | 2022-12-25T11:14:25.575530 | 2020-10-05T15:09:58 | 2020-10-05T15:09:58 | 301,447,895 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | for_dongusu.sce | h=0;
for a=-50:0.1:50
h=h+1;
g(h)=a;
if a==(35.2) then
break;
disp('şart sağlandı')
end
end
|
e39fa19866597ad85195dd4e3b1a729ffca89797 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/ss2tf.man.tst | 2cb47f01609ddd086cf75fc371aca75fe20ec27c | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 116 | tst | ss2tf.man.tst | clear;lines(0);
s=poly(0,'s');
h=[1,1/s;1/(s^2+1),s/(s^2-2)]
sl=tf2ss(h);
h=clean(ss2tf(sl))
[Ds,NUM,chi]=ss2tf(sl)
|
65a3d4646d9ae44480cf6f91464508f8e7391e66 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/rowshuff.man.tst | 13f95f52f794f400607d832b0abac26793cc996b | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | tst | rowshuff.man.tst | clear;lines(0);
F=randpencil([],[2],[1,2,3],[]);
F=rand(5,5)*F*rand(5,5); // 5 x 5 regular pencil with 3 evals at 1,2,3
[Ws,F1]=rowshuff(F,-1);
[E1,A1]=pen2ea(F1);
svd(E1) //E1 non singular
roots(det(Ws))
clean(inv(F)-inv(F1)*Ws,1.d-7)
|
a905da0582d30a07f9c6ddb73523e5c5c1dbad3f | 4e1a093c3f74654063cb5b9a203953ba6d927a8b | /qpskmod/qpskmod.sci | 169c4b0530827e1338f760b37b7f789076bcea50 | [] | no_license | anwaninavin/ScilabCommunication | 93a63d10149707b694da232f29bc85b086333fc9 | 6df9832dab5f63bdc7fb69486ebfeffa7346dcfb | refs/heads/master | 2021-01-01T19:06:17.137478 | 2015-09-26T08:33:48 | 2015-09-26T08:33:48 | 42,803,716 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,607 | sci | qpskmod.sci | //Author: Navin Anwani
//Status: Working
//Category A: qpskmod
//About function:
//Name :qpskmod
//It expects a binary vector x with even numbered length and provides a complex column vector Y at output with a length half that of the input.
//The function provides output with gray coded qpsk constellation.
//The outp... |
1672c0d3d8abb0d7ac3920a58f156097972af5dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH5/EX5.12/ex12.sce | 01022a0b402038798e1332a0b932795df101b679 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | ex12.sce | //example 12
//charging of rigid tank by system
clear
clc
disp('This process can be analyzed as a uniform-flow process since the properties of the steam entering the control volume remain constant during the entire process.')
disp('We take the tank as the system. This is a control volume since mass crosses the sys... |
5705425b495846d00bd29dea37c37e6e4389636f | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/911.sci | ca3f06861a4244cfc789325b8c15f52b248ef5a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | sci | 911.sci | ndot=2400 //mol/s
Hr1= -2878 //Kj/mol
HvWater=44 //Kj/mol
HvButane=19.2 //Kj/mol |
1871fa68393b57db96a4a0f9404203b76cc5548c | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH5/EX5.5.3/Ch5_5_3.sce | 41783e61a884cf75ab6263f6c8ebf75224f355b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | Ch5_5_3.sce | clc
disp("Example 5.3")
printf("\n")
disp("Calculate output power change in decibel of amplifier")
printf("Given\n")
//output power when frequency is 5khz
P1=50*10^-3
//output power when frequency is 20khz
P2=25*10^-3
//output power change in decibel
delPo=10*log10(P2/P1)
printf("output power change \n%f dB\... |
b1bbdaa9e936f3563afe9d82c1b29d1fbcf8fd62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH14/EX14.31/Example14_31.sce | dd4584bcb25bd4094dfd78174bfd2478ec48946b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,835 | sce | Example14_31.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 14: TRANSFORMERS
// Example 14-31
clear; clc; close; // Clear the work space and console.
// Given data
S = 500 ; // kVA rating of distribution transformer
// given data from ex.14-20
V_1 = 2300... |
7933af892354fea38bb6d00e9cee312a83022530 | cccbd1095e2f872b44c9f2cf3aaea40ce3b94a77 | /Bilderrating/helpfiles/CR_Scenario_IAPS_Bilder.sce | e26853eba6daf1fc1a504cc04042953eb8ec5334 | [] | no_license | Robstei/work | ca8a70dba742f520f16e0d7688fa448c79d7c2c5 | 0c7e3bedc1d66db3148de57f13d406d787b756df | refs/heads/master | 2021-07-16T17:37:10.588912 | 2020-05-17T19:51:43 | 2020-05-17T19:51:43 | 152,545,932 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,018 | sce | CR_Scenario_IAPS_Bilder.sce | /*
*
* Cue Reactivity
*
* Version: Presentation 17.0
*
* Author: Jan Henry van der Vegte 02.05.2016
* Institute: University of Duisburg-Essen
* Department: General Psychology: Cognition
*/
#-- HEADER --#
#-- BASIC PREFERENCES --#
# PCL-File
pcl_file = "CR_Control.pcl";
# name of this scenario
scenario = ... |
d000d60ed4cdd22ad19a8cb10de5b293530daf70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH12/EX12.15/15.sce | 833d549beb10e35fe12360dcbba1c9ed46d818c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | 15.sce | clc
h0=3115.3; //kJ/kg
h1=2720; //kJ/kg
h2=2450; //kJ/kg
h3=2120; //kJ/kg
h_f1=640.1; //kJ/kg
h_f2=417.5; //kJ/kg
h_f3=173.9; //kJ/kg
m1=(h_f1-h_f2)/(h1-h_f1);
disp("m1=")
disp(m1)
disp("kJ/kg")
m2=((h_f2-h_f3)-m1*(h_f1-h_f3))/(h2-h_f3);
disp("m2=")
disp(m2)
disp("kJ/kg")
W=h0-h1 + (1-m1)*(h1-... |
023e5444c65073c36b96ae55cf7761251b95a407 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/robust/entropy.sci | 4a718511c0d2e68d567daac1de72664dabc8b8d0 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 452 | sci | entropy.sci | function [enx,X,Y,eny]=entropy(S,gama)
//Computation of the entropy at gama of a linear system S
//[enx,X,Y,eny]=entropy(S,gama)
//!
//
S1=S(1);
if S1(1)='r' then S=tf2ss(S);end
[A,B,C,D]=S(2:5);
g1=1/gama;
H=[A,g1*B*B';-g1*C'*C,-A'];
[X,zero]=ric_desc(H); //zero=A'*X+X*A+g1*g1*X*B*B'*X+C'*C;
enx=sum(diag(X... |
03fe3d1001bb93c198859d3bdd8a984b6cec23a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH17/EX17.1/Example17_1.sce | e3b94b77c0f67f68698150f89fbc40d2b6689134 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,048 | sce | Example17_1.sce | //Example 17.1.
clc
format(5)
disp("We know that")
disp(" fo = 1 / (2.303*RE*CE*log10(1/1-eta))")
disp("We know that etamin = 0.56")
disp("For determining RE, we have")
RE=(20-2.9)/(1.6) // in k-ohm
disp(RE,"RE < VBB-VP/IP, i.e. RE(k-ohm) < 20-2.9/1.6*10^-3 =")
RE=(20-1.118)/(3.5) // in k-ohm
disp(RE,"RE > ... |
021a9d8ead3831ae9b12df35aa674db6a5e334ff | 47adabef6eb8924aff50314b05cfd89f90e19aec | /tests/unit_tests/scilab_sum.tst | c91b7e494064e4e7ce3cd23571b7e3a0fecf9555 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | tst | scilab_sum.tst | // This file is released under the 3-clause BSD license. See COPYING-BSD.
//=================================
// load toolbox_skeleton
if ~isdef('scilab_sum') then
root_tlbx_path = SCI+'\contrib\toolbox_skeleton\';
exec(root_tlbx_path + 'loader.sce',-1);
end
//=================================
if scilab_s... |
77e495b9bc879d881c23a57cd588e93ffbea2fc0 | 777ac7fa75f240739af167655f7fab95cba80ef6 | /docs/Basics.New/Protocol.tst | 7555ea9913ab5f6f06c8d8444d9774e7ea3e374d | [] | no_license | Karabur/TML-project | 8d498d8133f4b1ea8e8c3fe6f6f47f7ab5de4b5c | 0bfe006b0e66628427b769bc1be903875e77d5b7 | refs/heads/master | 2021-01-02T09:20:39.055827 | 2013-12-28T22:02:15 | 2013-12-28T22:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,741 | tst | Protocol.tst | Title:
TestName: Проверка команды Protocol: ON;
Difficulty: A1;
FullTime: 0;
Questions: 3;
Protocol: ON;
Interval: ON;
EndTitle.
StartTest:
Question: 1;
Weight: 1.0;
BeginText:
(только для полнофункциональной FLTS)
После выполнения этого вопроса в таблицу протокола будет
занесена запись: уникальный ключ, ... |
7f330258b6378d26b937be2def99b348b01d7b92 | 9d58ab0eb7d6f4f4d78d03c790b333969a542fa0 | /UL1741 SA/Tests/VV_2.tst | 609ced186063f8382dd3755240950b5dbf0ec97a | [] | no_license | gyslerc/svp_UL1741SA | bd6c8c04305fc636387ea3d767c11c6af1006732 | df12aaf5463c39ea01f5bf8a767c2db8bcfc9e67 | refs/heads/master | 2020-05-05T11:40:16.707199 | 2017-05-26T15:13:09 | 2017-05-26T15:13:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,889 | tst | VV_2.tst | <scriptConfig name="VV_2" script="SA13_volt_var">
<params>
<param name="eut.p_rated" type="float">0.0</param>
<param name="eut.var_ramp_max" type="float">0.0</param>
<param name="eut.v_nom" type="float">0.0</param>
<param name="eut.q_max_cap" type="float">0.0</param>
<param name="srd.vv_k_var_min"... |
986fde3be93a5a558647907f327c368a97894273 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH2/EX2.8/Ex2_8.sce | 1f9885652d855168b185c8bb3a3ed35b64b9b8ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | Ex2_8.sce | //Example number 2.8, Page number 34
clc;clear;
close;
// Variable declaration
N=6.023*10**23; // Avagadro Number
Mw=23+35.5; // molecular weight of NaCl
rho=2.18; // density(gm/cm**3)
// Calculation
M=Mw/N; // mass of 1 molecule(gm)
Nv=rho/M; // number of molecules per unit volume(mol... |
54eeff71c4855b74df3a3a336e0596b16524aff2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2120/CH1/EX1.3/ex1_3.sce | 157eb10a6e3d90693a4a044404ee8c7cee59b189 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 321 | sce | ex1_3.sce | //Exa 1.3
clc;
clear;
close;
// Given data
Patm = 101;// kpa
Rho = 13.6 * 10^3;// in kg per m^3
h = 250;// in cm
h = h*10^-2;// in m
g = 9.806;
p = Rho * g * h;// in N/m^2
p= p*10^-3;// in kPa
// Total pressure in tank
p = p + Patm;// in kpa
p = p*10^-3;// in Mpa
disp(p,"Total pressure in tank in Mpa");
... |
dd709b71fea0d8405959db06939cc470b59f5624 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH6/EX6.11/Ex6_11.sce | 5a3b1ed97fbe97b9e4bfd518d46da2834c3fd340 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,812 | sce | Ex6_11.sce | //Chapter 6:Induction Motor Drives
//Example 11
clc;
//Variable Initialization
//Ratings of the star connected squirrel Induction motor are same as that of Ex-6.9
f=50 // frequency in HZ
Vl=400 // line voltage in V
P=4 // number of poles
N=1370 // rated speed
//Parameters referre... |
93d954bbb810f2bdd558d1c91e9f6c0c73d2a4cb | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/consulta_por_religion.tst | 371e4adc578af31a863c366586b87c9997bdb8cb | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 231 | tst | consulta_por_religion.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_religion(preligion => :preligion,
p_recordset => :p_recordset);
end;
2
preligion
1
Cristianismo
5
p_recordset
1
<Cursor>
116
0
|
64293f007d5f775085fd02647deae771149decaf | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/CH6/EX6.8/ch6_8.sce | d971edf8ae85ffe49a4740ddf785d5110ec74738 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 411 | sce | ch6_8.sce | clc
disp("Example 6.8")
printf("Given")
disp("R1= 10kohm R2=50kohm Ri=500kohm R0=0")
disp("Open loop gain (A)=10^5")
A=10^5;R1=10*10^3;R2=50*10^3;Ri=500*10^3;
//From figure 6.11
//Applying KCL equation at node B
disp("(v1+vd)/10+ (v2+vd)/50+ vd/500=0 (1)")
//Since R0=0
disp("v2=A*vd")
//Solving for ... |
e92c3914616457c749eec47287228721f1104b41 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH14/EX14.5/ex14_5.sce | d43d04411eb808b73823f3a3fd56b4f36713cf97 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sce | ex14_5.sce | clc;clear;
//Example 14.5
//calculation of no of cavity modes
//given values
c=3*10^8;//velocity of light in m/s
n=1.75;//refractive index
l=2*10^-2;//length of ruby rod in m
x=6943*10^-10;//wavelength in m
y=5.3*10^-10;//spread of wavelength in m
//calculation
d=c/n/l;
f=c*y/x^2;
m=f/d;
disp(m,'no of ... |
c6e7051678ba02bf794d7771b65b2767f69185aa | e6d5f1d801a3fe887b5dc04b8cc0a9eabc1fd432 | /Semana_10/diferencias_divididas.sce | a4aab33133e28ccc2b0d52acf0d21f0ba4c58026 | [] | no_license | lordjuacs/MateIII | 70def332063e56eb10fb47678a7e6130dc0dca63 | 164c53b61c9e35e565121f77ba2c578680a3ab56 | refs/heads/master | 2021-05-24T15:56:01.078904 | 2020-07-27T19:57:34 | 2020-07-27T19:57:34 | 253,643,962 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 230 | sce | diferencias_divididas.sce | function tabla = diferencias_divididas(x, y)
n = length(x);
dfd=zeros(n,n);
dfd(:,1)=y;
for j=2:n
for i=j:n
dfd(i,j)=(dfd(i,j-1)-dfd(i-1,j-1))/(x(i)-x(i-j+1))
end
end
tabla = dfd
endfunction
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.