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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1cf43598a1f97d66cb40b364410655ba0d0dcbf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH13/EX13.8/Ch13Ex8.sce | d82e6227c2771f7e420d32eb17bc140fe904d0af | [] | 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 | 387 | sce | Ch13Ex8.sce | // Scilab code Ex13.8: Pg 486 (2005)
clc; clear;
M_X = 226.025406; // Atomic mass of Ra-226, u
M_Y = 222.017574; // Atomic mass of Rn-222, u
M_alpha = 4.002603; // Mass of alpha particle, u
Q = (M_X - M_Y - M_alpha)*931.494; // Q-value for Radium Decay, MeV/u
printf("\nThe Q-value for Radium Decay = %4.2f Me... |
9071d4238792472ceeb5a31b84007ff42d031644 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.11/Ch017Ex11.sce | dd3591d67a36ff2ea3e2309a2aa9be66dbc7f45d | [] | 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 | 805 | sce | Ch017Ex11.sce | // Scilab code Ex17.11 : Pg:894 (2011)
clc;clear;
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
N_A = 6.023e+026; // Avogadro's number, per kmol
P = 2; // Power produced by the fission of U235, watt
E_f = 200*1e+06*e; // Energy released per fission, J
FR = P/E_f; // Fission rate of U235, fission... |
9effb3b2e4b26797736a504a8b172a64612487f7 | 48b35d91574ad9ef85aefeb435059f8f75e3bebb | /GOLD-TEST/sot.tst | 1b7cef9fcc7ef21fd6db16052957c5228fc800fd | [] | no_license | ElliotMouchon/task0-data | b3e96eea08b3eba08d5a889f9b385cf00ff5701d | 0d24b945ac96e08aa5a2f0080fa4de465f91b40a | refs/heads/master | 2023-04-16T11:48:39.575176 | 2021-04-29T04:04:17 | 2021-04-29T04:04:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,580 | tst | sot.tst | bula ngibula V;SG;1;FUT
reka bayareka V;SG;1;PST
e sizoe V;PL;2;PST
rekisa uzorekisa V;PL;1;PST
qala bazoqala V;PL;3;PST
haufi bazohaufi V;PL;3;PST
reka sizoreka V;PL;2;PST
thusa nithusa V;PL;2;FUT
haufi uhaufi V;SG;3;FUT
hulaa ngihulaa V;SG;1;FUT
ebe siyaebe V;PL;2;PRS
tloo batloo V;PL;3;FUT
haufi uyahaufi... |
d676b641c4618adca7348905a352b67c71a7e4ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH1/EX1.9/Ex1_9.sce | 2996a52eabe55451eefd601f93908aa07e90d3ef | [] | 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 | 714 | sce | Ex1_9.sce | //===============================================================================================
// chapter 1 example 9
clc;
clear;
// Variable Declaration
r = 0.175*10^-9; //radius in m
h = 2; //miller indices
k = 3; //miller ... |
2118b8dd3f8a73c8487519ce910eb5ccd878200b | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PF4.prev.tst | bb6ef764af3a99f19b65e3d92048cdd91ed34bc6 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | tst | PF4.prev.tst | A000008 sage 1 - x - x^2 + x^3 - x^5 + x^6 + x^7 - x^8 - x^10 + x^11 + x^12 - x^13 + x^15 - x^16 - x^17 + x^18 + 1
A000008 vect [1],[1,-1,-1,1,0,-1,1,1,-1,0,-1,1,1,-1,0,1,-1,-1,1]
A000008 coef [1,1,2,2,3,4,5,6,7,8,11,12,15,16,19,22]
A000012 sage 1 - x + 1
A000012 vect [1],[1,-1]
A000012 coef [1,1,1,1,1,1,1,1,1,1... |
e7fcc8ff495a8788bcc48cd5e339d6cb393d74e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH4/EX4.35/Ex4_35.sce | 2253c2706b624fd9e5519e6ac08584b37bcfb8fb | [] | 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 | 253 | sce | Ex4_35.sce |
// Ex4_35
clc;
// Given:
t1=2.7;// h
t2=3.6;// h
// Solution:
k1=0.693/t1;
k2=.693/t2;
tmax=(log(k2/k1))/(k2-k1);
printf("The time when daughter activity reaches maximum is %f and this is same when activities of both are equal.",tmax)
|
efd8cb590294e58800482a31e6aa1ad0e82686d6 | 638792a4fe4462b8d15e3374e76b149c6f5ee3e0 | /WorkingMemory/WMfmri.sce | 93f6239798dac1189d8e718c7df374fbbc55cf87 | [] | no_license | katielavigne/fMRI_tasks | 8cdb3bc63486a2b44118bc8b4c67b5799cd5080b | abd1f0b089f454531723186d50afdfa17912321c | refs/heads/main | 2023-09-01T12:59:35.488292 | 2021-11-03T12:26:15 | 2021-11-03T12:26:15 | 424,210,826 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,490 | sce | WMfmri.sce | scenario = "WM fMRI expt";
#scenario_type = trials;
scenario_type = fMRI;
#scenario_type = fMRI_emulation;
scan_period = 2000;
pulses_per_scan = 1;
pulse_code = 7;
pcl_file="WMfmri.pcl";
active_buttons = 3;
button_codes = 1, 2, 9;
#left mouse button, right mouse button
#write_codes=true; # use if sending codes ou... |
267742ec89c4afbe764b43d13a19e2a5c2cac248 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.3/Ex3_3.sce | fb8c4e4c72fabcfdb25e0ec66cd4df130745e357 | [] | 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 | 173 | sce | Ex3_3.sce | //Ex 3.3
clc;clear;close;
G=-10;//Gain
Ri=100;//kohm(input resistance)
R1=Ri;//kohm
R2=-G*R1;//kohm
disp(R1,"Value of R1(kohm)");
disp(R2/1000,"Value of R2(Mohm)");
|
0463bedbc873d4db2cb9b586a4d1f65cadec8ea8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH6/EX6.2/Chapter6_example2.sce | 4f2b9bdc153fc9f3bf1205afb52f61f7e79fde4c | [] | 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 | 297 | sce | Chapter6_example2.sce | clc
clear
//Input data
n=181*10^-6//Coefficient of viscosity of a gas in p
v=3*10^4//Average speed of molecules in cm/s
d=1.2929*10^-3//Density in g/cm^3
//Calculations
lemda=((3*n)/(d*v))/10^-6//Mean free path in cm*10^-6
//Output
printf('Mean free path is %3.0f * 10^-6 cm',lemda)
|
05a60de605c771a7b62ddf630a6c668fde5f33e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH1/EX1.9/ex_1_9.sce | ffc26c6482a478aab2a4702d160c28e0740b5dd5 | [] | 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 | ex_1_9.sce | //Example 1.9://error
clc;
clear;
close;
v=95;//volts
r=40;//ohms
i=v/r;//amperes
err=-0.2;//error in resistance
err1=(err/r)*100;//percentage error
evv=0.95;//error in voltage
evv1=(evv/v)*100;//percentage error
x=evv1-err1;//
ei=(x/100)*i;//
disp(i,"current in the circuit is,(A)=")
disp(ei,"error in current is,(A)="... |
61a45a3f69bcddd606d77589a74e31ba8fdf6a21 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1514/CH17/EX17.1/17_1.sce | 11d4dc2624cbff7c071ddffc77b78be0828549b9 | [] | 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 | 624 | sce | 17_1.sce | //chapter 17
//example 17.1
//page 518
clear;
clc ;
//given
//dc load line
Vcc=13;//supply voltage
R1=4.7;R2=3.7;RE=1;
Rpy=40;
N1=74;N2=14;
Rl=56;
//plot point A(Vce,Ic)=(Vcc,0)
VB=Vcc*R2/(R1+R2);
VE=VB;
VBE=VB-0.7;
IE=VE/RE;
IC=IE;
VCE=Vcc-IC*(Rpy+RE);//plot point Q(VCE,IC)=(8,5)
VCE=[13,8];
IC=[... |
922605a19e1bc7032ddbbd7963941a0021a414da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1955/CH4/EX4.13/example13.sce | bd7e0c6159f2448378705661124c3cb46afeb3d5 | [] | 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,226 | sce | example13.sce | clc
clear
//input data
b2=10//Rotor blade air angle at exit in degree
Dt=0.6//The tip diameter in m
Dh=0.3//The hub diameter in m
N=960//The speed of the fan in rpm
P=1//Power required by the fan in kW
pi=0.245//The flow coefficient
P1=1.02//The inlet pressure in bar
T1=316//The inlet temperature in K
R=287/... |
1e6c8845b0af3ba5962461ab140f5fda714af15c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH9/EX9.7/Ex9_7.sce | ae2277e7ac95e5cc324ba037108fe1ce6ca5f614 | [] | 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 | 193 | sce | Ex9_7.sce | //EX9_7 PG-9.21
clc
C=1000e-12;
C1=C;
C2=C;
f=500e3;
Ceq=(C1*C2)/(C1+C2);
L=1/(4*%pi^2*f^2*Ceq);//since f=1/(2*%pi*sqrt(L*Ceq));
L=L*1e6;
printf("\n Therefore L=%.3f micro H \n",L)
|
2cfd5a582a0e5da448f31e048bcdd7ec3127818e | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH4/EX4.12/4_12.sce | 19a95c1946127b10b1910ae7e95a8b7f52bb93d4 | [] | 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 | 281 | sce | 4_12.sce | clear; clc; close;
Re = 1.2*10^(3);
Rc = 4.7*10^(3);
Rb = 250*10^(3);
Vcc = 10;
Vbe = 0.7;
Beta = 135;
Ib = (Vcc - Vbe)/(Rb + (Beta)*(Re+Rc));
Icq = Beta*Ib;
Vceq = Vcc - Icq*(Rc+Re);
disp(Icq,'Value of Icq(Amperes) is : ');
disp(Vceq,'Value of Vceq(Volts) : ');
|
c59ead608e67d7e5456da216298cd4f6e6a4bc95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.46/Ex46.sce | 66422d3241b47ccf1b0f540d0219043d21850a66 | [] | 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 | Ex46.sce | //Ex:46
clc;
clear;
close;
p_ts=10*log(20)/log(10);//saturated transponder power in dbw
b=2;//back_off in db
p_b=p_ts-b;//power becomes with back_off in db
p_B=floor(p_b);
P_b=10^(p_B/10);//Power becomes with back_off
n_c=P_b/1;//no. of channels
n_cs=floor(n_c);
printf("The max no. of VSAT channels=%f",n_cs)... |
879f30c105204cff7f6f0880c85476f536647b52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH3/EX3.1/Ex3_1.sce | ca01c39f5128148b9e60d52e7d4467ab130509e1 | [] | 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 | 721 | sce | Ex3_1.sce | clc;
clear all;
//chapter 3
//page no 75
//example 3.1
A=1 //arbitrary value provided
T=10 //T represents tau (arbitrary value provided)
//plot for non periodic pulse
t=-2*T:.001:2*T;
vt=[zeros(-2*T:.001:-T/2) A*ones(-T/2+.001:.001:T/2-.001) zeros(T/2:.001:2*T)]
clf
subplot(211)
plot2d(t,vt,[2],rect=[... |
c89484b70524947c55e959203196037807fb6b4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1217/CH5/EX5.4/Exa5_4.sce | 25eab811707057b6b9e0efe017bc2d4ebb1d11fc | [] | 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 | 483 | sce | Exa5_4.sce | // Exa 5.4
clc;
clear;
close;
// given data
Ton=100;//in mSEC
Toff=200;//in mSEC
BETA=0.2;//unitless
//Let R1=1 Kohm
R1=1;//in Kohm
R2=R1*(1-BETA)/BETA;//in Kohm
// Assuming C=10 uF
C=10;//in uF
R3=Ton*10^-3/(C*10^-6*0.41);//in Kohm
R4=Toff*10^-3/(C*10^-6*0.41);// in Kohm
disp(R1,"Value of R1 in Kohm is... |
71f89ea20655c9c6625d00580a6c9ffb6572368f | 449d555969bfd7befe906877abab098c6e63a0e8 | /926/CH5/EX5.9/Chapter5_Example9.sce | b6ddb4c9d2af81449ba96579767d5953f9f7ea81 | [] | 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,068 | sce | Chapter5_Example9.sce | //Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
//Chapter-5, Illustration 9, Page 124
//Title: Estimation of dry bulb and wet bulb temperature
//============================================... |
fa90e273acf7f6940980b71eb8506c8dacd6ceea | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.13/EX3_13.sce | dfd9b06df8293f03c725b19ba49965e62bf66e8c | [] | 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 | 906 | sce | EX3_13.sce | //Calculate current and power input
//Chapter 3
//Example 3.13
//page 216
clear;
clc;
disp("Example 3.13")
R1=0.21; //primary resistance in ohms
X1=1; //primary reactance in ohms
R2=2.72*10^(-4); //secondary resistance in ohms
X2=1.3*10^(-3); ... |
a3701124d9c9a7cabf9cef6e7973647b802ebd16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH1/EX1.18.p/prob1_18.sce | 2ec1408364f24463c879244e9a487db0ec0da7b7 | [] | 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 | prob1_18.sce | // Prob 1.18
clc;
clear;
close;
format('v',6);
// Given data :
Poles=2;//no. of poles
m=3;//no. of phase
f=50;//in Hz
Ep=5700;//in volt
Xs=1.5;//in ohm/phase
Iphase=Ep/Xs;//in Ampere
IL=Iphase;//in Ampere
disp(IL,"Line current in Ampere : ");
|
a987b8b55df13c20eec53898b0d104e0b5ecbe7f | 91da29a7783c3162b1b743ad75d48814bd1f556e | /2_año/MN/p5.sce | e511f07a0242c03c8378056fce5873af055efa2d | [] | no_license | jfarizano/LCC | a149631059129b07a7c603bf16df0c1b25479edb | 70cb03b0ff0a788b1bbbf1a6bcd51beff48460fe | refs/heads/master | 2022-11-15T14:46:36.171561 | 2022-11-10T21:15:13 | 2022-11-10T21:15:13 | 246,933,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,575 | sce | p5.sce | function x1 = metodoJacobi(A, x0, b, eps)
[m, n] = size(A)
x1 = zeros(n, 1)
for i = 1:n
suma = 0
for j = 1:n
if j <> i then
suma = suma + A(i, j)*x0(j)
end
end
x1(i) = (b(i) - suma)/A(i,i)
end
while (norm(x0 - x1) > eps)
... |
033e78b6c2326c0dcba720a6e37a43fef75cd5f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH21/EX21.2/Example_21_2.sce | 09c79152c929386557bf6b4798ad02e3bb2757dd | [] | 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 | 490 | sce | Example_21_2.sce | //clear//
clear;
clc;
//Example 21.2
//Given
K = 273.16
T = 100+K ; //[K]
P = 10; //[atm]
//From Table 21.1
TcA = 198+K; //[K]
TcB = -147+K; //[K]
rho_cA = 0.552; //[g/cm^3]
rho_cB = 0.311; //[g/cm^3]
MA = 137.5;
MB = 28;
//Solution
VcA = MA/rho_cA //[cm^3/g mol]
VcB = MB/rho_cB //[cm^3/g mol]
//S... |
4b1de5dbdce54bb4b71c99be86d27585c0e5f43e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH8/EX8.7/Ex8_7.sce | acf9a8173d9a224dad12f55c5f7840a626c0fb96 | [] | 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 | 217 | sce | Ex8_7.sce | clc;
clear;
Wb=0.5*10^-6 //width of base region in m
Dp=15*10^-4 // in m^2/s
//Calculation
tau_n=Wb^2/(2*Dp) //in s
tau_B=tau_n //in s
fT=1/(2*%pi*tau_B)
mprintf("a) upper frequency limit= %1.2e Hz",fT)
|
427fa3605e934c5ee18c008c9478c0e2c7b59412 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH4/EX4.2/Example4_2.sce | 7fffa5c15094e90f3abfaab4a290dc2abd31f5aa | [] | 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 | 587 | sce | Example4_2.sce | clear ;
clc;
// Example 4.2
printf('Example 4.2\n\n');
// Page no. 93
// Solution
// Given
// Heat capacity = 139.1 + (1.56*10^-1)Tc J/(g mol* degree C), T is in degree C
// First convert Tc (Temperature in degree celsius) to TR (in degree R) to get c + dTR, where
c = 139.1 + (1.56*10^-1)*(-460-32)/1.8 ;
... |
aaf6b0827cff3e2e8f512cf0448e9a87e251ce82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH4/EX4.3/Ex4_3.sce | ea85162022cfe76354c2cff7c8393eefaeef3770 | [] | 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,091 | sce | Ex4_3.sce | //Exa 4.3
clc;clear;close;
format('v',5);
P=5;//MVA
V=1000;//V
speed=1500;//rpm//speed
ns=speed/60;//rps
f=50;//Hz
pf=0.8;//Power factor Lagging
Xs=20;//%//synchronous reluctance
Xs=Xs/100;///p.u.
disp("Part(a)");
V=1;//p.u.//on no load
E=1;//p.u.//on no load
Ps=V*E/Xs;//p.u.
Ps=Ps*P;//MW per elect. radi... |
b4e1ac7e7f5352aba1d49cc0328ef91da16f43b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.5/Ex5_5.sce | 119b119ad3d355b0ed735fe0bca428b6d7314ae7 | [] | 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 | 270 | sce | Ex5_5.sce | //pagenumber 288 example 5
clear
av=12480;
fedbac=8;//decibel
volgai=20*log10(av);//gain without fedback
volga1=volgai-fedbac;
beta1=((av/5000)-1)/av;
disp("voltage gain with fedback = "+string((volga1))+"decibel");
disp("beta = "+string((beta1)));
|
bc4939705bce07d632c7505fa41cf7bbef02c915 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH10/EX10.15/Ex10_15.sce | ccaeda1af6eead3d72bfbe0070437a82ee7bf60e | [] | 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,081 | sce | Ex10_15.sce | //Example 10.15
m=50*10^-3;//Mass of the disc (kg)
v=30;//Initial velocity of the disc (m/s)
M=2;//Mass of the stick (kg)
r=1.2;//Length of the stick (m)
I_prime=(m+M/3)*r^2;//Moment of inertia of the stick and disc stuck together, See Equation 10.128 (kg.m^2)
omega_prime=m*v*r/I_prime;//Angular velocity (rad/s)
... |
efa73c78a7b9858d96e6a5253745b12a489588d7 | 35071fb08cee13f4a9e79c396f7c8c028f69db0e | /Tests/Gencode/OK/print_variable.tst | 0328759ffe3f327b1e9b0bf207e8d3ae37011aae | [] | no_license | V1nc3ntL/Compilation | 2cd9d4fa728055cebd44659cba517e49298142bc | e2008449ddb509021f6ddcfd0a92226807bec9ab | refs/heads/master | 2023-06-01T09:42:01.069684 | 2021-06-02T19:15:13 | 2021-06-02T19:15:13 | 357,205,127 | 0 | 0 | null | 2021-05-31T12:13:32 | 2021-04-12T13:30:46 | C | UTF-8 | Scilab | false | false | 60 | tst | print_variable.tst | void
main ()
{
int i = 1 ;
print ("i " , i , "\n");
}
|
12cfa73ac38b0972ac0dd121be3d85772a8e9791 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /taller/soluciones/GaussSeidelR.sci | 596ad372d663d59b4f691d139bec2093ac46323e | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,497 | sci | GaussSeidelR.sci | // Problema 2
function [x, ea, iter] = GaussSeidelR(A,b,lambda,es,maxit)
//GaussSeidel: Gauss Seidel method
//x = GaussSeidel(A,b): Gauss Seidel without relaxation
//input:
//A = coefficient matrix
//b = right hand side vector
//es = stop criterion (default = 0.00001%)
//maxit = max iterations (default = 50)
/... |
cc31612ec8676881c73211cb43800f3102984790 | 39c201c777151f939341e8f8150242bcde5a111b | /CH1/EX1.6/example6.sce | ca2959a49de4c2a096169132eee842a680ba25f6 | [] | no_license | nidhimj22/Scilab_Project- | 925a5883384736e79f1e600535461c6c9f06de40 | 4a9d1db96787ba0ea4e996349523a0b84bdacae3 | refs/heads/master | 2021-01-20T05:49:48.811688 | 2014-02-06T10:03:52 | 2014-02-06T10:03:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | example6.sce | // convert into norton circuit
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 1-6, page 19
clear;clc; close;
// Given data
Vth=10;// Thevenin voltage in volts
Rth=2000;// Thevenin resistance in ohms
// Calculations
In=Vth/Rth;// Norton current i... |
c9a41f273898729d3fe99c1e73b89be23db0ad60 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH2/EX2.25/ex2_25.sce | 0e48d5eb3702d66c45dd4d3bf935f577fc4aa02e | [] | 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 | 338 | sce | ex2_25.sce | // Exa 2.25
format('v',7);clc;clear;close;
// Given data
Wrange= 500;//wattmeter range in W
del_A= 1.5*Wrange/100;//limiting error at full scale in W
P= 50;//power in W
Pmin= P-del_A;// minimum power in W
Pmax= P+del_A;// maximum power in W
disp("The range of the reading is : "+string(Pmin)+" watts to "+string(... |
917d757e28f2fe7788f133f0d1b5d50ecef0b772 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH13/EX13.7/ex13_7.sce | 630d60644284580b297a2f4254b5abaf2d2eeae5 | [] | 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 | 482 | sce | ex13_7.sce | clc;clear;
//Example 13.7
//calculation of uncertainty in position
//1)given values
h=6.626*10^-34;//Planck's constant in Js
v1=220;//velocity of e in m/s
m=9.1*10^-31;//mass of e in kg
A=0.065/100;//accuracy
//1)calculation
v2=v1*A;//uncertainty in speed
x1=h/(2*%pi*m*v2);//
disp(x1,'uncertainty in ... |
ace001eef8dccb0a1ddaf8630772103058c591cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH7/EX7.3/7_3.sce | 772a5acc7cb721798321db593dc2e34521d27492 | [] | 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 | 207 | sce | 7_3.sce | clc
//Initialization of variables
L=50
Fm=0.02 //N
Vm=1 //m/s
//calculations
Fp=L^3 *Fm
Fp=Fp*0.2248
Vp=sqrt(L) *Vm
Vp=Vp*3.28
Hp=Fp*Vp/550
//results
printf("Required horsepower = %.1f hp",Hp)
|
fb04b912f5490c052e5d290d0fe54de780e548ef | e58ee115056e7db70e0a5c071ab5146400e8e539 | /realimentador_estados.sce | 3aeae74fdbdc22e3e19fea0dc7ceb5ed2d387f8d | [
"MIT"
] | permissive | mofreitas/algoritmosSistemasControle | 7236f5a4020f242a8db69e641c817ad99a8638ef | fb666ab6708554caa8259e1f505f35225d1046c8 | refs/heads/master | 2020-07-07T20:30:51.712572 | 2019-08-20T23:47:44 | 2019-08-20T23:47:44 | 203,469,282 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,408 | sce | realimentador_estados.sce | function[] = realimentador(A, B, C, polos)
U = zeros(length(polos), length(polos));
for i=1:length(polos),
U(:,i) = (A^(i-1))*B;
end
printf("Matriz U/Wc ------------------------\n");
disp(U);
if(rank(U) == size(U, 'r')) then
printf("\nSistema é controlável\n");
... |
93e29482ea338d58bee330797dd26c4472c4d52a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH3/EX3.c.207/Ex3c_7.sce | 22ba9799eb247e34d270dc17941eca23faa0e41e | [] | 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 | 513 | sce | Ex3c_7.sce | // Scilab Code Ex3c.7: Page-185 (2008)
clc; clear;
D = 1.2; // Distance between the source and the slit, m
d = 7.5e-004; // Separation between the two slits, cm
n = 20; // Number of fringes crossed in the field of view
bita = 1.888e-002/n; // Fringe width, cm
lambda = bita*d/D; // Wavelength of ligh... |
cbfd96fd8c332ea7b520f5516e4bb863497e5f0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.16/Ex2_16.sce | 823a57b8cd9ec7592f75dd41f9bd3a25a6304531 | [] | 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 | 137 | sce | Ex2_16.sce | //Example 2-16, page No-49
clear
clc
fr=28*10^6
Q=70
bandwidth = fr/Q
printf('The bandwidth is %.3f Khz',bandwidth/10^3)
|
9765d4f4e148de4f6c304fddae3d8ce4859d1039 | 449d555969bfd7befe906877abab098c6e63a0e8 | /914/CH2/EX2.3/ex2_3.sce | af720e16fafacc2255855174344480c91fa68bd3 | [] | 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 | 355 | sce | ex2_3.sce | clc;
warning('off');
printf("\n\n example2.3 - pg30");
// given
tauyx=-0.003; //[N/m^2] - momentum flux
dely=0.1; //[m] - distance between two parralel plates
mu=0.01; //[kg/m*sec] - viscosity
// using the formula tauyx=F/A=-mu*(delUx/dely)
delUx=-((tauyx*dely)/mu)*100;
printf("\n\n Velocity of the top plat... |
8e17f9aa1fde8834ddcbdd572bd9b142374f2c67 | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH7/EX7.2/ex7_2.sci | 418297737a74eea5bca661d3e667f83b212268f1 | [] | 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 | 219 | sci | ex7_2.sci | //Chapter7,Pg7.4,Ex7.2
clc;
Bdc=90 //
Ic=15 //Collector current
Ib=Ic/Bdc
printf("\n Ib=%.2f uA \n",Ib*10^3)
Ie=Ib+Ic
printf("\n Emitter current Ie=%.2f mA \n",Ie)
Adc=Bdc/(Bdc+1)
printf("\n Adc=%.2f \n",Adc)
|
1aca85104a2da0b5295b44fc6fb1a68f8a709d52 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH12/EX12.6/Chapter12_Example6.sce | a465c65e58080d498b557a88911d54566b4053d7 | [] | 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 | 405 | sce | Chapter12_Example6.sce | clc
clear
//INPUT
d=0.35;//diameter of the mirror in m
t=5;//time in min
T=16;//temperature of water found to be in deg.C
m=60;//mass of water in gm
mc=30;//mass of calorimeter in gm
cp=0.1;//specific heat of copper in cal/gm/deg.C
//CALCULATIONS
q=(m+cp*mc)*T*4/(5*3.14*d^2);//amount of heat received by e... |
fab03a031d38da8b27b069b05ff18d9caab3347f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH14/EX14.4/14_4.sce | 716eaf9507b4bb7c063f8d30c5fb7472a3331b57 | [] | 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 | 459 | sce | 14_4.sce | clc
//initialisation of variables
h1= 3892.2 //kJ/kg
h2= 4102.2 //kJ/kg
dh= 1015.4 //kJ/kg
dh1= 448 //kJ/kg
h3= 2151.1 //kJ/kg
h4= 3081.1 //kJ/kg
//RESULTS
printf (' Specific Enthalpy= %.1f kJ/kg',h1)
printf (' \n Specific Enthalpy= %.1f kJ/kg',h2)
printf (' \n Specific Enthalpy= %.1f kJ/kg',h3)
printf (' \... |
59a4fcb62245404f62648d8e19d1d92abac0f1e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /644/CH1/EX1.3/p3.sce | d8309331f0c9de158bc150c86eb6e5427445d208 | [] | 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 | 919 | sce | p3.sce | // Example1.3. A coil consists of 2000 turns of copper wire having a cross sectional area of 0.8 mm^2. The mean length per turn is 80 cm and resistivity of copper is 0.02 micro-ohm- metre. Find the resistance of the coil and power absorbed by the coil when connected across 110 V d.c. supply.
//1 millimetre = 10^-3 me... |
0cc12b2a295029160dc376bd4b7fea628599e8f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH13/EX13.15/Example_13_15.sce | bcf443b19773a174f68871ecb4695a56ae2298d1 | [] | 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 | 998 | sce | Example_13_15.sce | //Chemical Engineering Thermodynamics
//Chapter 13
//Thermodynamics in Phase Equilibria
//Example 13.15
clear;
clc;
//Given
T = [146.2 142.3 126.1 115.9 95.0 98.0 100];//Temperature in deg cel
P1 = [760.0 685.0 450.3 313.0];//Vapour pressure of 1,1,2,2-tetrachloroethane at the coressponding temperature in m... |
30448e598fb6f0d8bc3be7bc69d49f247af9bdea | 449d555969bfd7befe906877abab098c6e63a0e8 | /555/CH7/EX7.2/2.sce | f2fcf41329143290873f9e874428c58fd4a08142 | [] | 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 | 811 | sce | 2.sce | // Implementation of example 7.2
// Basic and Applied Thermodynamics by P.K.Nag
clc
clear
// T for temperature,m for mass,S for entropy,dS is change in entropy
t1=273 // K
t2=373 // K
m=1 // kg
c=4.187
// (a)
dSw=m*c*log(t2/t1);
// reservoir's temperature remains constant so dS=Q/T
Q=m*c*(t2-t1);
dSr=-... |
9e826ee725180d2f0cbb935675de5e0949bf2c35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH1/EX1.45/Ex1_45.sce | 3b79bf8dcd6a2ea8a6b7632a4e8f05ff8237a9d7 | [] | 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,060 | sce | Ex1_45.sce | clc;
v1=10; // voltage applied to primary when secondary is short circuited
ip=60; // primary current when secondary is short circuited
k=0.8; // turns ratio
E1=250; // input voltage for load voltage has to be calculated
E2=200; // rated voltage of secondary
il=100; // load current
pfo=0.24; // power factor duri... |
8a35f0d568a92c15eaadf36efc39f097106898d1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/signal/convol.sci | d1bb1c83e3f3fd379f7c092d5f9bde86cd5c46e6 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 674 | sci | convol.sci | function [y,y1]=convol(h,x,y0)
[lhs,rhs]=argn(0),
n=prod(size(x)),
m=prod(size(h)),
m1=n+m-1;
x(m1)=0;h(m1)=0;
if norm(imag(x))==0&norm(imag(h))==0 then
y=real(fft(fft(matrix(x,1,m1),-1).*fft(matrix(h,1,m1),-1),1)),
else
y=fft(fft(matrix(x,1,m1),-1).*fft(matrix(h,1,m1),-1),1),
end
i... |
c112ae75e5ba3b8115e1fbb25f291612cf9a5371 | 2875b7a7a87e6280e5aac1fb50dc04dfbcc23d3f | /lec/mdyn/scilab/vib-res2.sce | 72f4e2b3837de2c7f834a7ccbb1bf3777a8e1bc6 | [] | no_license | ktysd/ktysd.github.io | eb8946c877a6cb209960be57bfbcc1fe429abedd | 1e29a628e63ea476b4891da5c12276d1ae11c4a7 | refs/heads/master | 2021-04-26T15:07:02.322758 | 2020-11-02T07:33:51 | 2020-11-02T07:33:51 | 123,993,111 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 569 | sce | vib-res2.sce | //
// "vib-res2.sce"
//
clear; clf();
load("vib_res.dat","om1","xxmax"); // vib-res.sce で保存したデータ
m=1; c=0.2; k=1; P=1;
zeta = c/( 2*sqrt(m*k) ); // 表3.1
omn = sqrt(k/m); // 表3.1
function y = K(Om)
global zeta;
y=1/sqrt((1-Om^2)^2 +(2*zeta*Om)^2);
endfunction
om2 = linspace(0.2,1.6,100);
A = P/(m*omn^2);
f... |
62cc854bedba87e7d9544679116215cd87e755b1 | 7dbe475cd217e686e9689cb0536a9a73f625a85b | /Rez/univariate-lcmsr-post_mi/usi_d/~LCM-SR-usi_d-nat.tst | 0cbd815088502dbdf5f012bd53ec679c5d2eb75a | [] | no_license | jflournoy/lnt_pxvx | fac8d6b00b886fa3dc800dcaa288aa186027b9ea | 3f1ddc64e4bf0aecddfa21d45f889620dbdd442d | refs/heads/master | 2021-10-20T12:52:55.625243 | 2019-02-27T17:06:09 | 2019-02-27T17:06:09 | 64,423,528 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,999 | tst | ~LCM-SR-usi_d-nat.tst |
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.309980D+00
2 -0.179830D-02 0.283944D-02
3 -0.898948D-04 -0.23799... |
9e3c42e640e914e9a5a5ffd2f70996fa6605f8b1 | 34dcfd0a3d3a661a623ba00e305d50592ca2e9cf | /Bissecção.sce | 71d919be87fa4613e3ebd381928e8f3bf588a7d7 | [] | no_license | kelly-santos/M-todo-N-merico | 65bc023d4a705c83037634540d2b6ae1ed967242 | 9ae1c6d1eeb8bb855b8d911e896d2a918762c66b | refs/heads/main | 2022-12-27T10:17:16.964964 | 2020-10-12T17:12:15 | 2020-10-12T17:12:15 | 303,458,411 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 358 | sce | Bissecção.sce | function y =fa(x)
y = -481 +408 +589.64 * x + (-2349.163 * x^2)/2
endfunction
a = 0
b = 0.3
x= a
contador = 0
while(1)
xOld = x;
x= (a+b)/2;
Er = abs((x-xOld)/x)
contador = contador + 1
if (Er < 10^-4) then
break
end
if(fa(a)*fa(x) < 0)
b= x
... |
ec7975b4b372fbadfe8a7d76a67f64ed3ebe1cc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH13/EX13.12/Ex13_12.sce | 4eb3846c8de6a50229ea1a00b31ff5a9dcd9c98e | [] | 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 | 689 | sce | Ex13_12.sce | clear all; clc;
disp("Scilab Code Ex 13.12 : ")
//Given:
L = 1600; //mm
K = 2;
l = 80; //mm
b = 40; //mm
e = 20; //mm
c = 40; //mm
//Calculations:
I1 = (1/12)*(l*b^3);
A = l*b;
r = sqrt(I1/A);
sl_ratio = (K*L)/(r);
//Eqn 13.26:
sigma_allow = (378125)/(sl_ratio^2);
I2 = (1/12)*(b*l^3);
coeffic... |
528463f3d870536d21f4f2833dce2ae752ec9bae | c615df4b42fe20e90a196619f909aefb59526107 | /test1.tst | bdc2534fa4f93053e18580b826f1df755745b9c2 | [] | no_license | cs310comporg/A7 | 057f5b542cbe138ea04c05a80d0e801a15fa16ea | 9a8b60acb78e3edb5f1702add8dcdba4da52ce90 | refs/heads/master | 2020-05-18T21:58:54.189394 | 2019-05-08T20:49:30 | 2019-05-08T20:49:30 | 184,678,572 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | tst | test1.tst | load Larc.hdl,
set RAM16K[0] %X8101, // 1. li R1 1 R1 <-- 1
set RAM16K[1] %X8202, // 2. li R2 2 R2 <-- 2
set RAM16K[2] %X9FFF, // 3. lui R15 -1 R15 <-- -256
set RAM16K[3] %X0312, // 4. add R3 R1 R2 R3 <-- 3
set RAM16K[4] %X141F, // 5. sub R4 R1 R15 ... |
de093f625a575d639aadd9545c4918b3a77507aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2282/CH7/EX7.6/ex7_6.sce | e1a6c8ce249dc1c7858240b508e497769bedd0a1 | [] | 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 | 730 | sce | ex7_6.sce | // Example 7.6, page no-272
clear
clc
L=1.778 //Loss factor of the feeder 2.5dB equivalent
ts=30 //Noise temperature of sattelite receiver in K
t=50 //Noise temperature in K
ti=290 // reference temperature in K
x=t/L
y=ti*(L-1)/L
Te=x+y+ts
F1=1+(ts/ti)
F2=1+(Te... |
e17e223c799a6105d4a9c2b508a619c63b0e283a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH13/EX13.3w/13_3w.sce | 7d0a5948f859eff1294658b2bdc135c3d0e5d464 | [] | 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 | 415 | sce | 13_3w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 13.3w
//calculation of the height of the water coloumn
//given data
h1=2*10^-2//difference in the height(in m)
s=13.6//specific gravity of mercury
//calculation
//P = P0 + (h*rho*g)........using this equation
h=h... |
b4f24a972b422d4e3f82a9857a70679568c4cf4c | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH4/EX4.16.b/Example4_16_b.sce | f904ebbf1fdcfb8c630d5f46c782f1f6c4c80045 | [] | 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 | 270 | sce | Example4_16_b.sce | errcatch(-1,"stop");mode(2);//Example 4.16 (b)
//Program to Evaluate and Compare the 8-point DFT of the given Sequence
//x2[n]=1, 0<=n<=6 using DIT-FFT Algorithm.
;
;
;
x2=[1,1,1,1,1,1,1,0];
//FFT Computation
X2 = fft (x2 , -1);
disp(X2,'X2(k) = ');
exit();
|
34b35125a8018206c031dd8e25347daa4067c2d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH10/EX10.6/Example10_6.sce | 13228fe9c851e416924d7a73d1831f5194937e86 | [] | 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,030 | sce | Example10_6.sce | clear ;
clc;
// Example 10.6
printf('Example 10.6\n\n');
// Page no. 281
// Solution
// Basis: P=100 // Product from the reactor-[g mol]
P=100 ;//Product from the reactor-[g mol]
// Composition of product
C3H8 = 0.195*P ;// [g mol]
C4H10 = 0.594*P ;// [g mol]
C5H12 = 0.211*P;// [g mol]
n_un = 3 ;// Number of unknowns... |
189ee3e2c27d9fc6f43b862c0d62b61d4caa17e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH2/EX2.7/2_7.sce | fd6ce9d9b2d15fe4a6701842952514ae0bf66ecc | [] | 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 | 2_7.sce | clc();
clear;
// To calculate the relaxation time of conduction electrons
rho=1.54*10^-8; //resistivity in ohm-m
n=5.8*10^28; //electron/m^3
m=9.108*10^-31; //mass in kg
e=1.602*10^-19; //charge in coulomb
tow=m/(n*(e^2)*rho);
printf("relaxation time of conduction electrons in sec is");
disp(tow);
|
1a159b09caf14176f28bdb5c2f26393e42facb40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.29/Ex6_29.sce | 48d84d2cf4b6add6da08c2a6c6e1cc5dff90f2cc | [] | 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,365 | sce | Ex6_29.sce | //debug
clc;
V1=420; //supply voltage
r1=2.95;
x1=6.82;
r2=2.08;
x2=4.11;
Iml=6.7; //magnetizing line current
Pw=269; //core loss
s=0.03; //slip
P=12;
f=50;
N=(120*f)/P;
Ns=(120*f)/P;
Im=Iml/sqrt(3);
//V1=E1+Im(r1+jx1)
//Above equation on solving gives the solution as E1*E1+52.8E1-175572.65
Q=[1 52.8... |
5a0abe5ab172290b75e3ca008b83ff65793e5551 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_diff_3_i.tst | be679627dea1684d26931e4f49bff1745feb1bdb | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 16 | tst | test_diff_3_i.tst | y0
y1
a
g
x0
x1
|
33d329a5d53caeca812338f571003047c77340fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH4/EX4.25/Ex4_25.sce | 01d892fdf397bde383a45972cf5616edb562461a | [] | 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 | 849 | sce | Ex4_25.sce | // Calculating the amount of oil and amount of water
clc;
disp('Example 4.25, Page No. = 4.51')
// Given Data
MVA = 40;// MVA rating of transformer
Q = 200;// Total losses (in kW)
Q_oil = 0.8*Q;// Since 20% of losses are dissipated by tank walls Heat taken up by oil (in kW)
// Calculation of the amount of oil
... |
785bf5138739d83f0a798d21daec7846d0b516c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH8/EX8.4/8_4.sce | b3ff15b2be78e11d1fca1b0d5df36d869d979fc9 | [] | 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 | 432 | sce | 8_4.sce | //All the quantities are expressed in SI units
M = 2.79; //Mach number
T = 320; //static temperature from ex. 7.3
p = 1; //static pressure in atm
gam = 1.4;
//from eq. (8.40)
T0 = T*(1+((gam-1)/2*M*M));
//from eq. (8.42)
p0 = p*((1+((gam-1)/2*M*M))^(gam/(gam-1)));
printf("\nRES... |
8b91384d4b7256b580f3fd1eebc67f22d5bdb1b5 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Colosseum Aimbotz.sce | 5368c848eae47a097d67124bc81d4dd6617fcc5a | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 104,522 | sce | Colosseum Aimbotz.sce | Name=Colosseum Aimbotz
PlayerCharacters=Roman
BotCharacters=Barbarian.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Roman
AddedBots=Barbarian.bot;Barbarian.bot;Barbarian.bot;Barbarian.bot;Barbarian.bot;Barbarian.bot;Barbarian.bot;Barbarian.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0;0;0;0;0
PlayerTeam=2
BotTeams=1;1;1... |
2953fc32781d1964af7168349216acc9c91a97f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH5/EX5.11/chapter5_ex11.sce | 30d9f77670fced2a6c595b05a1bec23256862dce | [] | 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 | 654 | sce | chapter5_ex11.sce | clc
clear
//input
c=4*(10^-6);//capacitance of a capacitor by which a resistive-inductive load is shunted in farad
v=2;//supply voltage in volts
f=5000;//supply frequency in hertz
q=10;//Q factor of the circuit
//calculations
vwc=2*2*%pi*f*c;//capacitor current in amperes
it=vwc/q;//total current in amper... |
c343538f6c8c86a7952f3ab4e816c26be52cbe78 | a2845a06ebac1138c6854d691780b120cdd556ab | /euler.sce | 0be6088f81cf04d4b4cf2e49e4e4f18a55b1634d | [] | no_license | asp2809/Scilab-Programs | d734202084dc70e2b4e3281410833d315ce1558c | 6a49e9401ee81dd3ffc909fe6a3954b5e184c70c | refs/heads/master | 2020-03-10T15:11:33.831289 | 2018-10-05T09:50:06 | 2018-10-05T09:50:06 | 129,443,439 | 1 | 0 | null | 2018-10-05T09:50:07 | 2018-04-13T19:10:50 | Scilab | UTF-8 | Scilab | false | false | 296 | sce | euler.sce | //program to solve differential equation using euler's method
function []=euler(x0,y0,xn,h)
deff('y1=f(x,y)','y1=(y-x)/(y+x)')
y1=y0+(h)*f(x0,y0)
x0=x0+h
y0=y1
while x0<xn
y1=y0+(h)*f(x0,y0)
x0=x0+h
y0=y1
end
disp(y1)
endfunction
|
041fce8be7d6099658ec40fadada6699c105ee8f | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH12/EX12.10/Ex12_10.sce | 6e9957a2d0e8f034c28a4a6316b248dd92e93c01 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 414 | sce | Ex12_10.sce | //Chapter 12 : Solutions to the Exercises
//Scilab 6.0.1
//Windows 10
clear;
clc;
//Solution for 1.18
A=[0 1;0 1]
B=[-1 -1;0 0]
AB=A*B
disp(AB,'AB=')
A2=A^2
disp(A2,'A^2=')
B2=B^2
disp(B2,'B^2=')
AB2=(A+B)^2
disp(AB2,'(A+B)^2=')
e1=A2+2*AB+B2
disp(e1,'A2+2*AB+B2=')
e2=(A+B)*((A+B)^2)
disp(e2,'(A+... |
ac8eb736598619c07fce5ad5dd8b91823837ee44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH8/EX8.10/Ex8_10.sce | 29506976fbf6b2bea502f15162dc643ad0411be6 | [] | 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 | 631 | sce | Ex8_10.sce | clc;
m=30; // mass flow rate in kg/s
N=15000; // Speed in rpm
r2=0.3; // Radius in m
D2=r2*2; // Diameter in m
w2=100; // Relative velocity in m/s
beta_1=80; // in degrees
p01=1; // Inlet pressure in bar
T01=300 // Inlet temperature in kelvin
Cp=1.005; // specific heat at constant pressure in kJ/kg K
r=1.4; /... |
53494ef8348ccda196a56ef800853333ff64baed | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH1/EX1.2/1_2.sce | 277c6bb2fc33d03b6dedf4ea5acbaca4355f05a4 | [] | 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 | 212 | sce | 1_2.sce | clc
//initialisation of variables
Dp= 1 //in
Dr= 10 //in
R= 12
W= 15 //tons
//CALCULATIONS
Ar= %pi*Dr^2/4
Ap= %pi*Dp^2/4
P= W*2240/((Ar/Ap)*R)
//RESULTS
printf ('power applied to lever = %.f lbs',P)
|
3820f8f357d3f624b6fd9331792397ea59abfe17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH6/EX6.5/6_5.sci | 7a180022ad5a627cbe30f06b3e132ccabfc1b482 | [] | 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 | 183 | sci | 6_5.sci | // 6.5
clc;
R=10*10^3;
Ri=100*10^3;
Rt=100*10^3;
Rp=(Ri*R)/(Ri+R);
Attenuation=Rp/Rt;
Attenuation_factor=1/Attenuation;
printf("\nAttenuation factor=%.1f ",Attenuation_factor) |
36661fd67f255e12ab106125680491ef57a04ae9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH4/EX4.9/Ex4_9.sce | f887bbc9173cdeefd4bd1b15570668db56cfab28 | [] | 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 | 209 | sce | Ex4_9.sce | clc
//to calculate strength of solution
theta=11 //degree
l=20 //length in cm
alpha=66 //specific rotation of sugar in degree
c=10*theta/(l*alpha)
disp("strength of solution is c="+string(c)+"gm/cm^3")
|
7a00ca5646a528af42b906fb50cc3f260d0e973d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH8/EX8.7/8_07.sce | a399f089500933071e2ce243d2d585786c4b236b | [] | 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 | 316 | sce | 8_07.sce | errcatch(-1,"stop");mode(2);//Chapter 8, Problem 7
;
Q=1.6*10^-19; //charge in coulombs
v=3*10^7; //velocity of charge
B=18.5*10^-6; //flux density
F=Q*v*B; //Calculating force
printf("Force = %f x10^−17 N",F*10^17);
exit();
|
49c231867cbcd9efff01ce1eb7b17950e2ff0e49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH3/EX3.27/ex3_27.sce | 6017f2a28430fff14f391bf8422ed0696910d5a1 | [] | 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 | 282 | sce | ex3_27.sce | //Exam:3.27
clc;
clear;
close;
//Miller indices of plane
h=1;
k=1;
l=1;
wavelength=0.54;//in angstrom
a=3.57;//size of a cube
n=1;
d_111=a/(h^2+k^2+l^2)^(1/2);//interplanar spacing(in Angstrom)
angle=asind(n*wavelength/(2*d_111));
disp(angle,'Bragg angle(in degree)='); |
1f1ce0f7102f76d30ca229c601c1f77d56c33650 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2303/CH1/EX1.7/EX_1_7.sce | 3b3e2ea5996d39f1fc12d6390384842c7e52e9fc | [] | 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 | 249 | sce | EX_1_7.sce | //Example 1.7
clc;
clear;
close;
t =0:0.01:10
F=1000;
x=sin(2*%pi*F*t);
P={integrate('(sin(2*180*F*t)^2)','t',-0.001,+0.001)}/(2*1/F);
disp(P,"Power of signal= ");
disp("Since the given signal has a finite power, it is a POWER signal");
|
d1e98d517f31f950eb3f35c76eaff90a7019e719 | 717ddeb7e700373742c617a95e25a2376565112c | /1592/CH1/EX1.7/Example1_7.sce | e6f31fdfa7989fb5671a1ba1d2faa2000b997cfc | [] | 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 | 699 | sce | Example1_7.sce | //Scilab Code for Example 1.7 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
n=1;
for t=-10:0.1:10;
//Function for Even signal
y1(n)=0.5*(exp(-t)*u(t)+exp(t)*u(-t));
n=n+1;
end
a=gca();
a.x_location="origin";
a.y_location="origin";
t=-10:0.1:10;
//Plot of Even Signal
plot(t,y1);
t... |
37e89febd2fa51214af461e12fab3bbaa6009933 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH2/EX2.6/2_6.sce | 918b5281b623b5c0fc008676a6299f0d07b906f2 | [] | 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 | 168 | sce | 2_6.sce | //Example 2.6
//Integration
//Page no. 36
clc;clear;close;
disp(integrate('1/x','x',exp(-4),1),'Integration Value='); //performing integration with respect to dx |
a773342d62b50fd074a63c2df39470517b4c90ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH13/EX13.4/Ex13_4.sce | c7ea83e14ae08f319d09b0ac9a04428c4afd8581 | [] | 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 | 842 | sce | Ex13_4.sce | //Example 13_4
clc;clear;
// Given values
S_0=0.003;// Bottom slope
n_1=0.030;
n_2=0.050;
// Calculation
s=sqrt(3^2+3^2);
//Then the flow area, perimeter, and hydraulic radius for each subsection and the entire channel become
// Subsection 1:
A_c1=21;// m^2
p_1=10.486; // m
R_h1=A_c1/p_1;// m
// Subsect... |
38ecdde20cf5a643b19e4226ae8962c62728cd2e | e806e966b06a53388fb300d89534354b222c2cad | /macros/grayconnected.sci | 09a728972e9d64019ce46f0f6060b84208754a73 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 626 | sci | grayconnected.sci | function [out]=grayconnected(input1,input2,input3,varargin)
inputn=mattolist(input1);
[lhs rhs] = argn(0)
if rhs>4 then
error(msprintf("Too many input arguments"))
elseif rhs==4 then
a=opencv_grayconnected(inputn,input2,input3,varargin(1));
dimension=... |
bbe235ac64171abd300174366315e7a3b6d2b091 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/modulate/modulate15.sce | 51bba45525da59e6eef93b935aa993aa0b050574 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sce | modulate15.sce | //i/p arg x is a vector
x=[1 2 3 4 5 7 89 8];
fc=100;
fs=500;
y = modulate(x,fc,fs,'pwm');
disp(y);
//output
//!--error 10000
//x must lie between 0 and 1
//at line 115 of function modulate called by :
//y = modulate(x,fc,fs,'pwm');
|
23f5014c37c60e1578813dfe13e19ac842024e8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH27/EX27.15/Ex27_15.sce | 06a2f8199f7b29845a2868ee5ff0f1c2f059a9e3 | [] | 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 | 276 | sce | Ex27_15.sce | clc;
//e.g 27.15
hfe=100;
hie=2*10**3;
Rc=470;
Re1=100;
Re2=100;
R1=15000;
R2=5600;
AV=(hfe*Rc)/hie;
disp(AV);
a=((R1*R2)/(R1+R2));
Ri=(a*hie)/(a+hie);
disp('ohm',Ri*1,"Ri=");
b=Re1/Rc;
AV1=AV/(1+b*AV);
disp(AV1);
Ri1=Ri*(1+b*AV);
disp('OHM',Ri1*1,"Ri1=");
|
4d30a28677ff2a84a65f3cb887597462d7289067 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH4/EX4.23/EX4_23.sce | f4dd02bcf1062dc9b1689ca041d42fb32ebfc108 | [] | 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 | 542 | sce | EX4_23.sce | //Calculating additional resistance required
//Chapter 4
//Example 4.23
//page 320
clear;
clc;
disp("Example 4.23")
// we know (Ts/Tm)=((2*a)/(1+a^2))
//where a=(R2/X20)
//at starting contion since Tm=Ts
disp("At starting contion since Tm=Ts")
a=1 //we obtain from the relations
R2=0.05; ... |
20e1bda3216d81026a1a5729f59c3f2718d7627c | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH12/EX12.4/ex12_4.sce | 53d1dcd68cb45fff752968b0dde0caf660095197 | [] | 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 | 558 | sce | ex12_4.sce | syms m11 m12 m13 m21 m22 m23 m31 m32 m33 ^
s=%s;
poly(0,"l");
A=[0 1 0;3 0 2;-12 -7 -6]
[r c]=size(A)
I=eye(r,c);
p=l*I-A;
q=det(p); // determinant of li-p
// roots of q are
l1=-1;
l2=-2;
l3=-3;
x1=[m11;m21;m31];
q1=(l1*I-A)*1
// on solving we find m11=1 m21=-1 31=-1
m11=1;m21=-1;m31=-1;
x2=[m12;m22;m32... |
172abb6a644a026797777f38c5d6c8d2e142d2c1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/util/g_size.sci | 8059ed91e5e9d658afe36b06734a05ce8d3dbbd7 | [
"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 | 753 | sci | g_size.sci | function [m,n,nx]=g_size(x,flag)
// only to be called by size function for dynamical systems
//!
[lhs,rhs]=argn(0)
x1=x(1);
if x1(1)=='r' then
if lhs==1 then
if rhs==1 then
m=size(x(2));
else
m=size(x(2),flag);
end
elseif lhs==2 then
if rhs<>1 then error(41),end
[m,n]=size(x(2));
... |
c2cb974b4da1e00f5f965e44c9c665bab876ee44 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH10/EX10.7/ex7.sce | 557f30a546e42032ef8dc7d85c24c16dba9db8ee | [] | 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,170 | sce | ex7.sce | //example 7
//Second-Law Analysis of an Ideal Rankine Cycle
clear
clc
xdest12=0 //irreversibility during the process 1 to 2 in kJ/kg
xdest34=0 //irreversibility during the process 3 to 4 in kJ/kg
s2=1.2132 //specific entropy for state 2 in kJ/kg-K
s4=6.7450 //specific entropy for state 4 in kJ/kg-K
s1=s2 //sp... |
f3ba2a8c4d699970aa000e68535f407e7e7254fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1952/CH10/EX10.2/Ex10_2.sce | 2ac0d3b8da9cc58e9553d87aebb0549b0c2f3297 | [] | 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 | 283 | sce | Ex10_2.sce | // chapter 10 , Example10 2 , pg 290
Er=1.0024 //Dielectric constant
N=2.7*10^25 //(in atoms/m^3)
E0=8.85*10^-12 //permittivity of free space (in F/m)
Alpha_e=(E0*(Er-1))/N //electronic polarization
printf("Electronic polarization (in F*m^2)\n")
disp(Alpha_e)
|
b1efbd7eb24ddf1335e431c69b255dedcee4d9a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH2/EX2.7/Ex2_7.sce | f4eaecf63fd69086424acb115e843045613deb89 | [] | 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 | Ex2_7.sce | //Example 2_7
clc();
clear;
//To Calculate highest power of spectrum seen with mono chromaic light
lamda=6000 //units in armstrongs
lamda=lamda*10^-8 //units in cm
n=5000
e=1/n //units in cm
k=e/lamda
printf("The highest order spectrum Seen with monochromatic light is %.2f",k)
|
e085d7bd0121cd7412cc0aaa0e1a8f191bb18d65 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/xstring.man.tst | 547cc65f1ce116339b3bbd912322da41d5cffaec | [
"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 | 640 | tst | xstring.man.tst | clear;lines(0);
plot2d([0;1],[0;1],0)
xstring(0.5,0.5,["Scilab" "is"; "not" "esilaB"])
//Other example
alphabet=["a" "b" "c" "d" "e" "f" "g" ..
"h" "i" "j" "k" "l" "m" "n" ..
"o" "p" "q" "r" "s" "t" "u" ..
"v" "w" "x" "y" "z"];
xbasc()
plot2d([0;1],[0;2],0)
xstring(0.1,1.8,alphabet) //... |
e8033961ff240f858a879a8873692ddd58308af7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH3/EX3.1/Ex3_1.sce | 4ad0268acbfa909f992b9b813376029497d87f9a | [] | 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 | 194 | sce | Ex3_1.sce | //Determine the moment
//Refer fig. 3.5
//Take clockwise moment as positive
//Apply Varignon's Theorem
MA=100*300*cosd(60)-100*500*sind(60) //N-mm
printf("MA=%f N-mm,Anticlockwise",-MA)
|
8b82a01ac43b3ddaf4e72985905fa47343d11496 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH2/EX2.1/EX2_1.sce | 08cd21979a186647f7253417cee920874445676d | [] | 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 | 844 | sce | EX2_1.sce | clc;funcprot(0);//Example 2.1
//Initilisation of Variables
T1=1300;.........//outermost tempatarure of composite wall in degrees celcius
T3=115;.........//outermost tempatarure of composite wall in degrees celcius
L1=500;.........//thickness of first slab in mm
L2=161;.........//thickness of second slab in mm
K1=... |
4a1fe3087fe72978e5db52af87110bed8590510d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.10/5_10.sce | dda1cb11e082340db1da92f4c4c5d5c82517fe86 | [] | 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 | 542 | sce | 5_10.sce | clc,clear
printf('Example 5.10\n\n')
VA=125*10^3
V_L=400,V_ph=V_L/sqrt(3)
I_L=VA/(sqrt(3)*V_L)
I_aph=I_L
I_f=4,I_asc=I_aph/2 //for half load.. refer to graph
V_OC_line=140
V_OC_ph=V_OC_line/sqrt(3)
I_asc_ph=I_asc
Z_s= V_OC_ph/I_asc_ph
R_a=0.1,X_s=sqrt(Z_s^2-R_a^2) //armature resistance and synchronous re... |
df1f2e02a461d08a0aa77997c497c728f7baa7e0 | 08fe4df45181e37cb84ba1610cdfb219b4142434 | /macros/XcosDesSet.sci | 0a4c2463b5779245733959f11a5218808b009339 | [] | no_license | gzq763199198/AutoGenHelpToolBox | 17c7db64547e0e196806464f47b788d6ae33bf2e | c85275e8a7a1cd2ab3e19db5b283e9d1e9502843 | refs/heads/master | 2021-02-17T04:02:18.470172 | 2020-03-05T04:35:44 | 2020-03-05T04:35:44 | 245,069,411 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 20,259 | sci | XcosDesSet.sci | function XcosDesSet()
global bOK;
bOK = %f;
screen_area = get(0, "screensize_px")
XcosDesUI_wight = 540;
XcosDesUI_high = 465;
XcosDesUI_x = (screen_area(3)-XcosDesUI_wight)/2;
XcosDesUI_y = (screen_area(4)-XcosDesUI_high)/2;
//R = 255;G = 233; B = 220;
R = 28;G = 120; B = 135;
... |
2e6f9b5135d922f82cb416a3df2c03fcc12d8381 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/m2sci/cod2sci.sci | 3f9580fd214ef2342d68ea7accdc3f21e0eb9473 | [
"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 | 2,168 | sci | cod2sci.sci | function [txt,ilst,vnms,vtps,lcount]=cod2sci(lst,ilst,vnms,vtps)
//
//!
// Copyright INRIA
nlst=size(lst)
txt=[]
ilst=ilst-1
while ilst<nlst then
ilst=ilst+1
op=lst(ilst)
if type(op)==15 then return,end
select op(1)
case '1' then //stackp
// write(6,'stackp '+op(2));
prev=lst(ilst-1)
if size(prev,'... |
de7326d29a700361cb3d9e2e807c7c02d3d31263 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_islogical.sci | 0687c764e6fb0f80ad6aefcdb69dffd4d277432e | [
"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 | 125 | sci | sci_islogical.sci | function [stk,txt,top]=sci_islogical()
// Copyright INRIA
txt=[]
stk=list('or(type('+stk(top)(1)+'==[4,6])','0','1','1','4')
|
138b53be9326d5442fcc023090422c51a4bfd8d3 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%s_s_sp.sci | 2a1112a185e42eccfb4586c30fd67eccf259aed8 | [
"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 | 207 | sci | %s_s_sp.sci | function s=%s_s_sp(a,b)
// %s_s_sp - substract a sparse matrix b to a scalar matrix a
//!
// Copyright INRIA
if size(a)==[-1,-1] then
//eye+b
[m,n]=size(b)
s=(0+a)*speye(m,n)-b
else
s=a-full(b)
end
|
a4d688a173f36d317423654634e3b06c6423f00e | b2de922406868829415559214e6051e750cfb682 | /Week 1/Vector.sci | 7a859c110ab3d80ef13ffb1f33efa75789112eaa | [
"Apache-2.0"
] | permissive | Ritika-Das/Scilab_Codes | 98ae74b2fd02eaac3bedbabe6753605a340e297d | 88688598e5c27a58f8bb53fc918bb324c7d92e49 | refs/heads/master | 2022-12-28T00:19:49.741939 | 2020-10-02T18:04:12 | 2020-10-02T18:04:12 | 300,069,680 | 0 | 0 | Apache-2.0 | 2020-09-30T22:12:52 | 2020-09-30T21:39:10 | null | UTF-8 | Scilab | false | false | 66 | sci | Vector.sci | % Entering a vector and displaying it
x = [1 2 3 4];
y = 10 + x;
|
5bea1471373c0d7721d49ed6105eaabf6c6cff5b | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/gr_harm_easa/in/sources_parts.sce | ef417aad79414125beba5ee37857170200b16660 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,209 | sce | sources_parts.sce | function [s_alp,s_cux,s_cuy,s_cuz,...
s_uxx,s_uxy,s_uxz,s_uyy,s_uyz,s_uzz,...
s_qxx,s_qxy,s_qxz,s_qyy,s_qyz,s_qzz...
]=sources_parts(...
nx,ny,nz,...
x,y,z,r,psi,...
alp,cux,cuy,cuz,rg,...
uxx,uxy,uxz,uyy,uyz,uzz,...
gxx,gxy,gxz,gyy,gyz,gzz,...
... |
8de8985c04f7ddf27e50a8055abef01ee73622ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH13/EX13.3/example13_3.sce | 1668e779811e03ba35df434ae3eef963909f562b | [] | 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 | 279 | sce | example13_3.sce | v1=10;
fsd1=0.03;
v2=5;
i1=50*10^(-6);
r1=20*10^3;
fsd2=0.02;
i2=10*10^(-6);
disp("Part a");
r=v2/i2-r1;
disp("The resistance (in kΩ) is"); disp(r/1000);
disp("Part b");
e1=fsd1*v1*100/v2;
e2=fsd2*i1*100/i2;
e=e1+e2;
disp("The maximum possible error is"); disp(e); |
4c3f10f15f706965aa123156d834316d8e84ff18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH2/EX2.8/Ex2_8.sce | 5dbb133ca66aa9c10cfea3da9f2fb3e65fe87dbf | [] | 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 | 340 | sce | Ex2_8.sce | clc
//
//
//
//Variable declaration
n=2 //order of spectral line
theta=30 //Angular Width
invde=5000 //Inverse of diffraction element
//Calculations
thetarad=(%pi/180)*(theta)
sinetheta=sin(thetarad)
lambdaa=((sinetheta)/(n*invde))*10**8
//Result
printf("\n The Wavelength is %i... |
2543ec17b4dbf7757cca4fdf4fc7d8ba9ee4bcd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH19/EX19.4/19_4.sce | 30cf96de9e473bdd856ee29b2be15747153b9c90 | [] | 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 | 524 | sce | 19_4.sce | clc
//initialisation of variables
No= 0.979889
v= 2989.74 //cm^-1
rc= 1.2746 //A
T= 25 //C
E1= 6.8635 //cal deg^-1 mole^-1
E2= 11.4392 //cal deg^-1 mole^-1
E3= 7.2820 //cal deg^-1 mole^-1
E4= 4.5757 //cal deg^-1 mole^-1
E5= 2.7676 //cal deg^-1 mole^-1
r1= 0.265 //A
r= 35.99 //A
//CALCULATIONS
Et= E1*log... |
9f4addecfe5e160ad3a29d16673b9b8ca6c6d1a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH5/EX5.12/exa_5_12.sce | 5222fbee1fd550f0826b638e71bbb813d42a2b22 | [] | 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 | 477 | sce | exa_5_12.sce | // Exa 5.12
clc;
clear;
close;
// Given data
f=2.5;// in kHz
f=f*10^3;// in Hz
// Part (i) when
t=0.1;// in sec
count= f*t;
disp(count,"When GATE ENABLE time is 0.1 sec then the counter will count or display")
// Part (ii) when
t=1;// in sec
count= f*t;
disp(count,"When GATE ENABLE time is 1 sec then the ... |
b7aaf0800c578ebba4dd05fd24fcbb8e5c336bbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH1/EX1.5/example1_5.sce | 23b1602a841f96aebbc672ca54d7a6656a173bad | [] | 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 | 599 | sce | example1_5.sce | clear;
clc;
//Example1.5 (The cost of Heat loss through a Roof)
//(a)
k=0.8;//The thermal conductivity of the roof[W/m.degree.C]
A=6*8;//Area of the roof[m^2]
t1=15;//temperature of inner surface roof[degree C]
t2=4;//temperature of outer surface roof[degree C]
L=0.25;//thickness of roof[m]
Q_=k*A*(t1-t2)/... |
bc12cb3a153dd1bcd47f1f29272005b7ff6bf8f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH4/EX4.6/ex4_6.sce | 562017e8739c90a3f5b0d9431e88c1183617f0a2 | [] | 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 | 235 | sce | ex4_6.sce | // Example 4.6 page no-207
clear
clc
vbb=-1 //V
Rb=50 //K-Ohm
vbe=-0.1
Icbo=(vbe-vbb)/Rb
printf("\nIcbo =%.0f micro A",Icbo*1000)
t=log(Icbo*1000/2)*10/(log(2))
printf("\nDelta_T = %d°C \nHence, T=%d°C",ceil(t),ceil(t)+25)
|
6de0557b9cc0812d8c855cb33b8be11fe3901d1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH3/EX3.12.b/3_12_soln.sce | c4b34844c71aaf1c2cd516556b7001d873dda5d1 | [] | 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 | 693 | sce | 3_12_soln.sce | clc;
pathname=get_absolute_file_path('3_12_soln.sce')
filename=pathname+filesep()+'3_12_data.sci'
exec(filename)
// Solution:
// Acceleration due to gravity,
g=32.2; //ft/s^2
// Jet velocity through siphon,
v2=sqrt(2*g*(h-Hl)); //ft/s
// rounding off the above answer
v2=fix(v2)+(fix(floor((v2-fix(v2))*10))/10); //ft/s... |
03124397c773272d2ba47054ea4faff55478e78d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.14_19.tst | 3d673ecab182677934824ae374e23857eca1aa6b | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,332 | tst | bow.14_19.tst | 14 1:0.04081632653061224 3:1.0 8:0.1 20:1.0 33:0.14285714285714285 44:0.25 55:0.2 63:2.0 91:0.1 102:1.0 162:1.0 166:1.0 199:1.0 203:0.5 293:0.25 318:1.0 388:0.5 575:1.0 622:0.5 634:1.0 753:1.0 1283:1.0
14 1:0.02040816326530612 3:0.5 15:0.125 17:0.1 55:0.2 63:1.0 68:1.0 71:1.0 270:1.0 317:1.0 333:1.0 732:1.0 755:1.0
14 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.