blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d5a0d6b61c0e17e4874831843c1f8f3a40186640 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.7/1_7.sce | d1ef873aa256deff19880b95c249d104cb8454a8 | [] | 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 | 377 | sce | 1_7.sce | // To determine circuit impedance and current in a parallel connection of a resistor and capacitor.
clc;
clear;
R=4700;
V=240;
f=60;
w=2*%pi*f;
C=2*(10^-6);
Xc=-(1/(C*w))*%i;// Reactance in polar form
Ir=V/R;
Ic=V/Xc;
I=Ir+Ic;// Total current
Z=V/I;
theta=atand(imag(Z)/real(Z));
mprintf('Imp... |
30306b91fdca304817812d453fb11bf97bd0aa85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH5/EX5.12/Exa5_12.sce | 6c7651f4126081c99f63c2b228fd06d30bfc12c0 | [] | 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 | 507 | sce | Exa5_12.sce | //Exa 5.12
clc;
clear;
close;
//Given Data :
format('v',8);
R=2;//in ohm
X=3;//in ohm
VR=10*1000;//in volt
P=1000*10^3;//in watt(power delivered)
cos_fir=0.8;//unitless
I=P/(VR*cos_fir);//in Ampere
Vs=sqrt((VR*cos_fir+I*R)^2+(VR*sqrt(1-cos_fir^2)+I*X)^2);//in volt
Reg=(Vs-VR)*100/VR;//in %
disp(Reg,"% Reg... |
864c871232e00535ad6525b2018edb9ad9b7a47b | 9b60b7963181dd94c8d10cdb75a83bc010957e71 | /taf_monitor_code/taf_monitor/tests/acceptance/13-military_cloud_cb.tst | 45ac59ffceb4f157d82b7a7f08d0830ec2033f63 | [] | no_license | alanyon/python | 577773100eac269750925c1f924edc51060ca865 | cbfe0f34fe61ed0495572fa05ea6bf4293ef15bb | refs/heads/master | 2023-07-13T17:27:59.555648 | 2021-08-09T15:59:08 | 2021-08-09T15:59:08 | 393,341,633 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,374 | tst | 13-military_cloud_cb.tst | {
"EGWC 150800Z 1509/1518 18005KT 9999 SCT010 BKN040CB BECMG 1512/1515 SCT010 TEMPO 1517/1518 BKN010CB": {
"TAF matches METAR exactly - CB included in observations": {
"metar": "EGWC 150850Z 18005KT 9999 SCT010 BKN040CB",
"test time": "20200615T0900Z",
"expected": ""
... |
0ba36335e85cc8b122a0b73f46d6024523eb5423 | 6227c5ef4e1c5d72cdebd6eac81f82161dda7e17 | /digi_dc_dc/Scilab/test_functions/test_buck_subsampling_dual.sci | 037179cd18776eda838770926bb05bfefa6ae22b | [] | no_license | maxsimmonds1337/Scilab | b4e8a03a9fbeda4d8f6e51e07d205bcf51addce8 | b413659e2b697565c24ad440d158f5bd28203570 | refs/heads/master | 2022-11-04T23:17:50.045864 | 2020-06-13T20:35:24 | 2020-06-13T20:35:24 | 272,081,285 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 707 | sci | test_buck_subsampling_dual.sci |
//Test the functions for the Buck
//REactive elements and switching frequency
L=1e-6;
rl=5e-3;
rc=10e-3; //Parasitic element values are needed, but not very important
C=200e-6;
f_switch=1e6;
tctrl=400*1e-9;
Po=9;
Vo=1.8;
Io=Po/Vo; //The model requires the output current
Rl=Vo/Io;
Vin=5; //Input voltage range
//... |
9691d81065b2091c83d889b7d74a78a894eebadd | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH9/EX9.2/9_2.sci | e311af67f0dd2dda71f5bea1da93e30ffe42f678 | [] | 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 | 199 | sci | 9_2.sci | //Calculate Pressure of air source
clc;
T=273+25;
P=99.22*10^3;
R=288;
df=P/(R*T);
dm=0.82*996;
g=9.81;
h=200*10^-6;
P1=g*h*(dm-df)*10^3;
Pa=P+P1;
disp(Pa,'Pressure of air source(N/m2)')
|
f29756631dd04343469b7ad4458bb22ef62c8e22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH11/EX11.10/11Ex10.sce | 29047e6d9dce5c66efb0acbbdd43e6034627fcad | [] | 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 | 11Ex10.sce | //Ex 10
clc;
clear;
close;
n1=6;c=10;
n2=4;s=6;
n=double(lcm(int32([4,6]))); //Number of bananas
cp=(c/n1)*n;
sp=(s/n2)*n;
lossPercent=(cp-sp)/cp*100;
printf("The loss is %d percent",lossPercent);
|
315bd84043c6b6bb578897f271fdf88d1bdcca63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.10/Ex11_10.sce | d43f2bc55df3940ad80affb4141ea71d67f4ab35 | [] | 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 | 619 | sce | Ex11_10.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.10\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.10 (page no. 566)
// Solution
//A bare steel pipe
ro=90; //Outside diameter //Unit:mm
ri=75; //inside diameter //Unit:mm
Ti=110; //Inside temperature //Unit:Celcius
To=40; //Outside temperat... |
67e2a98d7ae87f8fa8499ab85f080384af7d1cb6 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Mixsub.sci | e3e281f3a8119cc134e97c36c6d9e160a6a6c065 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sci | Mixsub.sci | // 08.05.19
// 08.05.20 debugged
// 08.06.02
// Structure changed
// 09.10.11
function M=Mixsub(Rg,PL)
M=list();
N=Mixlength(PL);
for I=Rg
if I>N
return;
end;
M($+1)=PL(I);
end;
endfunction
|
d9ec21f0f384704d9638332b2fe9b0d85c7bb7a5 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaq_disconnect.sci | 876e265318a8256c5a115049422ced6033687f34 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 227 | sci | mdaq_disconnect.sci | function result = mdaq_disconnect(connection_id)
result = call("sci_mlink_disconnect",..
connection_id, 1, "i",..
"out",..
[1, 1], 2, "i");
result = 0;
endfunction
|
f131963beb4acb31a8df91940dcc425a53e7d32c | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH14/EX14.2/ex14_2.sce | 9ea9a089ac4aaf7bb154f1bbb9637b132fad5b66 | [] | 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 | 174 | sce | ex14_2.sce | //Example 14.2
//Install Symbolic toolbox
//Find the Laplace transform
syms t s
clc
z=integ(2*exp(-s*t),t,3,%inf)
//The second term will result in zero
disp(z,'F(s)=') |
fac24f25a8c8f278e4b55abb31d688a97b9673cc | 87c2e28e177c9ec07eebeb1ba7de76a40ca4c69c | /log.tst | 6407a43552ae15767fdef9d293bf9cb213c5594a | [
"BSD-3-Clause",
"MIT"
] | permissive | roelvs/nagiosplugins | ef6534b939977baca20a710233ee2fb7555537cb | bceb28420e3c5ee2842d8d5994ac7e83967ffc11 | refs/heads/master | 2021-01-22T17:14:01.767891 | 2013-12-05T09:48:11 | 2013-12-05T09:48:11 | 14,358,721 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 10,952 | tst | log.tst | hostname is PBAICTMONITOR
<?xml version="1.0"?>
<RIBCL VERSION="2.22">
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22">
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22">
<RESPONSE
STATU... |
e5b831f30c21bce196b6fc56631927aebba74101 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/algebre/sqroot.sci | 831cdec14ae8d2ef038504d8aaeaffb7381f76f7 | [
"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 | 318 | sci | sqroot.sci | function [S]=sqroot(Q)
Q1=(Q+Q')/2;
if norm(Q1-Q,1) > 100*%eps then warning('sqroot: input not symmetric!');end
tt=mini(spec(Q1));
if tt <-10*%eps then warning('sqroot: input not semi-definite positive!');end
if norm(Q,1) < sqrt(%eps) then S=[];return;end
[u,S,v,rk]=svd(Q);
S=v(:,1:rk)*sqrt(S(1:rk,1:rk));S=real(S);
|
bb9b421a3675053aef600b7e1f1cc8931d7d0b58 | 97135f725c599527ba0fd95a5289373c755daf3b | /Examples/test-suite/scilab/abstract_typedef_runme.sci | c465612483799cb3e086a7ccfb528a42847d96e1 | [] | no_license | maqalaqil/swag-c- | b8880cfc92424d5bbca1fe15ed98663a41063f27 | 6fd1ba2bf1d353f24c116a3c89a8540292b86a7d | refs/heads/master | 2020-07-06T21:02:08.949652 | 2019-09-01T07:56:55 | 2019-09-01T07:56:55 | 203,137,066 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | sci | abstract_typedef_runme.sci | exec("alaqiltest.start", -1);
try
e = new_Engine();
catch
alaqiltesterror();
end
try
a = new_A();
catch
alaqiltesterror();
end
// TODO: test write method
exec("alaqiltest.quit", -1);
|
4672559cd318de1dda7bd6dbafaf5a51d412460e | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testcolorbar.sce | 26421b3e9b8f1f85f2ec6cc84518bb6028d7528a | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 189 | sce | testcolorbar.sce | // define a grid
x=[-1:0.1:1];y=x;
// surface computation
[X,Y]=meshgrid(x,y);
Z=X.^2-Y.^2;
//surface display
clf;
F=gcf();F.color_map=jetcolormap(64);
surf(x,y,Z)
colorbar(min(Z),max(Z))
|
507cbc216be31b77d0bbbb1005e48d872e729ce1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH1/EX1.9/1_9.sce | e6ffcf941ffab6a2c64323ad53c70a7130e06c58 | [] | 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 | 872 | sce | 1_9.sce | clear;
clc;
//Example - 1.9
//Page number - 26
printf("Example - 1.9 and Page number - 26\n\n");
//Given
//Antoine equation for water ln(Psat)=16.262-(3799.89/(T_sat + 226.35))
P = 2;//[atm] - Pressure
P = (2*101325)/1000;//[kPa]
P_sat = P;// Saturation pressure
T_sat = (3799.89/(16.262-log(P_sat)))-2... |
64eec65cf32a7eebfe97520adb3817aac3b1e29c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1865/CH3/EX3.5/prob_5.sce | ff690addafcf37ff3035daf60595183bc17ab7b4 | [] | 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 | 413 | sce | prob_5.sce |
//Problem 5
//calculate the glancing angle for third order reflection
clear
clc
w=0.842*(10)^(-10)//wavelength in m
x=8.5833//glancing angle(in degrees) for the first order reflection
a=1,b=3//a=1 for 1st order b=3 for 3rd order reflection
d=(a*w)/(2*sind(x))//inerplanar spacing for first order reflection
y=a... |
01f49c3a1affd06f9c6a721b6892f3c80c207a6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH12/EX12.19/ex12_19.sce | 2b5671f045138cd6fae8cc4fb502dac9caa856ff | [] | 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 | 523 | sce | ex12_19.sce | //Chapter-12, Example 12.19, Page 367
//=============================================================================
clc
clear
//INPUT DATA
Rh=200;//Hall-coefficient in cubiccentimeter/C
a=10;//conductivity in s/m
//CALCULATIONS
un=a*Rh;//electron mobility in cm^2/V-s
mprintf("electron mobility is %d cm^2/V-s... |
42b02caa2fa0f20f285e05a39b9307119fb6359c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH18/EX18.2/ex18_2.sce | 069ecb4019a8a35b9b90be8d0dcb358d85fd9b69 | [] | 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 | 188 | sce | ex18_2.sce | // Example 18.2, page no-460
clear
clc
r=0.12*10^-9//m
eps=8.854*10^-12
alf=4*%pi*eps*r^3
printf("The electronic polarisability of an isolated Se is %.4f * 10^-40 F m^2",alf*10^40)
|
978fc08fd78a2d130de08169029b592eba49e549 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH4/EX4.15.2/Example_4_15_2.sce | dcce8401bdeda4a113cc72a193b7bd4db7a15f51 | [] | 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 | 830 | sce | Example_4_15_2.sce | // Example 4.15.2 page 4.36
clc;
clear;
L=10; //fiber length in km
Pin=100d-6; //input power
Pout=5d-6; //output power
len=12; //length of optical link
interval=1; //splices after interval of 1 km
l=0.5; //loss due to 1 splice
attenuation=-10*log10(Pin/Pout); //compu... |
8b98bc51ce65ac79e2e720bccfce61e81564f104 | 28a8d47c4d79b231f8bebc28925792a290f67e9f | /db/others/sql/new_version/test_scheme.tst | 7d75584f4995faaf14e9f080301e23b579ad9997 | [] | no_license | ZVlad1980/doo | a1fe7d18ccfd0acf6ced7dbb33927c86a925aae8 | e81be8f524b78b9a6ec06b7f83a8c13354fc6412 | refs/heads/master | 2021-08-17T02:03:54.553822 | 2017-11-20T17:21:03 | 2017-11-20T17:21:03 | 111,440,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,654 | tst | test_scheme.tst | PL/SQL Developer Test script 3.0
183
-- Created on 11.07.2014 by ZHURAVOV_VB
declare
-- Local variables here
i integer;
--t xxdoo.xxdoo_db_scheme_typ := xxdoo.xxdoo_db_scheme_typ(p_name => 'TEST', p_dev_code => 'test', p_owner => 'xxdoo');
s xxdoo.xxdoo_db_scheme;
c xxdoo.xxdoo_db_column_tmp;
--f xxdoo.xx... |
9be2406e79f85cacd71471fc71016053977b031c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH4/EX4.4/example_4_4.sce | f69d151a050fbff4cc0ee24b99f1f34c58221643 | [] | 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 | 442 | sce | example_4_4.sce | //Scilab Code for Example 4.4 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
//X(f)=A*T/1+j*2*pi*f*T
syms f w;
A=1;
T=1;
X=(A^2*T^2)/(1+4*%pi^2*f^2*T^2)
disp('Putting f = tan @');
disp('Total Energy:');
Ex=integrate('(A^2*T)/(2*%pi)','w',-%pi/2,%pi/2)
disp('Energy Contained in the Output Signal')... |
11b5df2d6822d996da50790c87c27cab3dc0033a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_M._R._Srinivasan_3411.zip/Engineering_Physics_M._R._Srinivasan_3411/CH7/EX7.2.u1/Ex7_2_u1.sce | b27e602778d52e4cf502b297e00a0053f5ac31c4 | [] | 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 | 509 | sce | Ex7_2_u1.sce | errcatch(-1,"stop");mode(2);//Example 7_2_u1
;
;
//To find the fraction of initial intensity
alpha=-2.2 //units in db/Kilo meters
//When l=2 Kilo meters
l=2 //units in Kilo meters
//Case (a) when L=2 Kilo meters
It_I0=10^(alpha*l/10)
printf("The fraction of initial intensity left when L=2 It/I0=%... |
0385f3ebf5b2c9e8801cdef5a2c527b992e0da26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.8/EX17_8.sce | b6c2ae4a00f21433391f6a0353862b4f03d1fa39 | [] | 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 | EX17_8.sce | clc;funcprot(0);//EXAMPLE 17.8
// Initialisation of Variables
T=175;.......................//Torque due to brake load in Nm
N=500;.........................//Engine speed in rpm
//calcuations
BP=(2*%pi*N*T)/(60*1000);.......................//Brake power developed by engine in kW
disp(BP,"Brake power developed by e... |
c62468a313db1a6f4a2ec193bd4f74ddcd53644f | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH15/EX15.16/15_16.sce | 05d55968dd8429d20fdd7cf3e49818b17d5e6234 | [] | 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 | 126 | sce | 15_16.sce | clear; clc; close;
Vo = 1.25*(1+ (1.8*10^3/240)) + (100*10^(-6))*(1.8*10^3);
disp(Vo,'Regulated Output voltage = ');
|
fd21533a07c14bfd6eea3d76212e1e4b63441896 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH4/EX4.5/exa4_5.sce | 8edc219cbfee9a6c84e3cd63dbae7ae8fe051013 | [] | 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 | 731 | sce | exa4_5.sce | //Example 4-5//
//Reduce a given expression//
clc
//clears the window//
clear
//clears all existing variables//
//the given expression is as follows//
disp(' Given Expression- ((AB''+ABC)''+A(B+AB''))'' ')
disp('factorise')
disp(' ((A(B''+BC))''+A(B+AB''))'' ')
//reduce using laws 18 and 20//
disp(' ((A(B''+... |
e11de9cbe941ffdc3dfe6cb21d8cc5c6a2a02b7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH7/EX7.11/7_11.sce | 67d09cc49c5fb44ab05c4ab1cef5423d80ebc72a | [] | 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,243 | sce | 7_11.sce | clear;
clc;
printf("\t\t\tExample Number 7.11 \n\n\n");
// reduction of convection in ar gap
// Example 7.11 (page no.-347)
// solution
Tm = 300;// [K] mean temperature of air
dT = 20;// [degree celsius] temperature difference
R = 287;// [] universal gas constant
g = 9.81;// [m/s^(2)] acceleration due to gr... |
831e6bbeb2c1c1518fb906d021985714d2de4ae0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH10/EX10.3/10_3.sce | cc27ccb042db964194d1c8f759473a6e6d45297c | [] | 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 | 727 | sce | 10_3.sce | //Example 10.3
//Taylor Method
//Page no. 304
clc;clear;close;
deff('y=f1(x,y)','y=1')
deff('y=f2(x,y)','y=x*y')
deff('y=f3(x,y)','y=x*f1(x,y)+y')
deff('y=f4(x,y)','y=x*f2(x,y)+2*f1(x,y)')
deff('y=f5(x,y)','y=x*f3(x,y)+3*f2(x,y)')
h=0.5;y=0;
x=[0.5,1]
for i=1:2
if i==1 then
k=... |
e581c781fedcd7ef1332bb4a101f0b8e2bb9436e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH2/EX2.12/Exa2_12.sce | 079a148226b8203875a3ea9bfbc897e3b7797874 | [] | 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 | 973 | sce | Exa2_12.sce | //Exa 2.12
clc;
clear;
close;
//Given Data :
format('v',8);
//Vcon=V;//in volt
//pf=cosfi;//unitless
//Rcon=R;//in ohm
//Part (i) : single phase system
disp("Single phase system :");
P1=5*10^6;//in watt
//I1=P1/(V*cosfi);//in Ampere
disp("Line current,I1="+string(P1)+"/V*cosfi");
//W1=2*I1^2*R;//in Wats(L... |
90f8831c5e51cab4becff3cf1e3690e93f02db5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /704/CH3/EX3.33/ex3_33.sce | d8f34f1e4cd18fcd0fc8ce3bdf33248e23c7a9ee | [] | 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,296 | sce | ex3_33.sce | //Caption:In a transformer find all day efficiency
//Exam:3.33
clc;
clear;
close;
KVA=15;//Rating of the transformer(in KVA)
E_f=0.98;//Efficiency of the transformer
P_F=1;//for unity power factor
O_P=KVA*P_F;//Output of the transformer at unity power factor(in KW)
I_P=O_P/E_f;//Input to the transformer(in KW)... |
20fb914c2c0f6686f89db81172da0eb14b3cd20c | d7245f1541674d166d966fddabad26a985a0bbd9 | /doc/qpsk_modulation.sce | 34ec2de95b6b16ccaf639de780b8276c98980613 | [] | no_license | ivan-khavantsev/radio | 2c30bd6d659a629dc0ff257241cc55410d5e0d6b | 16ea8061070d2f13e7f95ddf62d495d4439f5b23 | refs/heads/master | 2021-01-16T01:02:07.097533 | 2014-01-19T13:59:36 | 2014-01-19T13:59:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,007 | sce | qpsk_modulation.sce | clc
clear
close
b=[0 1 1 0 1 1 1 0]
one=ones(1,100)
zero=-ones(1,100)
//generation of bodd signal
bodd=[]
for i=1:2:length(b)
if(b(i)==1)
bodd=[bodd one]
bodd=[bodd one]
else
bodd=[bodd zero]
bodd=[bodd zero]
end
end
//generation of beven signal
beven=[]
for i=2:2:lengt... |
6ed6a739bcea2fbc49b7995ec4db298293c6b707 | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/sske.tst | cf2cc3419b7f30e6bf0db4029a26395283a065cb | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 12,437 | tst | sske.tst | # This test file was generated from offline assembler source
# by txt2tst.rexx 1 Dec 2016 11:41:01
# Treat as object code. That is, modifications will be lost.
# assemble and listing files are provided for information only.
*Testcase sske#1
* sske#1: Te... |
16834849764f5d35798ee65d2a1a9f0ea0863d33 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /pacman.sce | 41c629149d49c033998007ae045aba0520ed4a60 | [] | 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 | 53,651 | sce | pacman.sce | Name=pacman
PlayerCharacters=pacman_player
BotCharacters=pacman.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=pacman_player
AddedBots=pacman.bot;pacman.bot;pacman.bot;pacman.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
PlayerTeam=1
BotTeams=2;2;2;0
MapName=pacman.map
MapScale=10.0
BlockProjectilePredictors... |
2d17331f46b9a3a64dabd3a2babaef798211e5e1 | 06a62d768e69fd9dda11b30011c252807e301813 | /pgm1.sce | c4a0fab1a978c52edbade9795002d618848601b1 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sce | pgm1.sce | // y = x ^ 2 * e(-2 * x)
// secondDerivative = exp(-2 * x) * (2 - 8 * x + 4 * x^2)
x = 1;
h = [0.1 0.01];
trueValue = exp(-2 * x) * (2 - 8 * x + 4 * x^2);
for(i=1:1:2)
secondDerivative(i) = (pgm2(x+h(i)) - 2 * pgm2(x) + pgm2(x-h(i))) / h(i)^2;
errorValue(i) = (trueValue - secondDerivative(i));
end
|
084c376e88bf6b81c3d77b7d75cd53a19bc55b85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.8.b/solution8_8.sce | 4f092ff5af9618a0f33b529435e0203fd8c23992 | [] | 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 | 646 | sce | solution8_8.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution8_8.sce')
//Obtain path of data file
datapath = path + filesep() + 'data8_8.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the total length of the weld l (mm)
l = (P * 1000)/Pall
//Calculate the distance of the C.... |
d47b94c4580a48448d6c20e4c53f7b4b62f27754 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3765/CH4/EX4.1/Ex4_1.sce | 2f60855cbb92c0c9bb0589793675f7011e7cc6f0 | [] | 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,632 | sce | Ex4_1.sce | clc
// Example 4.1.py
// A uniform supersonic stream with M1 = 3.0, p1 = 1 atm, T1 = 288 K encounters
// a compression corner which deflects the stream by an angle theta = 20 deg.
// Calculate the shock wave angle, and p2, T2, M2, po2 and To2 behind the shock
// wave.
// Variable declaration
M1 = 3.0 // ups... |
c0e60e297b5aca2537b6ba55fe1a295fd01825aa | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH9/EX9.4/Ex9_4.sce | d0d7a86916f74edf9de0c1563423257a9625a9a0 | [] | 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 | 419 | sce | Ex9_4.sce | //Ex 9.4
clc;
clear;
close;
format('v',5);
fH=2;//kHz(Cutoff frequency)
Ap=1;//Pass band gain
disp("Various design parameters are :-");
C=0.05;//micro F//Chosen for the design between 0.01 & 1 micro F
disp(C,"Capacitance(micro F)");
format('v',4);
R=1/(2*%pi*fH*1000*C*10^-6)/1000;//kohm
disp(R,"Resistance R... |
60b22a8138ac7fd684aa8cb2f0669425a885dc4c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH1/EX1.3/Chapter1_Example3.sce | 0999881c095494bbc82efca59d45c11b4678228d | [] | 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 | 697 | sce | Chapter1_Example3.sce | //Chapter-1, Example 1.3, Page 1.15
//=============================================================================
clc
clear
//INPUT DATA
V=250;//Terminal voltage in V
IL=40;//Load current in A
Ra=0.04;//Armature resistance in ohm
Rse=0.03;//Series field resistance in ohm
Rsh=100;//Shunt field resistance in... |
a7dd29cc8789cf5d414cfb0d9eb6c8e13c4f9c35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH34/EX34.9/Ex34_9.sce | 304da45b35d246fd96c3fbf622365175c49f2dd9 | [] | 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 | Ex34_9.sce | clc;
//e.g 34.9
Vsmin=22;
Rs=1*10**3;
Vz=10;
RL=2*10**3;
Vsmax=40;
IL=Vz/RL;
disp('mA',IL*10**3,"IL=");
Izmax=((Vsmax-Vz)/Rs)-IL;
disp('mA',Izmax*10**3,"Izmax=");
Izmin=((Vsmin-Vz)/Rs)-IL;
disp('mA',Izmin*10**3,"Izmin=");
|
6da32d9e7066fd39b4390c7928103a2c59e52502 | eda0ddb3e310b6d8e0a674f5cccfd207915546d1 | /sci2.sce | 5d81b1580f06355e9a0e9be1b5b93c0566f8ec50 | [] | no_license | jithinsisaac/Scilab-Experiments | 046e781291cf08b68eec84084446ffee91adeb14 | 3f4d18b2f32b74abed963f02d6ecb8509d5fabc1 | refs/heads/master | 2022-11-09T08:24:39.953452 | 2020-06-25T07:52:07 | 2020-06-25T07:52:07 | 274,857,905 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 67 | sce | sci2.sce | clc;
clear;
for i=1:1:10
a=i+1;
disp(a);
disp(i);
end
|
42d8757e890d5ac6c666e269880550ca1329c995 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2492/CH3/EX3.3/ex3_3.sce | 66e255c0834efef72991c7d0f45c51cac95c1f06 | [] | 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 | 605 | sce | ex3_3.sce | // Exa 3.3
format('v',6)
clc;
clear;
close;
// Given data
V = 120;// in V
Vz = 50;// in V
R = 5;// in k ohm
R = R * 10^3;// in ohm
I = (V-Vz)/R;// in A
R1 = 10;// in k ohm
R1 = R1 * 10^3;// in ohm
I_L = Vz/R1;// in A
// The maximum value of zener diode current
I_Zmax = I-I_L;// in A
I_Zmax= I_Zmax*10^... |
361df7af2c6b1c06eabc8951b67f2e5504023705 | 449d555969bfd7befe906877abab098c6e63a0e8 | /863/CH5/EX5.3/Ex5_3.sce | b11db44da487f37ba321b970ef22a998b6ffaba7 | [] | 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 | 630 | sce | Ex5_3.sce | //Caption:Design an inverter by determining input resistance,current and capacitance
//Ex5.3
clc;
clear;
close;
Vo=11//Output voltage(in volts)
Vcc=12//Collector voltage(in volts)
Vi=6//Input voltage(in volts)
f=1//Frequency(in Khz)
Vb=0.5//Base voltage(in volts)
Vee=-12//Emitter voltage(in volts)
Ib=500//M... |
fe65a1f334fa302eef9fe0b97788ae2a6288d7db | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Pokeball Frenzy Auto 1w3tes.sce | a8d008d45da239f6f54337d3cce4db0e207d480e | [] | 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 | 141,807 | sce | Pokeball Frenzy Auto 1w3tes.sce | Name=Pokeball Frenzy Auto 1w3tes
PlayerCharacters=Player
BotCharacters=Regenerating Pokeball.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Player
AddedBots=Regenerating Pokeball.bot;Regenerating Pokeball.bot;Regenerating Pokeball.bot
PlayerMaxLives=0
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=0;0;0
MapName=cube_1wall_... |
e1d09b72647448d43317dbcb31103c031dd14a66 | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH6/EX6.10/example6_10_TACC.sce | d295ee7544ba34288e2f45e6abcbf82521d55feb | [] | 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 | 530 | sce | example6_10_TACC.sce | //example 6.10
clear;
clc;
//Given:
m1=0.03;//mass of CO2(g)[gm]
w1=44.01;//molecular weight of CO2(g)[gm/mol]
m2=250;//mass of water[gm]
w2=18.02;//molecular weight of water[gm/mol]
k=1.25*10^6;//Henry's law constant[Torr]
T=298;//Temperature[K]
//To find the partial pressure of CO2 gas
n1=m1/w1;//no... |
008065f599ca11d3f7af5e606de00f62b10d875f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH3/EX3.13/ex3_13.sce | 0f0e9deef1f2f22df73fdb71a25c1250670f472f | [] | 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 | 397 | sce | ex3_13.sce | // Exa 3.13
clc;
clear;
close;
format('v',5)
// Given data
R_S = 1;// in k ohm
R_L = 1.2;// in k ohm
V_Z = 10;// in V
V_S = 16;// in V
V_L = (R_L/(R_L+R_S))*V_S;// in V
//The value of I_Z
I_Z = 0;// in A
disp(I_Z,"The value of I_Z in A is");
// The value of P_Z
P_Z = 0;
disp(P_Z,"The value of P_Z is")... |
c94d4d54092070d4f2569cb0597865bdc05d5e95 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.15/Ex4_15.sce | a3d7ba78de2067263e228d8bd6586a64a5cdb91a | [] | 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 | 374 | sce | Ex4_15.sce | clear
//
r=10
c=10**-4
v=230
f=50
omega=314
//case a
xc=1/(omega*c)
printf("\n xc= %0.1f ohm",xc)
//case b
zc=33.38 //zc=10-j31.85 into polar form is 33.38
i=v/zc
printf("\n i= %0.1f A",i)
//case c
pf=r/zc
printf("\n pf")
//case d
//phase angle=cosinverse(0.3)=72.6
printf("\n phase angle=72.6")
//case e
v=r*i
printf(... |
4c97dc324a1f61925de1dd2f91987b8e78f04ef8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH4/EX4.20/4_20.sce | 005cc31705db1c8391b931e9e78185d00a496380 | [] | 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 | 260 | sce | 4_20.sce | clear; clc; close;
Re = 1.2*10^(3);
R2 = 18*10^(3);
Vcc = 18;
Vce = 10;
Vbe = 0.7;
Ve = 2.4
Ic = 2*10^(-3);
Ve = Ic*Re;
Vb = Vbe+Ve;
R1 = (R2*Vcc/Vb) - R2;
Vc = Vce+Ve;
Rc = (Vcc-Vc)/Ic;
disp(R1,'R1(ohms) is : ');
disp(Rc,'Rc(ohms) is : ');
|
856324b80962d226c0a548a5ddc9a845f57ae268 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH4/EX4.27/4_27.sce | 8ee782104834b52e8eb1872d24437fe43cf68fb4 | [] | 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 | 250 | sce | 4_27.sce | clear; clc; close;
Vcc = -18;
Vbe = -0.7;
Beta = 100;
R1 = 47*10^(3);
R2 = 10*10^(3);
Re = 1.1*10^(3);
Rc = 2.4*10^(3);
Vb = R2*Vcc/(R1+R2);
Ve = Vb-Vbe;
Ie = abs(Ve)/Re;
Ic = Ie;
Vce = Vcc+Ic*(Rc+Re);
disp(Vce,'Vce(volts) is : ');
|
a83d0510a53a13a169770a3f7af5820a4f3889cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH4/EX4.4/Ex4_4.sce | cf12bfb6c4008456ba8e6db07ebd4ea7ebe73c0f | [] | 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 | 710 | sce | Ex4_4.sce |
// Examle 4.4
// From the diagram (4.6a)
// Using Superpositon theorem
V=10; // Voltage source
I1=(V/(2+4+6)); // When 10-V voltage source is on { by ohm's law }
// we have to find Is= ?
... |
d5bbbc9bb42c887db6b6219bee4528604421ac86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH6/EX6.11/example6_11.sce | c2008fa92f9156b14983077b34f6ea61a294efdd | [] | 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 | 224 | sce | example6_11.sce | syms r1 r2 r3 r4 a ;
T1=(r3*r4)/(r1*r2)
T2=(a*r4)/(r1);
L1=-(r3/r1)
L2=-r3/(r2);
L3=-r4/r2;
L4=a*r3/r1
delta=1-(L1+L2+L3+L4)+(L1*L3)
del1=1;
del2=1;
TF=(T1*del1 + T2*del2)/delta ;
disp(TF,"Vo/VI = ")
|
e5bfbb9e72e7efaf1c1bafa99e153a7d1de5b17b | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.1/Unix/scilab-2.1/demos/bike/macros/h.sci | 41fa31ac5d0f4e2a1226847221e630808187ff02 | [
"MIT",
"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 | 157 | sci | h.sci | //[var]=h(q,qd,u,param,alfa,beta,gama)
var=fort('h',...
q,1,'d',qd,2,'d',u,3,'d',param,4,'d',alfa,5,'d',beta,6,'d',gama,7,'d',...
'sort',[43,1],8,'d')
//end
|
6bc096cc34cbad956a3e3a092184753413d2e500 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH2/EX2.1/exp2_1cpp.sce | b9ae7ebc398cfc5ac13fdee0ebb538aad75c374a | [] | 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,542 | sce | exp2_1cpp.sce | clc
disp("example =2.1")
printf("\n")
disp("solution for (a)")
nb=8;nf=2;nl=2 //given number of equipments is 8 bulbs 2 fans 2plugs
lb=100;lf=60;ll=100 //corresponding wattages
cl=nb*lb+nf*lf+nl*ll; //total connected load
printf("connected load = 8X100W+2X60W+2X100W=%dW\n",cl);
disp("solution for (b)")
disp("t... |
155adca519d65a772b81779b776968c7b795ca7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH19/EX19.6/example6_sce.sce | 286b4242ad2fcd88149c4df060e0f6fb5b74a35c | [] | 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 | 429 | sce | example6_sce.sce | //chapter 19
//example 19.6
//page 830
printf("\n")
printf("given")
Rl=50;Po=1;hFE=50;Vbe=.7;Vrc=4;Vre=1;Vd1=.7;Vd2=Vd1;
Vp=sqrt(2*Rl*Po)
Ip=Vp/Rl
Re3=.1*Rl;
Re2=4.7;//use stabdard value
Re2=Re3;
Icq=.1*Ip
Vb=Vbe+Icq*(Re2+Re3)+Vbe
Vc1=Vrc;
Ib2=Ip/hFE
Irc=Ib2+1*10^-3
Rc=Vrc/Irc
Rc=680;//use standard val... |
1dc6c676bd5052d725df9fa937843c27b47d6b97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.17/Ex3_17.sce | a77431ce102e5f4b8aaf1d4a25d35e559ec43dac | [] | 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 | 182 | sce | Ex3_17.sce | //Ex 3.17
clc;clear;close;
format('v',6);
R=50;//kohm(R1=R2=R3=R)
C=60;//pF(C1=C2=C3=C)
f=1/(2*%pi*R*1000*C*10^-12*sqrt(6));//Hz
disp(f/1000,"Frequency of oscillation(kHz)");
|
fb6a6b2bc1bbf93ffc41552f354cca6873c63e5a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH4/EX4.14/Ex4_14.sce | 11148e2606b12d7cd1bbcf9cb0ce0263298b113e | [] | 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 | 609 | sce | Ex4_14.sce |
funcprot(0);
// Initialization of Variable
function[dms]=degtodms(deg)
d = int(deg)
md = abs(deg - d) * 60
m = int(md)
sd = (md - m) * 60
sd=round(sd*100)/100
dms=[d m sd]
endfunction
//part1
GMT=20+30.0/60+15.0/3600;//GMT in hrs
Long=82+30.0/60;//longitude in degrees east
//calcu... |
a5a9d7db5393bee0ef87db146267934ca85bf653 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2594/CH8/EX8.17/Ex8_17.sce | 7ae89c636250dda1baba790dd0da161b66ea4b15 | [] | 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 | 846 | sce | Ex8_17.sce | clc
un=525
disp("un = "+string(un)+"cm^2/V-s") //initializing value of mobility of n-channel MOS transistor.
VT=0.75
disp("VT = "+string(VT)+" V") //initializing value of threshold Voltage.
Vgs=2
disp("Vgs = "+string(Vgs)+" V") //initializing value of gate to source voltage.
tox=400*10^-8
disp("tox = "+string(t... |
a8c38c313648dfd81683151acb9660f973ad190b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH5/EX5.5/ex5_5.sce | 1f8e17e3257b27b206e1f42c703411646d14e185 | [] | 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 | ex5_5.sce | clc;
clear all;
u = 5000; // Velocity of sound in steel in meters per second
f = 50e3; // Difference between two adjacent frequency in Hertz
d = u/(2*f);//Thickness of plate
disp('m',d,'Thickness of plate is')
|
b781d702cbd6b29ac45561c7725522bf473a0a37 | 01697f0dc71290a6b6e233849a73d19a883845f1 | /sem01/lab04/q06.sce | 06f4f33707d61aebd5b0d15adf13017ffbe191f0 | [] | no_license | aaruni96/Math-Lab | 5d83a13547308bd9d1b7daa28be29a49e1020fbd | 488469c9aba9251f5725e0851fb19e2aef38d234 | refs/heads/master | 2021-01-12T06:29:53.790743 | 2018-04-27T09:21:40 | 2018-04-27T09:21:40 | 77,370,232 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 172 | sce | q06.sce | //tracing asteroid (parametric)
clc;
clear;
t=[-2*%pi:%pi/32:2*%pi];
a=4;
x=a*cos(t).^3;
y=a*sin(t).^3;
plot2d(x,y);
xlabel("X Axis");
ylabel("Y Axis");
title("Asteroid");
|
609f8ddf08cfe39070c4349bfb2b3f0e8be13f8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH2/EX2.4/Exa2_4.sce | b18c693f71bd4e25665305b0ad75b9f943c45271 | [] | 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 | 719 | sce | Exa2_4.sce | //Exa2.4
clc;
clear;
close;
//given data for original design
Tanks=4;//units
TankDia=5.2;//in meter
TankRad=TankDia/2;//in meters
TankHeight=7;//in meters
HeightDiaRatio=TankHeight/TankDia;//unitless
VolPerTank=(22/7)*TankRad^2*TankHeight;//in m^3
//given data for new design
disp("Cost of old design = 111% ... |
a2bffb2cafa2abbd98842b32d882385e1320d99e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1673/CH3/EX3.26/3_26.sce | 6fd19b2073babe670c9bf41989e81f91b33f96e8 | [] | 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 | 711 | sce | 3_26.sce | //double interpolation
//example 3.26
//page 119
clc;clear;close;
y=[0 1 2 3 4];
x=[0 1 4 9 16;2 3 6 11 18;6 7 10 15 22;12 13 16 21 28;18 19 22 27 34];
printf(' y\t\n');
for i=1:5
printf('\n%d',y(i));
end
printf('\n\n-----------------------------------------------x----------------------------------------... |
eba4bef1b477935c841cd7939fa395ed183d2207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH16/EX16.14/Ex16_14.sce | af3141f3198f97ce553a16a6b24b84ab29af4161 | [] | 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 | Ex16_14.sce | //Initilization of variables
W=20 //lb
g=32.2 //ft/s^2
vb=0.5 //rad/s
//Calculations
//Using equations of motion
//Solving the three equations simultaneously by matrix method
X=[0,1,-(W/g)*5.2;-1,0,-(W/g)*3;3,-3,-(1/12)*(W/g)*12^2]
Y=[-0.75*(W/g);(W/g)*1.3-W;0]
C=inv(X)*Y
A=C(1) //lb
B=C(2) //lb
alpha=C(3) ... |
e681cbc212604554e9b47f3913315b3e306c6c7b | fe33c0b16926678447c084c04df084926a9ca29a | /astroid2.sce | 1e4df6f62b1479f26d31985d4bf5ba4edc20ed41 | [] | no_license | askmrsinh/SEM2_AM | bbcf34ce205abe763cb5c85df5f01544cdcdfca5 | da613da5c22f20ab1a814f28315e34b0c2c59a13 | refs/heads/master | 2021-09-28T03:09:19.415553 | 2016-08-18T15:14:23 | 2016-08-18T15:14:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 122 | sce | astroid2.sce | //x=a*(cos(t)^3), y=a*(sin(t)^3)
a=1
t=0:%pi/16:2*%pi;
x=a*(cos(t))^3;
y=a*(sin(t))^3;
plot(x,y)
title('ASTROID'),
|
7f62a7c9b63d4fa37ef4417a14c0e9a1dca854ab | 717ddeb7e700373742c617a95e25a2376565112c | /671/CH7/EX7.15/7_15.sce | 4a84ce28f2db957d0a92c35e9a20bc477e90028a | [] | 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 | 213 | sce | 7_15.sce | N=100
l1=0.15
l2=0.3
l3=0.45
A=0.001
ur1=1447
ur2=5969
ur3=47750
flux=0.6E-3
B=flux/A
H1=B/(uo*ur1)
H2=B/(uo*ur2)
H3=B/(uo*ur3)
disp(H1,H2,H3)
F=H1*l1+H2*l2+H3*l3
disp(F)
I=F/N
disp(I) |
10606d842a870a5e8a12fb36b5eed75dada943f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH3/EX3.16/ex3_16.sce | 5fd38f1390886b6f46bc2eed3ceb386a711c397c | [] | 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 | 181 | sce | ex3_16.sce | clc;
g=32; //gravitational constant in ft/sec square
w=160; //weight in lb
m=w/g //calculating mass in slugs.
disp(m,"Mass in slugs = "); //displaying result |
fbf04cb246df49465f1ac8ddb09d4ccffc5667c8 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH7/EX7.2/ex7_2.sce | f6791c68cf12dd65655a0b9bf51e37c6205bad99 | [] | 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 | 160 | sce | ex7_2.sce | clc;
clear all;
h=40;//height of receiving antenna
D=4*sqrt(h);//radio horizon distance
disp(D,'radio horizon distance of receiving antenna in km is=');
|
7488455cc2fc7085fd9383789311d0ca48364aec | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH2/EX2.7/EX_2_7.sce | bb63d7050e2edda750084c18b7865dd42152ccdd | [] | 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 | 246 | sce | EX_2_7.sce | // Example 2.7:Number of the modes
clc;
clear;
close;
a=50;;// Radius in meter
NA=0.29;// Numerical Aperture
h=0.85;// Wavelength in meter
M=round((2*%pi^2*a^2*NA^2)/(h)^2);//
disp(M,"Number of modes")
//answer is wrong in the textbook
|
a6330aa8b84ff0c5571f2ec63b44a195dc181e0f | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testxlocation.sce | bc2bfb091df884e346deffd8d924a76cbcf3f82e | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 262 | sce | testxlocation.sce | clf;
t=[0:0.02:10*%pi]'; // matrix of parameters
// warning, needs the element-wise operator .* :
x=sin(t).*t;y=cos(t).*t;
plot(x,y,'-r') // plot
// intersect the coordinate axes at point (0,0)
A=gca();
A.x_location="origin";
A.y_location="origin";
|
56499affb7da52682f855dc753fc8cb590432997 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH6/EX6.7/6_7.sce | 63c4dddd941088ff0a5667dcf60580379b3a92db | [] | 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 | 823 | sce | 6_7.sce | ////Variable Declaration
dGR = 67.0 //Std. Gibbs energy of formation for reaction, kJ, from previous problem
dHfFe = 0.0 //Enthalpy of formation for Fe (S), kJ/mol
dHfH2O = -285.8 //Enthalpy of formation for Water (g), kJ/mol
dHfFe2O3 = -1118.4 //Enthalpy of formation for Fe2O3 (s), kJ/mol
dHfH2 ... |
bfeeaa05aefee001ec459cae2856fa307491cb34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH7/EX7.14/Ex7_14.sce | 5510edddf8ea8e61f704b5dbd44544b756d12b67 | [] | 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 | 266 | sce | Ex7_14.sce | clc
//to calculate uncertainity in position
m=9.11*10^-31 //mass of electron in kg
delv=40 //uncertainity in velocity in m/s
h=6.6*10^-34 //plank's constant
delx=h/(2*%pi*m*delv)
disp("uncertainity in the position of the electron is delx="+string(delx)+"m")
|
57bde345445b787de3d8a7964d4b835b9eeab4c3 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab10_18i190002/naskar/lab9.sce | 018c33b27dce10b94a34f0114f63a7a622195fcc | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 493 | sce | lab9.sce | function Bindu1(dem,stock)
disp(mean(dem))
disp(stdev(dem))
figure
histplot(50,dem)
profit=[]
for i=1:length(dem)
if stock<dem(i)
profit(i) = 38*stock-32*stock
elseif stock == dem(i)
profit(i) = 38*dem(i)-32*stock
else
profit(i) = 38*de... |
ec609c50308eef3ebe157d425f7fbbee8e33ee91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH8/EX8.10/8_10.sce | c094698618ac9363b348b2dab648f926768cd688 | [] | 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 | 845 | sce | 8_10.sce | //All the quantities are expressed in SI units
M_inf = 2; //freestream mach number
p_inf = 2.65e4; //freestream pressure
T_inf = 223.3; //freestream temperature
//from Appendix A, for M = 2
p0_inf = 7.824*p_inf; //freestream total pressure
T0_inf = 1... |
73406cd95e227ffd9e60017a5fe02283a2c45974 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.5.b/ex_2_5_b.sce | fb7e569abe5e3c2c620a0ab9e59f76dd2760b02a | [] | 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 | 172 | sce | ex_2_5_b.sce | // Example 2.5.b: Calculate Common Base D.C. Current gain
Beta=100;//Common emitter D.C. Current gain
alfa= (Beta/(1+Beta));
disp(alfa,"Common Base D.C. Current gain")
|
804212613f0683a9b9ae8b4e9084079c66ce08a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH1/EX1.5/Chapter1_example5.sce | d0a9575c3b274b40df18a3a4ddd3908489b9f670 | [] | 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 | 298 | sce | Chapter1_example5.sce | clc
clear
//Input data
l=0.95//Length of the strring in m
m=0.15//Mass of the bob in kg
r=0.25//Radius of the circle in m
//Calculations
h=sqrt(l^2-r^2)//Height of the pendulum in m
t=2*3.14*sqrt(h/9.8)//Period of rotation in s
//Output
printf('The period of rotation is %3.4f s',t)
|
3ef9417fc80eb83f6d1eb2d0f6284a18cce4d4b4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/util/ssprint.sci | 59d9b1e7da1fedfb76a9fdad9d54f9cdc2aa2ec6 | [
"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 | 3,309 | sci | ssprint.sci | function []=ssprint(sl,out)
//ssprint(sl [,out]) pretty print of a linear system in state-space form
// sl=(A,B,C,D) syslin list.
// out=output (default out=%io(2))
// See also texprint.
//Examples:
// a=[1 1;0 1];b=[0 1;1 0];c=[1,1];d=[3,2];
// ssprint(syslin('c',a,b,c,d))
// ssprint(syslin('d',a,b,c,d))
//!
// Copy... |
77a9c08cf2ffa9370de4e452bdc8f95c785f9652 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH2/EX2.14/Chapter2_Example14.sce | 6931d9c4adf797ea0461d958af72d7e971bfff01 | [] | 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 | 921 | sce | Chapter2_Example14.sce | //Chapter-2, Example 2.16, Page 2.30
//=============================================================================
clc
clear
//INPUT DATA
N1=400;//Number of turns in the primary
N2=100;//Number of turns in the secondary
Io=4;//No load current in A
qo=0.3;//No load current power factor
I2=120;//Secondary c... |
ced1c7daffb59fcdac36367f3aac6526609aaddd | db6c77c95fe7a97b791d5689c2ac3b39e791ea17 | /tests/cases/europepmc-json_009.tst | 432558e2ac5a5c1e8fee09cbd6577d5d66fcb467 | [] | no_license | sauliusg/bibliophile | 9623cd5e8b163d36a253eaa36b558ed87666450a | 1e6f63b1e08209af5c6c87ee05098d8fa53a4345 | refs/heads/master | 2021-01-19T05:49:43.075428 | 2018-11-20T19:30:36 | 2018-11-20T19:30:36 | 100,584,633 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | tst | europepmc-json_009.tst | Tests the '--script' option that prints out the command line "curl ..." as a
comment, without executing it.
First, it runs a test to check the website connectivity.
|
c8ce45059411b10a77b6d341678d2e6fe03ff815 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH6/EX6.6/example6_6.sce | ea9d6a0923f05711d43158b2f28709aa87586d8c | [] | 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 | 713 | sce | example6_6.sce | clear
clc
//Example 6.6 FORCES ACTING ON A PIPE BEND
p=75*10^3 //[Pa]
r=0.5; //[m]
A=%pi*r^2 //area[m^2]
S=0.94;
rho=S*1000 //drnsity[kg/m^3]
Gamma=S*9.81 //specific weight of oil[kN/m^3]
V=1.2; //volume of oil[m^3]
Q=2; //[m^3/s]
m=rho*Q //mass flow rate[kg/s]
v=2.55; //[m/s]
theta=30; //degrees
//Reacti... |
5516f60af9ab469db79dd7166ac6e95026da7f06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH11/EX11.2d/eg11_2d.sce | 4834c49e439b66498190b271b34889ce63c22dc8 | [] | 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 | 521 | sce | eg11_2d.sce | X = [3 3 5 18 4 7];
p= [0.1 0.1 0.05 0.4 0.2 0.15];
psimu = 0.1843; //p-value obtained by simulation
num= 10000;
T= 0;
n=sum(X);
np = n*p;
Xsqu = X.^2;
for i= 1:6
T = T + (Xsqu(i)/np(i));
end
T = T - sum(X);
disp(T(1), "The test statistic is")
pvalue = 1- cdfchi("PQ",T(1), 5);
//disp(pvalue, "The pv... |
a0811846dfa6553f5319139c4ae862ed7999156d | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH11/EX11.2/11_2.sce | 9bb6319f60df69c5ebd8049703c0231235448ff1 | [] | 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 | 518 | sce | 11_2.sce |
Zo=50
S11=0.6*exp(-%i*155*%pi/180)
S22=0.48*exp(-%i*20*%pi/180)
S12=0
S21=6*exp(%i*180*%pi/180)
Ss11=0.606*exp(%i*155*%pi/180)
Ss22=0.48*exp(%i*20*%pi/180)
function x=mod(n)
r=real(n)
i=imag(n)
x=sqrt(r^2+i^2)
endfunction
//k=(1-mod(S11)^2-mod(S22)^2+mod(del)^2)/(2*mod(S12*S21))
del=mod(S11*S... |
c52079fb42f727291be1901d6c909356167ee808 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH8/EX8.6/Example_8_6.sce | 9df7414e7ed88b3f3bf04c4e634aead0bda66764 | [] | 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 | 445 | sce | Example_8_6.sce | // Example 8.6 In 1981 a city had a total of 507
clc;
clear;
total_births=507000;
total_population=27512000;
total_female=7576000;
crude_br=(total_births/total_population)*1000;
general_fr=(total_births/total_female)*1000;
disp(general_fr,"General Fertility rate per thousand =",crude_br,"Crude Birth Rate per t... |
fc9f82c3249e8cb99262ee05148a2d8964d06c47 | 203811c2233e8539e9c88a0c988b651914c07c97 | /130040019_assignment1/130040019/code/q5.sce | f13d85e389d591556b2eae39afe80731b4b3441f | [] | no_license | kalpeshpatil/SpeechProcessingAssignments | eeef26f925e137f045cfef996b1bcf59a1be3902 | f80137d2c55a249244a79b5aed13b9ddeb20a80b | refs/heads/master | 2021-01-10T23:31:37.828701 | 2017-03-09T08:58:18 | 2017-03-09T08:58:18 | 70,431,248 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,933 | sce | q5.sce | clear all
//function to read previously generated wavefiles
function y = read_vowel(vowel,F0)
wavefile = strcat(['Output signal of vowel ',vowel,' for F0 = ',string(F0),'.wav'])
y = loadwave(strcat(['../wav_files/Q4/',wavefile]));
endfunction
function [X_mag] = find_windowed_FFT (x,window_type,N,n_f... |
a29af14d7323b3eaa3705fdafc3c533679835556 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH22/EX22.4/Example22_4.sce | c7415514700ba414e9cb3a04e353c9ed57036769 | [] | 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 | 440 | sce | Example22_4.sce | exec('electrostatics.sci', -1)
exec('gravitation.sci', -1)
//Given that
r = 4*10^-15 //in meter
n = 26
mp = 1.67*10^-27 //in kg
//Sample Problem 22-4a
printf("**Sample Problem 22-4a**\n")
Fpp = coulomb(e, e, r)
printf("The force of repulsion is %eN\n", Fpp)
//Sample Problem 22-4b
printf("\n**Sample P... |
81805bb2a5e679f469cec3787062f7c66716ea3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH3/EX3.2/Ex3_2.sci | 918a848773c0c25fc3fd5caf5841d74706e37312 | [] | 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,152 | sci | Ex3_2.sci | clc();
clear;
// To determine the effectiveness of iron fins of 0.14 inch thickness
// For heat transfer to air
b = 0.12/12; // Thickness of iron fins in ft
k = 33; // Mean thermal conductivity of iron in Btu/hr-ft^2
Hamin = 2; // Minimum heat ransfer coefficient w... |
029eb434982c40eedde6fd4627823a4a4c0b51ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH10/EX10.9/Ex10_9.sce | c6144f7f42b5d7798c719280902eff66954abe81 | [] | 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 | 465 | sce | Ex10_9.sce | // Example 10_9
clc;funcprot(0);
// Given data
T=400;// °C
P=1;// MPa
v=0.3066;// m^3/kg
// Calculation
ds=7.619-7.302;// kJ/kg.K
dT=450-350;// K
c_p=(T+273)*(ds/dT);// kJ/kg.K
dv=0.3304-0.2825;// m^3/kg
mu_j=(1/(c_p*10^3))*[((T+273)*(dv/dT))-v];// K/Pa
printf("\nThe Joule thomson coefficient,mu_j=%1.2e K... |
df5fd6a8074ffe0aa95b7987a7b730c4474d288a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH8/EX8.24/Ex8_24.sce | e7379e078db3142af9eede986a23b9047e366433 | [] | 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 | 393 | sce | Ex8_24.sce | clc
//initialization of new variables
clear
b=4 //m wide
c=0.5 //m chord
a=5 //degrees angle of inclination
u=12 //m/s speed
r=1030 //kg/m^3 density
//calculations
a=a*%pi/180
AR=b/c
Cla=2*%pi/(1+2/AR)
Cl=Cla*a
W=Cl*0.5*r*u^2*b
Cdi=Cl^2/(%pi*AR)
Di=0.5*Cdi*r*u^2*b
P=Di*u
printf('The power requi... |
21bc3ad861225cac9c1e3c8f877f46270ed05ff9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /243/CH13/EX13.6/13_06.sce | e6267c593babe4413e1498f232347ffe4019f0a9 | [] | 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 | 777 | sce | 13_06.sce | //Example No. 13_06
//Heun's Method
//Pg No. 427
clear ; close ;clc ;
deff('F = f(x,y)','F = 2*y/x ')
deff('exacty = exacty(x)','exacty = 2*x^2')
x(1) = 1 ;
y(1) = 2 ;
h = 0.25 ;
//Euler's Method
disp('EULERS METHOD')
for i = 2:5
x(i) = x(i-1) + h ;
y(i) = y(i-1) + h*f(x(i-1),y(i-1));
mprint... |
397f96ffeb73abfaebc42f3b9628f7d62cbf07a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH3/EX3.29/Exa_3_29.sce | 11540e0bfa6401d6a939289c1945e09330dac7fa | [] | 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 | Exa_3_29.sce | //periodic or circular convolution
x=[1 0 1 1];
h=[1 2 3 1];
y1=convol(h,x)
y1=[y1,zeros(8:12)];
y2=[y1(1:4);y1(5:8);y1(9:12)];
y=[0 0 0 0];
for i=1:4
for j=1:3
y(i)=y(i)+y2(j,i);
end
end
y |
eedadbdfe32b07dc5cddabff8edb549b032aa555 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Motemote Aimer Hard.sce | 9acbdbd324eb4609c5dcde4d4da3c16fd72a29a5 | [] | 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 | 58,123 | sce | Motemote Aimer Hard.sce | Name=Motemote Aimer Hard
PlayerCharacters=Aimer
BotCharacters=BOT1.bot;BOT2.bot
IsChallenge=true
Timelimit=30.0
PlayerProfile=Aimer
AddedBots=BOT1.bot;BOT1.bot;BOT1.bot
PlayerMaxLives=1
BotMaxLives=0;0;0
PlayerTeam=1
BotTeams=2;2;2
MapName=mote.map
MapScale=2.5
BlockProjectilePredictors=true
BlockCheats=t... |
382af762f9a2be74495d4b793908ef6db6e02296 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/mfscanf.man.tst | 751a4d1bc8e5de881b35b3c16ed767b7acfb1712 | [
"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 | 484 | tst | mfscanf.man.tst | clear;lines(0);
s='1 1.3'
[n,a,b]=msscanf(s,"%i %e")
msscanf(s,"%i %e")
msscanf(' 12\n','%c%c%c%c') //scan characters
msscanf('0xabc','%x') //scan with hexadecimal format
msscanf('012345abczoo','%[0-9abc]%s') //[] notation
//create a file with data
u=mopen(TMPDIR+'/foo','w');
t=0.5;mfprintf(u,'%6.3f %6.3f\n',t,s... |
3f5d5ae8013edb79a2c92232f1d4659fb893c024 | 65a7d82662b27e0f753f5125002922a6fe14d001 | /BIND_scripts/import/Training/scenarios/autor1.sce | ddc6d22cc31fdb466bb091b2367b3c611c6cf898 | [] | no_license | Anais-Hoarau/BING_GUI_Plugins | 12f6308cad028e338022ce658e2d12d61115d412 | 59f50d7e990dc8a19173652f52831785a0848b91 | refs/heads/master | 2023-05-13T05:22:44.647105 | 2021-06-02T16:00:31 | 2021-06-02T16:00:31 | 360,511,786 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 26,961 | sce | autor1.sce | V4.6
français
commentaireManip= Manip training 1 2010 rédigé par Joceline juin 2009 !! TACHE DE DETECTION AUTOROUTE 1 2RM0, 2RM1, 2RM4, 2RM5
nbreCoups= 251
numeroVhSujet= 0
autoriserHyperDepSgi= oui
lancerMdv= non
sautAleatoire= Oui
INSTRUCTION_VARIABLES()
DECLARE(dist,ENTIER)
AFFECTE(dist,0) ; variable permett... |
170ef73c11ec2cf678b943a8835ea05b928d695e | 52b803c4577043c12c9f408a2dd42031f5ea99aa | /lib/latex.sci | 41640edfe4fc83e39a72cbcf18ef6f9dc5516c42 | [] | no_license | radhikagoyal2july/triple-dividend | 436afe77fe027fa9ebb3f51cf5468982dfe49f5c | 3caee2d6e563ea1d43029fe243dcf55b284553b8 | refs/heads/master | 2021-09-02T10:01:40.133516 | 2018-01-01T18:07:33 | 2018-01-01T18:07:33 | 115,935,747 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sci | latex.sci |
function m2tabular(matname,headlines,headcols,SAVEDIR)
if ~isdef("SAVEDIR")
SAVEDIR="";
end
mat =evstr(matname)
// mat = matname
mat(:,2:$) ="&"+ascii(9) + mat(:,2:$);
mat(:,$) = mat(:,$) + " \\";
mat(headlines,$) = mat(headlines,$) + " \midrule";
nbcol... |
d74960841c519abae144b65eb1af781018e4b53e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH1/EX1.5/Ex1_5.sce | e66a2cbbf6a76927ef88476fc1e2baf6fd642b93 | [] | 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 | 597 | sce | Ex1_5.sce | // Scilab Code Ex1.5: Page-11 (2008)
clc; clear;
m1 = 2; // Mass of first body, kg
m2 = 1; // Mass of second body, kg
F = 3; // The horizontal force applied to the mass m1, N
F_prime = m2/(m1 + m2)*F; // Force of contact between m1 and m2, N
printf("\nThe force of contact between m1 and m2 = %3.1f N", F_pri... |
37a703faba859455a3a219480b50e7a283de8efa | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH7/EX7.6/7_6.sce | 702f733d387bfb09450b9c408476d7ff0ebfa159 | [] | 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 | 7_6.sce | clear;
clc;
close;
disp("Example 7.6")
W1=460 //in m/s
b1=45 //degrees
W2=376
b2=30
c=5.25
w=0.05
s=3.5
Wt1=W1*sind(45)
Wt2=W2*sind(30)
Wtm=(Wt1+Wt2)/2
Wz1=W1*cosd(45)
Wz2=W2*cosd(30)
Wz=(Wz1+Wz2)/2
bm=(atan(Wtm/Wz))*180/%pi
sigma=c/s
Cd=w/sigma*cosd(bm)
T=s/100*(abs(Wt1-Wt2))
Wm=(Wz^2+Wtm^2)^(1/2)... |
a1ab3f02dc7abc8ad82d53859cf23831df2c3e44 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/stmcb.sci | 9cf605789b33e307ac21536f32dcb24791c9ed88 | [] | 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 | 2,891 | sci | stmcb.sci | //Compute linear model using Steiglitz-McBride iteration
<<<<<<< HEAD
=======
>>>>>>> 6bbb00d0f0128381ee95194cf7d008fb6504de7d
//calling syntax
//[b,a] = stmcb(h,nb,na)
//[b,a] = stmcb(y,x,nb,na)
//[b,a] = stmcb(h,nb,na,niter)
//[b,a] = stmcb(y,x,nb,na,niter)
//[b,a] = stmcb(h,nb,na,niter,ai)
//[b,a] = stmcb(y,x,nb,na... |
9b2e939b201df022c8fb540b91d64f11c5111b00 | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/prbs/identification/prbs.sci | 659c5f17943a912f8baf385a5fed2d1ac37f28c8 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 293 | sci | prbs.sci | function u=PRBS(active)
if active == 0 then
u = 0;
else
global PRBSu PRBScount;
if PRBSu == [] then
PRBSu = 1;
PRBScount = 30;
end
if PRBScount == 0 then
PRBSu = -1 * PRBSu;
PRBScount = int(rand()*40)+10;
else
PRBScount = PRBScount - 1;
end
u = PRBSu;
global PRBSu PRBScount;
end
endfunction
|
76bfc1d72d720db0f1f94c6e069f64dabb0ae96f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH8/EX8.4/ex8_4.sce | 660e11e829ba4bba86b83260a6ef411264bf5dcf | [] | 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 | 822 | sce | ex8_4.sce | // Exa 8.4
clc;
clear;
close;
format('v',6)
// Given data
R11 = 4;// in k ohm
R21 = 20;// in k ohm
h_ie = 1.1;// in k ohm
R_C1=4;// in k ohm
R22= 10;// in k ohm
R12= 2;// in k ohm
Zb = h_ie;// in k ohm
Zin = (R11*R21*Zb)/( (R11*R21)+(R21*Zb)+(Zb*R11) );// in k ohm
disp(Zin,"The input impedance in k ohm is... |
a27af35ca77ca36fe2320e80052d2578a7a5b87b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH5/EX5.1.1/Ex5_1_1.sce | 1cdb285d417e81d757302e0061f5a229b9845c50 | [] | 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 | 391 | sce | Ex5_1_1.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 5.1.1
//windows XP
//Scilab version-5.5.1
clc;
clear;
//given
n1=1.4675;//Refractive index of the core for silica fiber
n2=1.4622;//Refractive index of the cladding for silica fiber
x=n1*n1;
y=n2*n2;
NA=sqrt... |
373e193206ad56d8d9419c1320062fb21e08e0af | c6bf685755436b2a7bf289ac90bec98340fe97fe | /APLICACAO_MATRIZ.sce | 2cfafd5a9f9eb3390e6173892354c5ad921dc854 | [] | no_license | ivybin/PROGRAMAS-SCE | 82296ac10f4fb02d6e283f64e910666c6103063a | e61918ceae020bd33fcf223908f7decdec1c41b4 | refs/heads/master | 2023-07-23T12:55:08.711868 | 2021-09-02T17:22:23 | 2021-09-02T17:22:23 | 400,595,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 794 | sce | APLICACAO_MATRIZ.sce | /*código que gere três matrizes aleatórias - A, B e C
de dimensão 11x11
E compute os seguintes valores:
a) O somatório dos elementos da diagonal principal.
b) O somatório dos elementos das colunas pares.
c) O somatório dos elementos das colunas ímpares.
d) O logaritmo natural dos resultados dos items a), b) e c).*/
c... |
8646fbff188c8ec43e9dce04a24b75f8f393ccc6 | a188262d9edbef6adc16ea0f8592cfeef92096da | /project02.5/ClkRSLatch.tst | 1d98c6b96f493a42f5daa136bde89b6518bdeb2b | [] | no_license | yc90s/Elements-of-Computing-Systems | 7ec0ae2e92834d1cdcce51a21f732f7b3c290157 | c1ec1dc52e973f7c50a0d5ee04c0a3e4e97f62f2 | refs/heads/master | 2020-11-28T17:44:55.213932 | 2019-12-24T07:50:34 | 2019-12-24T07:50:34 | 229,884,054 | 0 | 0 | null | 2019-12-24T06:25:50 | 2019-12-24T06:25:49 | null | UTF-8 | Scilab | false | false | 1,354 | tst | ClkRSLatch.tst | load ClkRSLatch.hdl,
output-file ClkRSLatch.out,
// Important: the latch must be initialized set or reset
set s 0,
set r 1,
set ck 1,
repeat 5 { tick, tock; }
set ck 0,
repeat 5 { tick, tock; }
output-list time%S1.4.1 s%B2.1.2 r%B2.1.2 ck%B2.1.2 s-%B2.1.2 r-%B2.1.2 q%B2.1.2 q-%B2.1.2;
// Hold
set ck 0... |
0e3f90c26d2ac877e11777356c16c176daa4eaaf | 68f6f3335d41b95146619ddf406414da5c1bc975 | /metodos-numericos/practicas/scilab/ejemplo3.sci | 8d1f4e686016875d698917bc7bf1994fbd6fa396 | [] | no_license | nachocattoni/Ita | be52ab7f80cb0dd7d0a0ef470c72a7f997f2e75b | f7e102a2917ebe59358dbd9d5f7af81703c16fde | refs/heads/master | 2021-05-02T08:09:23.784800 | 2018-02-08T02:50:30 | 2018-02-08T02:50:30 | 120,845,736 | 0 | 0 | null | 2018-02-09T02:29:22 | 2018-02-09T02:29:21 | null | UTF-8 | Scilab | false | false | 521 | sci | ejemplo3.sci | clc
clear
function r =misraices(p)
c = coeff(p,0);
b = coeff(p,1);
a = coeff(p,2);
r(1) = (-b + sqrt(b^2-4*a*c))/(2*a);
r(2) = (-b - sqrt(b^2-4*a*c))/(2*a);
endfunction
p = poly([-0.0001 10000.0 0.0001],"x","coeff");
e1 = 1e-8;
roots1 = misraices(p);
r1 = roots1(1);
roots2 = roots(p);
r2 = roots2(... |
655adcd3361347cb608c9b67a58c2e2cd29b0272 | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /pushswap42/scripts/docker_file/test_500/test3.tst | 217a5fd890b4679240b9a5fcd80bd9961c5b8d11 | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,943 | tst | test3.tst | 913 131 461 634 991 142 253 411 27 823 602 252 0 540 936 408 378 764 704 312 728 399 184 534 176 233 714 558 909 871 703 919 702 456 797 766 476 796 709 950 993 112 325 902 649 963 135 794 834 310 985 498 690 996 140 384 46 817 121 282 997 165 50 432 961 52 362 76 448 155 943 519 284 386 640 302 343 838 627 895 358 103... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.