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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
529c1410da17e83c0fbcfcf44cbfae72eb20c948 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH16/EX16.2/Ex16_2.sce | fd716311daff74e03389701b57ee4968aed98daf | [] | 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 | 831 | sce | Ex16_2.sce | //Fluid Systems - By Shiv Kumar
//Chapter 16- Hydraulic Power and Its Transmissions
//Example 16.2
//To Determine the Flow Rate and the Minimum Diameter of Pipe.
clc
clear
//Given Data:-
P=1000; //Power Transmitted, kW
eta=85/100; //Efficiency
l=500; //Length of the Pipe,... |
3300d298dddc958f14d1f54859d3d89b233a9c89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH7/EX7.10/7_10exam.sce | cbe18ba62b99380f947dcb157ae40555fa69b082 | [] | 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 | 392 | sce | 7_10exam.sce | //Engineering and Chemical Thermodynamics
//Example 7.10
//Page no :343
clear ; clc ;
//Given
gama_a_inf = 0.88 ;
gama_b_inf = 0.86 ;
R = 8.314 ;
T = 39.33 + 273 ;
A_1 = R * T * log(gama_a_inf) ;
A_2 = R * T * log(gama_b_inf) ;
A = (A_1 + A_2) / 2 ;
disp(" Example: 7.10 Page no : 343") ;
printf("\n ... |
75684a23ab0b0810563d8ddc22a8df079cb9d092 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3041/CH2/EX2.14/Ex2_14.sce | 362d3b6a09bf3abd4de7685ff4922d5fc4782545 | [] | 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 | 958 | sce | Ex2_14.sce | //Variable declaration
k=2. //device parameter
Vt=-1. //threshold voltage(V)
Vdd=-12. //drain voltage(V)
R1=300. //resistance(kohms)
R2=100. //resistance(kohms)
//Calculations
//Part a
Vgs=-2 //gate to so... |
49becadbf396258ee733240379081546e6b63b3a | cc2d34f24c651a9d4b81fc3ebd32ef5a23c5ef13 | /SCILAB5/MAT2SCI/myfirst.sci | 9aed51109c310cabbf34a7fa4d4b3e4a93961816 | [] | no_license | b4ss3k/D_DSP | 85cfacf4e948109faa33cbc424390b44f53cc197 | aabcc12fe0305e29713de6c0538428dd9ef323d3 | refs/heads/master | 2020-04-06T04:46:40.053395 | 2015-08-05T01:24:16 | 2015-08-05T01:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 184 | sci | myfirst.sci |
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
t = ((1/16:1/8:1)'*2)*%pi;
x = sin(t);
y = cos(t);
// fill(x,y,''r'')
// axis square
plot(t,x);
//
|
96b0267b576437eb1e1548bf1d9c5ed88eb4e468 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1085/CH15/EX15.2/ex15_2.sce | 071cf71bc653c4920f436058d772d6bb4fbcdcbc | [] | 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 | 368 | sce | ex15_2.sce | //Exam:15.2
clc;
clear;
close;
U=1200;//electron mobility in cm2/Volt-sec
e=1.6*10^(-19);//charge on the electron in C
n=10^13;//concentration of phosphorus
sigma=U*e*n;//conductivity of crystal in mho/cm
p_i=1/sigma;//resistivity of silicon wafer if all donor atom are active
disp(p_i,'resistivity of silicon w... |
61c8e69b09f761253d24baec8622634e56be6b51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH8/EX8.11/Example8_11.sce | 47af863f5c3e4055509a8bb90dbd9f9681353ada | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Example8_11.sce | //chapter-8,Example8_11,pg 500
n=20//(Vs/Is)
Is=5//n=(Vs/Is)
Vs=100//n=(Vs/Is)
N=0.25//resistance to reactance ratio
Bur=15//burden of CT=15VA (rating)
V=(Bur/Is)//voltage rating
B=atan(N)//cos(B)-> power factor
B=B*(180/%pi)//conversion into degree
IL=0.13//iron loss
I=(Bur/Vs)//current r... |
52330105194b12e4c4465a8637c5d55bdfb86a19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.63/ExampleA63.sce | e21139a5afec0ee9ccb43e1d105b399a77f80efb | [] | 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 | 708 | sce | ExampleA63.sce | clc
clear
//Page number 504
//Input data
dt=250;//The temperature gradient of an insulated copper rod in degree centigrade per metre
x=0.05;//The distance between the two points in m
K=384;//The thermal conductivity of copper in W.m^-1.K^-1
A=1;//The surface area of the copper rod in m^2
t=1;//The given ti... |
87cf743c721a3d66cecb0c722f5fc625699ca3b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH21/EX21.12/ex21_12.sce | 8fdf66223a25f07b087656dcd20b1fb183133b41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | ex21_12.sce | clc;
clear all;
er=12;//relative dielectric constant of material
N=5e28;//no of atoms
e0=8.85e-12;//permittivity of vacume
xe=e0*(er-1)/N;//polarisability of element
disp('F m^2',xe,'polarisability of element is:')
|
b761a56b9055b4b5ad8ca7a5adfd518cd0a8acf5 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/B02.prev.tst | 2a4d0fb74914ff2def518092dd8bb22dfbb178a8 | [
"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 | 1,804 | tst | B02.prev.tst | [0/1.0] a^3 + b^3 - c^3 - d^3
a0 b0 c0 d0: a_0^3+b_0^3-c_0^3-d_0^3; success 0
{a=0, b=0, c=0, d=0} - trivial SOLUTION
a1 b0 c0 d0: 1+6*a_0+12*a_0^2+8*a_0^3+8*b_0^3-8*c_0^3-8*d_0^3; failure constant=1, vgcd=2 ?
a0 b1 c0 d0: 1+8*a_0^3+6*b_0+12*b_0^2+8*b_0^3-8*c_0^3-8*d_0^3; failure constant=1, vgcd=2 ?
a1 b1 c0 d0: 1+3*a... |
0d3c0be0a12dfdd347bce45583932ddecf821c63 | 726961a3412b6d2fda7c781172773be5e27ac97a | /jflap-grades/tests/q01c.tst | 664e3fe00519c3f511ed5a277e56a437d5d8a344 | [] | no_license | ailton07/jflap-grades-19-2 | 0546deb482e7f8e003591351191fa649d62fd405 | ff58118d31aa30a0f56cae8e5f0186d44c1b72a8 | refs/heads/master | 2020-09-16T12:49:31.560841 | 2019-11-25T01:03:19 | 2019-11-25T01:03:19 | 223,774,968 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 83 | tst | q01c.tst | 0
0.20
2212343322 1
1322022 1
13332000 1
2333311332 1
13031 0
1233 0
111 0
00022 0
|
c4a4ac30fa6ede69b290e267a9a40d6517d0f4a0 | f78a758dc17a311b355e12366d1315f7a9c2b763 | /MG ROVER/MG RES 62.21.627 2004/Test pulse 4 0.tst | 51a4d91795538fb0a66cca88676190a9303b0af2 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 683 | tst | Test pulse 4 0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE AUTOTEST>
<AutoTest version="2.0.0" wavetype="5">
<Pulse>Pulse 4</Pulse>
<Title>Test Pulse 4</Title>
<Organization>MG ROVER</Organization>
<Standard>MG RES 62.21.627 2004</Standard>
<Item>Test pulse 4</Item>
<system>
<Powe... |
362af275bf8bf3d1dd4d5f7fff222c95eb827d6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.40/Ex4_40.sce | 3976a0abafeff43a88ca0b21e70ffa1ba8b7c799 | [] | 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,428 | sce | Ex4_40.sce | clc;
v=200; // rated voltage of shunt motor
i=22; // rated current of dc shunt motor
n1=1000; // speed at which motor is running
rf=100; // field resistance
ra=0.1; // armature resistance
n2=800; // reduced speed at which motor is to run
iF=v/rf; // field current
ia=i-iF; // armature current
disp('case a');
/... |
9dae7df08b778f03d9ebc0d95a99babfe893527e | a159f59d19e2b03b234e9c2977ba4a932180e648 | /Software/GreenScilabV0.9/macros/Draw_bending.sci | 67911e5022d13e0e5ff61470f9093d1c503c036a | [] | no_license | OpenAgricultureFoundation/openag_sim | e052bbcc31b1d7f9b84add066327b479785f8723 | 425e678b55e24b5848d17181d25770175b8c2c3f | refs/heads/master | 2021-07-01T06:25:08.753260 | 2017-09-20T21:44:18 | 2017-09-20T21:44:18 | 80,540,145 | 0 | 1 | null | null | null | null | GB18030 | Scilab | false | false | 3,391 | sci | Draw_bending.sci | function [theta] = Draw_bending(p,L0,h0,Ey,InitAngle,fp,End_Ang,End_N,InitNum)
// Ouput variables initialisation (not found in input variables)
theta=[];
//------------------------ calculate bending angal theta -------------------------%
Init = InitAngle;//第一个生长单元离Z轴的角度
h=ceil(fp(p)*h0);
theta=zeros(1,L0)... |
c9ec0df25742c5a407783e5504def0ce46664cdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH7/EX7.9/ex_7_9.sce | bb874c12aedffc95e696749c5fbc3df87d2cf5dc | [] | 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 | 616 | sce | ex_7_9.sce | //Example 7.9: Time taken and current
clc;
clear;
close;
//given data :
V=3000;// line voltage in volts
W=200;// weight of train in tonnes
D=0.9;// diameter in m
G=(30/1000)*100;//percentage gradient
r=50;// in N/tonne
gama=4;// gear ratio
Vm=50;//in km/h
eta=0.9;// gearing efficiency
We=1.10*W;// in tonne
T=4*6000;// ... |
885a8d86b8ff47e88958747bbb1bb3d5d9f5cbda | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH21/EX21.6/193ex2.sce | 3bd920570bc50ed48225a45baf5e02e8d9bf136d | [] | 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 | 193ex2.sce |
//volume of mass os gas at const. temp. varies inversly as pressure on it
clear
clc
close
//v=volume
//T=absolute temperature
//P=pressure
mprintf("\n v=k*T/P \n")
|
b8ab7376be2f8b818d0433b3e6b2f2179c214471 | 449d555969bfd7befe906877abab098c6e63a0e8 | /135/CH5/EX5.16/EX16.sce | 84e10ffc6304f6c7d9277fb3884b1a6fc8380d3f | [] | 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 | 229 | sce | EX16.sce | // Example 5.16: Io
clc, clear
bta=100;
VBE=0.7; // in volts
// From Fig. 5.30
// Writing KVL for the indicated loop
I_ref=(10-VBE)/10; // in mili-amperes
Io=bta*I_ref/(2*(1+bta)); // in mili-amperes
disp(Io,"Io (mA) ="); |
c56d28f0c64bfc44c9c5c74c62fcf2a398318fc3 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Meditate for 5 minutes.sce | 6fe95f9484b9854ed935b0b211b238bce5a52773 | [] | 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 | 16,427 | sce | Meditate for 5 minutes.sce | Name=Meditate for 5 minutes
PlayerCharacters=Meditator
BotCharacters=bot.bot
IsChallenge=true
Timelimit=300.0
PlayerProfile=Meditator
AddedBots=bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=0
MapName=boxer1spnobounds.map
MapScale=6.0
BlockProjectilePredictors=false
BlockCheats=true
Invinci... |
c893849072a320b44887cf3daa2c69bea68e815d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH8/EX8.7/Chapter8_Example7.sce | d2b2c2194f98dfd11dfd0bff2f01490cc4f5bf11 | [] | 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 | 451 | sce | Chapter8_Example7.sce | clc
clear
//input data
T1=300;//The temperature maintained on one sphere (black body radiator) in K
T2=200;//The temperature maintained on another sphere (black body radiator) in K
s=5.672*10^-8;//Stefans constant in M.K.S units
//Calculations
R=s*(T1^4-T2^4);//The net rate of energy transfer between the ... |
c12ba4e502a4aa00b73bdc1ba4aa3b635c9f600f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH12/EX12.5/ch12_5.sce | 2f910a48da4e8ede19b930d32565536dfa3d198f | [] | 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 | 434 | sce | ch12_5.sce | clear;
clc;
V_s=400;
V_m=sqrt(2)*V_s;
V_f=2*V_m/%pi;
a1=acosd(-V_f*%pi/(2*V_m)); printf("delay angle of field converter=%.0f deg",a1);
r_f=200;
I_f=V_f/r_f;
T_e=85;
K_a=.8;
I_a=T_e/(I_f*K_a);
n_m=1200;
w_m=2*%pi*n_m/60;
r_a=.1;
I_a=50;
V_t=-K_a*I_f*w_m+I_a*r_a;
a=acosd(V_t*%pi/(2*V_m)); printf("\n... |
5d88c16565ef1e07038655b7212a336e6c64ed8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH3/EX3.1/exa_3_1.sce | 612903ebcfbf8c2b324a2176bb636c3c83402178 | [] | 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 | exa_3_1.sce | // Exa 3.1
clc;
clear;
close;
// Given data
Co= 20;// in pF
Vr= 5;// in V
V_T= 26;// in mV
V_T= V_T*10^-3;// in V
C_T= Co/(1+(Vr/V_T));// in pF
disp(C_T,"The transition capacitance of diode in pF")
|
69df829995401718847449c09651bfb9af6ef762 | 1232196a72221f6cc0ee0a9a47111ef1188dafe9 | /xcos_blocks/lpfota_c.sci | 52933b792b53165e7c1f8ac7d023cfc54f147b3d | [] | no_license | sumagin/rasp30 | 06dc2ee1587a4eaf3cf5fb992375b8589617f882 | a11dcffaed22dbac1f93c2f4798a48c7b0b1f795 | refs/heads/master | 2021-01-24T23:51:54.459864 | 2016-07-08T22:03:43 | 2016-07-08T22:03:43 | 16,685,217 | 2 | 3 | null | 2015-07-23T15:28:49 | 2014-02-10T05:17:38 | C | UTF-8 | Scilab | false | false | 332 | sci | lpfota_c.sci | function block=lpfota_c(block,flag)
if flag ==1
r = 1:block.ipar(1)
block.outptr(1)(r)=block.x(r)
elseif flag==0
kap= 0.7;
C = 5e-9;
Ut = 0.256;
j = 1:block.ipar(1)
block.xd(j)=(block.rpar(j)/C).*tanh((kap*(block.inptr(1)(j)-block.x(j)))/(2*Ut))
end
en... |
d67f9db197646bcf5281d3c594d8b177c34dbbea | 449d555969bfd7befe906877abab098c6e63a0e8 | /3547/CH10/EX10.8/EX10_8.sce | 20982607ce23e0ff09d5ee514d34a3071c3deaea | [] | 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 | 743 | sce | EX10_8.sce | // Example 10.8
// Calculation of the Stokes signal power at the fiber output
// Page no 480
clc;
clear;
close;
//Given data
p1=20; // Input power pump
ps=-10; // Input Stokes’s signal power
alpha=0.08;
L=2; // Length of fiber
alpha1=0.046... |
87bc15e9f5560e5d44d1a35f06338eb37dd4eb8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH3/EX3.12/Ex3_12.sce | efb51b4bc84dfaf99d8369040472f3c2244477e0 | [] | 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 | 438 | sce | Ex3_12.sce | //Example 3_12
clc;
clear;
close;
format('v',6);
//given data :
V=230;//V
f=50;//Hz
R=5;//ohm
L=30;//mH
XL=2*%pi*f*L*10^-3;//ohm
Z=R+%i*XL;//ohm
I=V/Z;//A
Imag=abs(I);//A
disp(Imag,"Magnitude of current(A) : ");
fi=atand(imag(I),real(I));//degree
format('v',5);
pf=cosd(fi);//Power Factor
disp(pf,"Powe... |
06b4e1ef5f7b17a77fbd069298d0bbcb468a97fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH13/EX13.2/Ex13_2.sce | de8b82b06774b3c542fed01765966290e3e9d03e | [] | 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 | 210 | sce | Ex13_2.sce | Idon=0.01;
Vgson=10;
Vgsth=1.5;
k=Idon/(Vgson-Vgsth)^2;
Vdd=10;
R2=1000000;
R1=1000000;
Vg=Vdd*(R2/(R1+R2));
Id=k*((Vg-Vgsth)^2);
disp('mA',Id*1000,"Id=")//The answers vary due to round off error
|
0e9b664685fbff7171ab65cbfbbaeb61ef5bf8a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH7/EX7.27.1/exa7_27_1.sce | e69fa6f055a45e7f9a80e187ea1c1f285d5a00e9 | [] | 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 | 644 | sce | exa7_27_1.sce | // Example 7-27-1
// Design of Lag compensator with Bode plots
clear; clc;
xdel(winsid()); //close all windows
mode(0);
// please edit the path
// cd "/<your code directory>/";
// exec("shmargins.sci");
s = %s/2/%pi;
G = 1 / (s * (s + 1) * (0.5*s + 1));
Kv = 5;
K = Kv / horner(s * G,0)
GK = syslin('c',K * G);
[gm... |
82cfc571b61fc4bd5ca529ff8e88a192c3383067 | 84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668 | /Tutorial01-Basics/Scilab_code/Tutorial1_function.sce | 164430c3d4e6f402feb48ae5d8564fa444a44b74 | [] | no_license | FOSSEE/scilab-tutorials | c4a9464a5b163074566234e42659f99e2012ecc0 | 301609f6ef1653dee4fa2ed74bca3e6f7abc1308 | refs/heads/master | 2020-03-26T23:48:04.178016 | 2018-10-08T00:44:39 | 2018-10-08T00:44:39 | 145,567,949 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 814 | sce | Tutorial1_function.sce | //This Matlab script is used to compute mean and standard deviation of data
//Clears all previous variables stored
clear
//Clears screen
clc
//Executing the mymean function that computes the mean of a given data
exec mymean.sci;
//Executing the mystdev function that computes the standard deviation of a given data
... |
46606670a2805edd079408e054c73bbc25bfda87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH2/EX2.8/Ex2_8.sce | 1f7d45ce6817215ce19ab49eda8be4e8bb29cc56 | [] | 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,236 | sce | Ex2_8.sce | clc
// Given that
A= 60*7.5 // Cross sectional area in cm^2
v=0.05 // Withdrawal rate in m/sec
t = 0.0125 // Thickness in m
thetaF= 1500 // Temperature of mould face in degree centigrate
thetaP = 1550 //
thetaO = 20 // Initial temperature of mould in Degree centigrate
L= 268e3 // Latent heat of molten metal in J/Kg
D... |
7310f4593be78308b117f1c9a0894f0a103d40cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH1/EX1.4.11/Example1_17.sce | f427f4eb397cd80f5fcb4d58641002a35f65ae3f | [] | 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 | 428 | sce | Example1_17.sce | //Chapter-1,Example1_4_11,pg 1-37
D_4=0.4 //diameter of 4th dark ring
D_12=0.7 //diameter of 12th dark ring
const=D_4^2/(4*4) //assume (R*wavelength = const) for 4th dark ring
D_20=sqrt(4*20*const) ... |
c4ecdee56507ec15085e4024e9389375d9622ef0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH21/EX21.9/Ex21_9.sce | 6d05b429c7c3a53e557d1dfb55347ebf4ae06bd2 | [] | 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,415 | sce | Ex21_9.sce | clc
n = 20 // number of samples
A = 1.342
A1 = 1.596
A2 = 0.577
d2 = 2.326
d3 = 0.864
D1 = 0
D2 = 4.918
D3 = 0
D4 = 2.115
// number of defectives
x1 = 3290
x2 = 3180
x3 = 3350
x4 = 3470
x5 = 3080
x6 = 3240
x7 = 3260
x8 = 3310
x9 = 3640
x10 = 4110
x11 = 3220
x12 = 3590
x13 = 4270
x14 = 4040
x15... |
cc6da9eb782839326222d348c30648bd08aa7b29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH6/EX6.1/Ex6_1.sce | 4f075c73084193e1347a768c9bca5278f7d53454 | [] | 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 | 204 | sce | Ex6_1.sce | //Example 6_1 page no:229
clc
phase_angle=30//phase angle in degree
Vm=100//maximum voltage
Veff=100/sqrt(2)
Ieff=15/sqrt(2)
Pav=Veff*Ieff*cosd(phase_angle)
disp(Pav,"Average Power is(in watts)")
|
19560da9d2bab20e0792f217e93a3dae70d2f99b | c9e04373e33a2721547c7ae2be20ee84f115be1c | /evaluationData/linkutilization.sce | dac9d904845ae04c53252b78b08b705f3ba47d84 | [] | no_license | lspxian/junsp | f944ce163267608cb9cdb939a0ac809f724fb396 | ca1571bbc30e6a9a183fa8d675567e169288acf4 | refs/heads/master | 2021-01-23T14:10:34.141815 | 2017-10-06T17:03:10 | 2017-10-06T17:03:10 | 34,068,408 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | sce | linkutilization.sce | linkutilization= read("linkUtilization.txt",-1,2);
time = linkutilization(:,$-1);
linkutilization = linkutilization(:,$);
plot2d(time,linkutilization);
|
472e2c7fdbf12c204ecf37310f48858b2bf94a4e | e806e966b06a53388fb300d89534354b222c2cad | /macros/roifill.sci | b69288a56a57feed8d0f37b3c32a961c981872a2 | [] | 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 | 486 | sci | roifill.sci | function new_image = roifill(image, mask_orig, varargin)
[ lhs, rhs ] = argn(0)
if rhs < 2 then
error(msprintf("Too less input arguments"))
elseif rhs > 3 then
error(msprintf("Too many input arguments"))
end
image_list = mattolist(image)
select rhs
case 2
out = opencv_roifill(image_list, mask... |
2982518ca6f740f5a840885cc6d091aa4e701d9a | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH14/EX14.12/14_12.sce | 19fc821ae027079a052375d97c365e5f52648059 | [] | 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,158 | sce | 14_12.sce | //Problem 14.12: The current in an a.c. circuit at any time t seconds is given by: i = 120 sin(100*pit+0.36) amperes. Find: (a) the peak value, the periodic time, the frequency and phase angle relative to 120sin 100pit (b) the value of the current when t = 0 (c) the value of the current when t = 8 ms (d) the time wh... |
2f99e8143de6b7e19f01dfea12a04ab625463153 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.21.1/Ex8_21.sce | 152469966020a70a9e01d9f7c0854604cfac6e0d | [] | 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 | 206 | sce | Ex8_21.sce | clc
clear
P1=1;
P2=5.5;
T1=27+273;
Pa=1.01325;
Ta=17+273;
C=0.06;
n=1.3;
Ev=[(P1*Ta)/(Pa*T1)]*[1+C-(C*((P2/P1)^(1/n)))];
printf('Volumetric Efficiency: %3.0f Percent',Ev*100);
printf('\n');
|
bace946bbb952d89d288f5118a7ad4d465ed78b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH9/EX9.13/9_13.sce | 4615efd52af6c754f17010fa1613fa967702dc50 | [] | 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 | 627 | sce | 9_13.sce | x1 = 1; x2 = 0.8;
// at 0.2MPa
vg = 0.8857; v1 = vg; hg = 2706.7; h1 = hg;
m1 = 5 ; V1 = m1*v1;
// at 0.5MPa
m2 = 10;
hf = 640.23; hfg = 2108.5
vf = 0.001093; vfg = 0.3749;
v2 = vf+(x2*vfg);
V2 = m2*v2;
//
Vm = V1+V2;
m = m1+m2;
vm = Vm/m;
u1 = h1;
h2 = hf+(x2*hfg);
u2 = h2;
m3 = m;
h3 = ((m1*u1)+(m... |
bc845a988d26c9622aeccd0795973650e1fb77f4 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r38/packages/mathml/mathmlom.tst | 2ee86b10898f1167d2997f96b8eadc80f3d0f5bd | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 68,295 | tst | mathmlom.tst | load mathmlom;
%in "$reduce/packages/mathml/examples.mml";
% Description: This file contains a long list of examples demonstrating the abilities of
% the translator. Most of these examples come straight from the MathML spec. They
% were used during the development of the interface a... |
2980fe79d171d2ad4008308dec3ae0d6a8206dbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH25/EX25.3/Example25_3.sce | c74eaadf1a96450df442429a596759507959764f | [] | 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 | 670 | sce | Example25_3.sce | clear ;
clc;
// Example 25.3
printf('Example 25.3\n\n');
//page no. 771
// Solution
// Given
// The main reaction is 4*NH3(g) + 5*O2(g) --> 4*NO(g) + 6*H2O (A)
H_fNH3 = -46.191 ;// Standard heat of formation of NH3 -[kJ/ g mol]
H_fO2 = 0 ;//Standard heat of formation of O2 -[kJ/ g mol]
H... |
1a0a8580e9e0164c333ad89b861e748809b90098 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/islinphase/islinphase10.sce | 8546641ab231ff552173aaa88d8c20731a866eb8 | [] | 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 | 87 | sce | islinphase10.sce | b = [1/3 1/4 1/5 1];
a = b(:,$:-1:1);
flag = islinphase(b,a);
disp(flag);
//output
//0
|
fc2fd3a5fe4dcc3ecb68a7d41884ba152b97fe70 | c03501bc228083400f9ab050323152835642b2ef | /lab2 qns/qn3.tst | cf259a1451125c05f0b9db2a836caaff7ca84e4f | [] | no_license | bharath1729/CS2310-LAB2 | 6e3b83b337e0c1956a0ad36216745a53cf70c4f4 | 055c33e70f06cc88ab9e02a534a8e5c918575d22 | refs/heads/main | 2023-07-17T05:03:34.271766 | 2021-08-29T17:50:52 | 2021-08-29T17:50:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 850 | tst | qn3.tst |
load qn3.hdl,
output-file qn3.out,
output-list x0%B3.1.3 x1%B3.1.3 s0%B3.1.3 s1%B3.1.3 s2%B3.1.3 y0%B3.1.3 z0%B3.1.3 y1%B3.1.3 z1%B3.1.3 y2%B3.1.3 z2%B3.1.3 y3%B3.1.3 z3%B3.1.3 y4%B3.1.3 z4%B3.1.3 y5%B3.1.3 z5%B3.1.3 y6%B3.1.3 z6%B3.1.3 y7%B3.1.3 z7%B3.1.3 ;
set x0 1,
set x1 1,
set s0 0,
set s1 0,
set s2 0... |
a2aa3a7fbefb89b16cf09f9443abc99f9484f2d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH10/EX10.2.2/10_2_2.sce | 2346bf61abe753caddb4c1c9887d85feb4505378 | [] | 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 | 334 | sce | 10_2_2.sce | clc
//initialisation of variables
d= 6 //ft
C= 95 //ft^0.5/sec
i= 1/800
m= 1.705 //ft
O= 211
a= 15.16
g= 32.2 //ft^2/sec
//CALCULATIONS
A= ((d/2)^2/2)*(((O*%pi)/180)+sind(2*a))
u= C*sqrt(m*i)
Q= A*u
f= (2*g)/C^2
//RESULTS
printf (' rate of volumetric flow= %.1f ft^3/sec',Q)
printf (' \n resistance facto... |
08f63cacff36c2a5a0367b3bb0bd9583ec660979 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3834/CH2/EX2.2.1/Ex2_2_1.sce | 0e03f0b4ba2012cc783acc0eab2dcecd918ab03a | [] | 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 | 365 | sce | Ex2_2_1.sce | //Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner
//Example 2.2.1
//OS=Windows 10
////Scilab version Scilab 6.0.0-beta-2(64 bit)
clc;
clear;
//given
c=3E8;//velocity of light in m/sec
n=1.5;//refractive idex of glass
v=(c/n);//light velocity in glass in m/s
mprintf("Lig... |
3f2c6750ee1d27878b595c20cab2a1ea22860f89 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Machine_Design_U._C._Jindal_683.zip/Machine_Design_U._C._Jindal_683/CH3/EX3.4/MS_4.sce | afd0d32609bd5d0fc9ff76907f53e18a4812d6cc | [] | 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 | 319 | sce | MS_4.sce | errcatch(-1,"stop");mode(2);// sum 3-4
;
;
P=40*10^3;
A=60*18;
sig=P/A;
r1=12;
b1=60;
SCF1=1.7;
sigmax1=sig*SCF1;
r2=24;
b2=60;
SCF2=1.5;
sigmax2=sig*SCF2;
// printing data in scilab o/p window
printf("sigmax1 is %f N/mm^2 ",sigmax1);
printf("\n sigmax2 is %f N/mm^2 ",sigmax2);
exit();
|
631cf89837468a0236d8d8d402e1723a48ac8991 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH9/EX9.16/Ex9_16.sce | 4a13d20b9d2fbda5b56077dac19703b91db7ebab | [] | 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 | 295 | sce | Ex9_16.sce | Bt=12.5*10^6
Bc=200*10^3
Ns=8
N=Bt/Bc
Ns=8
Nu=N*Ns
K=4//frequency reuse factor
SysC=Nu/K//system capacity
M=(Bt/Bc)*Ns*(1/K)//system capacity using alternate method
disp(SysC,'System capacity per cell in (users/cell)')
disp(M,'System capacity per cell,M,in (users/cell) using alternate method')
|
3a1b2ae19e0210988aab9de7445f590245d16099 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH6/EX6.7/ch6_7.sce | de6b5989e904cf6a22f28f897092f09d543765ba | [] | 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 | 364 | sce | ch6_7.sce | clear;
clc;
V_s=230;
V_m=sqrt(2)*V_s;
R=.4;
I_o=10;
I_or=I_o;
E=120;
a=acosd((E+I_o*R)*%pi/(2*V_m)); printf("firing angle delay=%.2f deg",a);
pf=(E*I_o+I_or^2*R)/(V_s*I_or); printf("\npf=%.4f",pf);
E=-120;
a=acosd((E+I_o*R)*%pi/(2*V_m)); printf("\nfiring angle delay=%.2f deg",a);
pf=(-E*I_o-I_or^... |
6622ecaa60c77dd5d1cc634592d24487f8a4deab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH5/EX5.5/Ex5_5.sce | 7e32e8343a09f579e5eedcef0867485e00957624 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,533 | sce | Ex5_5.sce | //Fluid Systems- By Shiv Kumar
//Chapter 5- Francis Turbine
//Example 5.5
//To Determine (a) Guide Blade Angle (b)Runner Vane Angles at Inlet and Outlet (c) Diameter of Runner at Inlet and Outlet (d) Width of Wheel at Inlet.
clc
clear
//Given Data:-
H=70; //Net Head, m
N=6... |
4ba268cd1017a5f38e4033a1728856d4baab9bed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH2/EX2.36/ex_2_36.sce | 60d1c6c71f9a898b7d3fd5ff2e0c1749b427acca | [] | 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 | 398 | sce | ex_2_36.sce | //Example 2.36: phase angle error load in VA
clc;
clear;
close;
//given data
v1=1000;//V
v2=100;//V
r=v1/v2;//
pf=0.4;//
sd=pf;//
csd=sqrt(1-pf^2);//
im=0.02;//A
ie=im*(pf/csd);//A
xp=65.4;//ohm
rp=97.5;//ohm
th=((ie*xp)-(im*rp))/(r*v2);//rad
thd=th*(180/%pi);//
disp("phase angle is "+string(thd*60) +"minutes")
Xp=110... |
8b2fe296ba83f9b98e893029cbae1c6166537cb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH9/EX9.4/example9_4.sce | 64eecf4fecf098639b80f94e968782e3e58a197b | [] | 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,084 | sce | example9_4.sce | disp('chapter 9 ex9.4')
disp('given')
disp('design an noninverting Schmitt trigger circuit to have UTP=+3volt and LTP=-5volt')
disp('using 741 op-amp with a supply of +or-15volt and Vf=0.7volt')
Vcc=15
Vf=0.7
disp('design first for the UTP')
disp('for adequate diode forward current,let I2=500*10^(-6)A')
I2=500*... |
6abeae29e8709281ae7ecb38b2a71db014eb9304 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH2/EX2.12/2Ex12.sce | 4d4d2280136de3e49309019d108a5ade9a6700e9 | [] | 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 | 191 | sce | 2Ex12.sce | //chapter 2 Ex 12
clc;
clear;
close;
l1=4*100+95; l2=9*100; l3=16*100+65; //converting lengths into cm
V=int32([l1 l2 l3]);
Hcf=gcd(V);
mprintf("The required length is %d cm",Hcf);
|
557b7930d992c40ecea989c42b6b7a8535cba3fd | 297b29fb450286d0f7fa619e58c9f4a86949544a | /Descrambler.sci | 425d302bc2b62bb79f91c13f5aa72ae84166b40f | [] | no_license | harshal93shah/scilabcom | 46dc948c1e0d0b37b0a69dfa203347298cc01e40 | 09c5506089a4283968d963ed3812de9823c5a008 | refs/heads/master | 2020-04-06T07:03:23.954966 | 2016-10-04T11:49:41 | 2016-10-04T11:49:41 | 54,882,787 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,839 | sci | Descrambler.sci | function [y] = Descrambler(N,in,polynomial,initialstate)
y=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//Descrambler The Descrambler object scrambles a scalar or column vector input signal.
//Y = Descrambler(CalculationBase,in,polyno... |
77c9e801293b51b2c6426e0b92b0d76ea19909df | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/mdaqIsExtMode.sci | 29cca58f5fc7405d2c099967f95f62878f9eb2c9 | [
"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 | 224 | sci | mdaqIsExtMode.sci | function res = mdaqIsExtMode()
res = []
con = mdaqOpen();
result = mlink_set_obj(con, "ext_mode", 1);
mdaqClose(con);
if result == -25 then
res = %F
else
res = %T
end
endfunction
|
d87dcf592e5ddef00731a38d22461535a23eb940 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.23.b/solution10_23.sce | 6df74b92df062238e75154103153894ddd704265 | [] | 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 | solution10_23.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution10_23.sce')
//Obtain path of data file
datapath = path + filesep() + 'data10_23.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the bending moment on the spring M (N-mm)
M = P * r
//Calculate the spring thickness t (mm)
t = s... |
befec1ab40c9a1a5e1dc4262dc9745741ce7cf0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2660/CH5/EX5.40/Ex5_40.sce | 103fd60d6365de5f9e442b4c803d2d23d768ce27 | [] | 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 | 640 | sce | Ex5_40.sce | clc
f1 = 335 // fixed cost in Rs for capstan lathe
k = 0.25 // stock carrying factor in paise per piece
k = k/100
N1 = sqrt(f1/k) // pieces for capstan lathe
a1 = 4.16 // variable cost per piece for capstan lathe
tc1 = a1+f1/N1+k*N1 // total cost for capstan lathe
f2 = 2120 // fixed cost in Rs for turret lathe
... |
576937e19a330cfc30221110b5a0d8d27a43a6f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH2/EX2.1/Example2_1.sce | bd90f996e912e75e2b7d6372208b7825dc556a51 | [] | 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 | 351 | sce | Example2_1.sce | //Example 2.1
//Z- transform of [1 0 3 -1 2]
clear;
clc ;
close ;
function[za]=ztransfer(sequence,n)
z=poly(0,'z','r')
za=sequence*(1/z)^n'
endfunction
x1=[1 0 3 -1 2];
n=0:length(x1)-1;
zz=ztransfer(x1,n);
//Display the result in command window
disp (zz,"Z-transform of sequence is:");
disp('ROC is t... |
08d78f3b5d9cd10532b5ff9ca57d71340f8ec8a6 | ad83b0d5959ff5ccc6ccffe929c9c007345d02c0 | /solucaoDoSistema.sce | 36a840bc0e67d07897668ee68674e7d01e3de00b | [] | no_license | rodolfostark/Experimento3CN | 5146116b866a7e110ccef5ccff918730683f569a | 8253245c50d76917d8442481b40fb039789d8aef | refs/heads/master | 2020-03-28T21:16:03.786439 | 2018-09-30T23:01:32 | 2018-09-30T23:01:32 | 149,142,776 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,384 | sce | solucaoDoSistema.sce |
clear
exec('path\tabelaComPosicoesDeCadaEsfera.sce');
exec('path\tabelaComAngulosDeCadaEsfera.sce');
exec('path\calculadoraDeVelocidades.sce');
exec('path\Sistemas de equações lineares - algoritmo de solução\fatoracao LU.sce');
exec('path\Sistemas de equações lineares - algoritmo de solução\sistemasDeEquações.... |
e686fd6ed54fb93a91c858fb01e0067901ffc834 | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH2/EX2.7/2_7.sce | 98dee39f22a9528014418ecd8c0a90ae9f11232d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 254 | sce | 2_7.sce | clc
//initialisation of variables
Fy1= 2 //kips
Fy2= 5 //kips
Fy3= 10 //kips
Fy4= 3 //kips
L= 5 //ft
Ry= Fy1+Fy2+Fy3+Fy4
x= (Fy1*L+Fy2*2*L+Fy3*3*L+Fy4*4*L)/Ry
//RESULTS
printf ('Ry= %.2f kips',Ry)
printf (' \n x=%.1f ft to the right of O',x)
|
1deda570b57771bc28e59eb28856e6c965df871d | 8b9a8f57e173e7b4f3e0697bb8fa4391992830c1 | /Assignment _1/BigEncoder/BigEncoder.tst | 4f002fe59670da2f66aed2e992cde10879d5e04d | [] | no_license | AtharvaC1511/ComputerSystemDesign | 9bdcdd5178e55f21c9c23cc105feb6f1cdf47cf6 | e3d9bdcb961aa6d2f13c58532bb89908dda70d3b | refs/heads/main | 2023-06-25T19:04:51.971391 | 2021-07-19T14:24:00 | 2021-07-19T14:24:00 | 387,486,807 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 961 | tst | BigEncoder.tst | load BigEncoder.hdl,
output-file BigEncoder.out,
compare-to BigEncoder.cmp,
output-list X0%B3.1.3 X1%B3.1.3 X2%B3.1.3 X3%B3.1.3 X4%B3.1.3 X5%B3.1.3 X6%B3.1.3 X7%B3.1.3 Y0%B3.1.3 Y1%B3.1.3 Y2%B3.1.3;
set X0 1,
set X1 0,
set X2 0,
set X3 0,
set X4 0,
set X5 0,
set X6 0,
set X7 0,
eval,
output;
set X0 0,
set X1 1,
set ... |
2ccdb929b8418d949e685b4ab9fc7d153e0b0f48 | 52891b40d6509dbdf55faa562cf0f3692c2d958b | /algoritmos/zcr/zcr_func.sci | b47820cce976bf0c05db5d9ceb8decc339d6374a | [] | no_license | google-code/audio-fingerprint | f78981721d3def3ad557cceb1c010cc759684442 | 9d3dc04103a9bd0f3e3951a6180312865b7f3b8a | refs/heads/master | 2016-09-08T16:59:21.186418 | 2015-03-15T16:13:40 | 2015-03-15T16:13:40 | 32,270,052 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,441 | sci | zcr_func.sci | //**********************************************************************************************************
//**********************************************************************************************************
//***************************** Funciones implementadas **********************************************... |
ffa90625d9162e7413f86c35fa6b2aebfba470b0 | 75e8de13b449936c15072e897be26dfe860bf5f4 | /data/samples-plus-minus-cycle.sci | 5a47e5d3d7758efb9871230385b4a44e328bfc6a | [
"LicenseRef-scancode-public-domain"
] | permissive | MyFreertosLab/my_motors_test | 98888702fd22774611b5c01f65d5c3938feb2838 | 2e059c196ec7be0ebd7ac9bd4f8c96585d1da169 | refs/heads/master | 2023-05-13T08:33:44.999855 | 2021-06-03T19:04:42 | 2021-06-03T19:04:42 | 373,610,906 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 414,824 | sci | samples-plus-minus-cycle.sci | A=[
52.00000, 11552, 8888, 11520, 8024, 11520, 8408;
52.00000, 11552, 8888, 11616, 5736, 11616, 1048;
52.00000, 11632, 1064, 11624, 888, 11616, 1032;
52.00000, 11632, 1024, 11624, 888, 11624, 1032;
52.00000, 11632, 1024, 11624, 888, 11624, 1032;
52.00000, 11632, 1024, 11624, 904, 11624, 1024;
52.00000, 11632, 1040, 116... |
7024ccc235d0221694c643d512ef0ec79c3efbb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH11/EX11.3/Ex11_3.sce | 4daf3f2cb368d755bcb63cbb76427ebe870e0892 | [] | 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 | 230 | sce | Ex11_3.sce | //example 11.3
clc; funcprot(0);
K=0.25;
Ap=16*16/12/12;
phi=30*%pi/180;
Nq=25;
q=110*50/1000;
sigmao=q/2;
p=4*16/12;
L=50;
FS=4;
Qu=q*Nq*Ap+K*sigmao*tan(0.8*phi)*p*L;
Qall=Qu/FS;
disp(Qall,"allowed load in kip");
|
7dfb752658d6f924217849c012b8e1e90d2d4dc0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH6/EX6.2.1/ques2_1.sce | d74452da1c56e0d08f73fa28a7187443b73ad474 | [] | 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 | 94 | sce | ques2_1.sce | //ques1
disp('definite integral');
syms x
f=integ((cos(x))^6,x,0,%pi/2);
disp(float(f));
|
b2551da011f84b149d779a06415c0f4b1cbb15cb | 676ffceabdfe022b6381807def2ea401302430ac | /library/Demos/StdRegions/Tests/StdProject1D_Single_Mode_Fourier_P2_Q2.tst | b787abdf100ccfb2063fb71bb222a97d72c97c88 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 492 | tst | StdProject1D_Single_Mode_Fourier_P2_Q2.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>StdProject1D Segment single mode Fourier basis P=2 Q=2</description>
<executable>StdProject</executable>
<parameters>-s segment -b FourierSingleMode -o 2 -p 2</parameters>
<metrics>
<metric type="L2" id="1">
<value tolerance=... |
7ef9d95e6d382d246076af9e3337ed24628f92fd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.14/M_Ex_3_14.sce | fc63de631cba39a2650ede4c09216cea94b6ba7c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 360 | sce | M_Ex_3_14.sce | clc
//Chapter3: Modulation
//Example3.14 page no 152
//Given
//Phi=(wc*t+Mf*sin(wmt))....instantaneous phase of FM
fm=5000//modulating freq
deltaf=50e3//freq deviation
deltaPhi1=deltaf/fm// Advance or retard in phase
fm=100//modulating freq in second signal
deltaPhi2=deltaf/fm
mprintf('DeltaPhi1= %d rad\nDe... |
88965a68cd630469f5e418b1c1c1f2967e1933e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH10/EX10.11/Example10_11.sce | 5741b84604636f08e7d22f6e7ef5824b469526fa | [] | 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 | 364 | sce | Example10_11.sce | //chapter-10,Example10_11,pg 504
f=1000//supply frequency
C1=0.04*10^-6//capacitance
R1=220//resistance in arm-1
R2 = 10*10^3 ;
Lu=22*10^-3//inductance
Ru=((2*%pi*f)^2)*C1*R1*Lu//resistance
R3=((R1*Ru)+(Lu/C1))/R2//resistance in arm-3
printf("resistance of inductor\n")
printf("Ru=%.2f ohm\n",Ru)
printf("resista... |
210e7d5746045fce4637473403e7cc0adcdf55b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH3/EX3.5/ex3_5.sce | 7bb5a1b365bb887eaa2c75da0c22025a0d95695c | [] | 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 | 468 | sce | ex3_5.sce | // Exa 3.5
format('v',7);clc;clear;close;
// Given data
Rsh = 0.01;//shunt resistance in ohm
Rm = 750;//resistance in ohm
Vm= 400*10^-3;//voltage in V
Ish = 50;//current in A
// Ish*Rsh = voltagedrop;
Ish = Vm/Rsh;//current through shunt in A
disp(Ish,"The current through shunt in A is");
Ish=50;// in A
Vsh... |
c70543a07601a922a575ad7797a5abf8736861e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH9/EX9.4/9_4.sce | 7899cb2059518799aa646dc61845daac3a2e6fb0 | [] | 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 | 410 | sce | 9_4.sce | clc
clear
//initialisation of variables
M= 100*10^6 //Nmm
BeamB= 300 //mm
BeamL= 200 //mm
BeamT= 25 //mm
BeamT2= 20 //mm
//CALCULATIONS
Iz= ((BeamL*BeamB^3)/12)-((BeamL-BeamT)*(BeamB-2*BeamT2)^3)/12
sigmaxbyY= -M/Iz
SB= sigmaxbyY*(BeamB/2)
ST= sigmaxbyY*(-BeamB/2)
//RESULTS
printf ('Stress at top of the beam= %.2fN/... |
f9263e4d1935265673541b4d558032da51cc2808 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH3/EX3.3/chapter3_ex3.sce | 82436dd16d82fdae2fa38fb616fda3010d9f8745 | [] | 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 | 493 | sce | chapter3_ex3.sce | clc
clear
//input
n1=480;//number of conductors in the armature
n2=6;//number of poles in the machine
w=100;//angular velocity in rad/s
phi=0.03;// flux per pole in weber
//calculations
phi1=n2*phi;//flux cut by each conductor in weber
e1=(phi1*w)/(2*%pi);//e.m.f. induced/conductor in volts
n3=n2;//numbe... |
044a94519451d5fcdd7da2b3296f82f4f835dfcd | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH11/EX11.24/Ch11Ex24.sce | 467817b3289d0b5d192a5e11175888d66c8eb6c3 | [] | 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 | 1,083 | sce | Ch11Ex24.sce | // Scilab code Ex11.24: Pg.535 (2008)
clc; clear;
// Part (a)
k = 9e+09; // Coulomb's constant, N-m^2/C^2
e = 1.6e-19; // Electronic charge, C
r = 3.0e-15; // Separation between tne charges, m
U = k*e^2/r; // Height of potential barrier, J
k = 1.38e-23; // Boltzmann constant, J/K
// In order to... |
d0f58ff3f94432e50614cba0e3698a30a940ad1b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/m2sci/sci_fopen.sci | 6aa9a1abd493ca20287456e70166c325a36ade53 | [
"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 | 972 | sci | sci_fopen.sci | function [stk,txt,top]=sci_fopen()
// Copyright INRIA
txt=[]
first=stk(top-rhs+1)
if first(5)=='1' then
filename=first(1)
elseif first(5)=='10' then
set_infos('fopen(fid) has no translation',2)
filename=first(1)
else
set_infos('fopen(filename,..) assumed',2)
filename=first(1)
end
if rhs==1 then
permission=... |
49b52f035a96bf3de38c0d65ea4a163c1074137d | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualProcessComm_V4/macros/vpcGuiClose.sci | 718cde9e8c8d97f7c10d84d8a09d5d8063d09a0b | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 75 | sci | vpcGuiClose.sci | function vpcGuiClose()
bdVpcDesconect();
close(gcf());
endfunction
|
abddccd88a14bbc0621a666728bfb95d459591f2 | 872b5ff8852c926ca1261037de07449db7ac51db | /area-02/minimos-quadrados-kx.sce | 5c9ececd317c59846e3283e4a3acfb506b9b19af | [] | no_license | BerdaSantos/numeric-calculus | 20e4c50d9f66f8582e89533a5101f597df6665ec | 0698409e7fa4158d6f7dd7e4d60f8a38538b3335 | refs/heads/master | 2020-05-14T18:07:02.017600 | 2018-11-23T01:50:38 | 2018-11-23T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 55 | sce | minimos-quadrados-kx.sce | x=[0:0.1:1]'
b=sin(x)
A=[x^1]
k=(A'*A)\(A'*b)
disp(k)
|
00fbd060539fee3052b79b8cfe952c1d31cf40d5 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/ID3.prev.tst | 1a9da7604eaed28606100834fdc8b0e227555b1c | [
"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 | 72 | tst | ID3.prev.tst | getIndivisible(2*x + 12*x^2 + 32*x^3 + 32*x^4 - 32*y^4 - 2*z^2, 2) -> 0
|
ef10128280849b4fa5589c9361618caaa1dfa18e | 663857eeaf229747b6f19ba93d35654aed648084 | /masseRessort_charneux/MasseRessort_exoBase.sce | e5bfb3e1da276ffc0a0f814d380d7537aaaf2434 | [] | no_license | DimitriCharneux/M3DA | 0a61e0365d1daf7b57a071f1da2025ac5991693d | b0d4baf1115b0577c5295401d8fc81552f779ced | refs/heads/master | 2021-06-14T11:09:03.784206 | 2017-01-12T10:10:28 | 2017-01-12T10:10:28 | 68,389,037 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,327 | sce | MasseRessort_exoBase.sce | getd();
// MAILLAGE //
[ noeuds , elements ] = MSHLoader('rectangle1.msh');
numElements = size(elements,2);
numNoeuds = size(noeuds,2);
[segments] = findSegments(elements)
numSegments = size(segments,2);
// parametres physiques
k=10000;
m=1;
g=-9.81;
// parametres temps
dt = 0.005;
T = ... |
1df6c4cbd10063d6a4f8f173935a409287c222f7 | 475a9e3173cbf116c786e8a60b1323f29f10a134 | /pskmod.sci | ce2c6d1c637b35e3d71a3a45d8f70d82e701945d | [] | no_license | jatinmandav/Sci-Lab-Implementations | bee5e375735ca0ebee9fd7afa69ddddbdadb5e3c | d1f65da040022b785763fe74d4b49468dc6078f3 | refs/heads/master | 2020-03-10T06:35:07.107772 | 2018-04-12T19:13:37 | 2018-04-12T19:13:37 | 129,242,875 | 4 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 718 | sci | pskmod.sci | /*
* By: Jatin Kumar Mandav
*
* PSK Modulation
*
* Inputs: Data or Digital Information Signal.
* Carrier Signal Frequency, Carrier Frequency Amplitude
*
*/
function [] = psk_mod(data, amp_carrier, freq_carrier)
t = 0:0.001:1
carrier_signal = amp_carrier*sin(2*%pi*f... |
9ca00b3a711b7503b9520ba4657e9d899834fae0 | 809a99d7e6ee4b97b4d8b0c0613bb57a99516c09 | /signal_s1/td3/ylcq.sce | 03febc68f12d2c535b87d88e49798ec91c6b16b4 | [] | no_license | JulieCapucine/tds | 794822a49adc455ba1e3af0a83198da686e5cfec | 93f6f42823e691d2932aad5aadf4e63f5c3fe49f | refs/heads/master | 2021-01-13T08:51:25.605554 | 2016-10-21T16:03:14 | 2016-10-21T16:03:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,067 | sce | ylcq.sce | funcprot(0)
clf()
// Ex.1
cd("/home/6im2/ylecoq/prog/tds/signal_s1/td3");
load("flute.dat");
x=flute;
N=length(x);
disp("N = " + string(N));
// plot(x)
// Ex.2
function ret = petit_gamma(x)
ret = convol(x,x(length(x):-1:1));
endfunction
function ret = GAMMA_L(x, L)
gamma_x = petit_gamma(x);
for i=1:L
... |
37c9b1b5a5643fb8fe28359610bb0f075fa30a85 | 43799901e22e995d4db64000ef28c0a787aeb11b | /ISAWIN/LINOV/TESTMVG/appli.tst | e239ee5e21d9291f0b0d46189af4dd063b4e8d0c | [
"WTFPL"
] | permissive | aquaforum/tench_catch | 7082d8e8f3a224aa50be9150a96362f2f323a2be | 3f377476d82d7343edd985a6d3a41b57dc301f98 | refs/heads/master | 2023-07-17T13:33:10.901467 | 2021-08-22T19:29:09 | 2021-08-22T19:29:09 | 398,885,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,837 | tst | appli.tst | @ISA_SYMBOLS,181836191
#NAME,testmvg,3.41
#DATE,11.10.2017
#SIZE,G=5,S=0,T=0,L=0,P=1,V=17
#COMMENT,wsma1tst
@PROGRAMS,5
#!5001,RUNNER
#!5002,FL_FB_1
#!5003,CTRL_1
#!5004,MAIN
#!5005,OFF_ALL
@STEPS,0
@TRANSITIONS,0
@BOOLEANS,181
#!1001,DIO_1_,+X,!0000,FALSE,TRUE
#!1002,DIO_2_,+X,!0000,FALSE,TRUE
... |
7a82adfe7291fa60117f08575d405b9bfa1757e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH6/EX6.2.a/Example6_2_a.sce | ece0fce832c99057d5cd2afbfd9c53cb4dc211e1 | [] | 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 | 520 | sce | Example6_2_a.sce | //Chapter-6
//Page No.-265
//Example 6.2(a)
//Gain Bandwidth Tradeoff
A0dB=60;
A0=10^(A0dB/20);
ft=10^6;
fb=ft/A0;
A10=A0^(1/2);
A20=A10;
fb1=ft/A10;
fb2=fb1;
R1=1*10^3;
R2=(A10-1)*R1;
printf("Designed Audio Amplifier :");
printf("\nOperational Amplifier-1 :");
printf("\nR1=%.2... |
94521dcc2e49aab4fc6d0f19c94fb567919951de | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.25/Ex3_25.sce | 13d96a0cfce58e7a20dd78accd847111f9531b71 | [] | 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 | 546 | sce | Ex3_25.sce | //Ex 3.25
clc;clear;close;
format('v',6);
omega=10^4;//rad/s
C=10;//nF
fi1=-30;fi2=-90;fi3=-120;fi4=-150;//degree
R1=tand(-fi1/2)/(C*10^-9*omega)/1000;//kohm
R2=tand(-fi2/2)/(C*10^-9*omega)/1000;//kohm
R3=tand(-fi3/2)/(C*10^-9*omega)/1000;//kohm
R4=tand(-fi4/2)/(C*10^-9*omega)/1000;//kohm
disp(R1,"For phase s... |
2d2c856dee8d46209dc7a56edaeec8aa530265b7 | bf4e2a0de1744afe79b8b6068612ca50b31154a7 | /08/Call/Call.tst | ffee4160b6b8df7d0e07be97dd6a9c51e7df2cb2 | [] | no_license | curiousTauseef/Nand-to-Tetris-Build-a-Modern-Computer-from-First-Principles | 4ae849202fbc6860c8519b335c5dae21cdee55be | cca5ef509d1ebfd5c17d922554c6464499485563 | refs/heads/master | 2022-01-08T12:52:33.910860 | 2019-06-04T15:25:16 | 2019-06-04T15:25:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | tst | Call.tst | // Test file for Call test.
//
// This test assumes NO BOOTSTRAP CODE is present.
load Call.asm,
output-file Call.out,
compare-to Call.cmp,
output-list RAM[0]%D1.6.1
RAM[1]%D1.6.1
RAM[2]%D1.6.1
RAM[3]%D1.6.1
RAM[4]%D1.6.1;
set RAM[0] 256,
set RAM[1] 300,
set RAM[2] 400,
set RAM[3] 3000,
... |
ba544eb509342e1524a69c5a73eff1f17de6b8d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH5/EX5.5/Ex5_5.sce | 8ef87352695663dade0be339f0308ae5401f6bd0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 314 | sce | Ex5_5.sce | //example 5.5
clc; funcprot(0);
B=5;
L=10;
Ef=2.3e6;
Eo=1400;
k=25;
t=1.0;
mus=0.3;
Df=5;
qo=5000;
Ig=0.69;
Be=sqrt(4*B*L/%pi);
If=%pi/4+1/(4.6+10*(Ef/(Eo+2*Be/2*k))*(2*t/Be)^3);
Ie=1-1/(3.5*exp(1.22*mus-0.4)*(Be/Df+1.6));
Se=qo*Be*Ig*If*Ie/Eo*(1-mus^2)/144;
disp(Se*12,"settlement in inches");
|
8ad8f1eda16e421828fd227aee0354c885a0ec03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH5/EX5.41/Exa_5_41.sce | cbc0a19314171b146bba89f83cddd02c90a18df1 | [] | 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 | 325 | sce | Exa_5_41.sce | //Example No. 5.41
clc;
clear;
close;
format('v',9);
//Given Data :
V1=220;//V
N1=1500;//rpm
I=10;//A
Ra=3;//ohm
V2=230;//V
N2=600;//rpm
Eb1=V1-I*Ra;//V
Eb2=Eb1*N2/N1;//V
Ia=I/2;//A(at half rated torque)
Vm=V1*sqrt(2);//V
alfa=acosd((Eb2+Ia*Ra)*%pi/2/Vm);//degree
disp(alfa,"Firing angle in degree : ... |
41c79635263c83d982697e7b60e05717cb50b560 | 449d555969bfd7befe906877abab098c6e63a0e8 | /34/CH4/EX4.1/Ch4Exa1.sci | 9164178245810740c55e796e3617c368c491afcd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sci | Ch4Exa1.sci |
E= -13.6; //Energy required to separate electron and proton, eV
e= 1.6*(10^(-19)); //charge of an electron, C
E= E*e; //converting to J
Po= 8.85*(10^(-12)); //Permittivity of free space, F/m
r= e^2/(8*(%pi)*Po*E); //radius, m
r= -r;
m= 9.1*(10^(-31)); //mass of electron, kg
v=e/sqrt(4*(%pi)*Po*m*r); //velocit... |
218099de0dfe4c9c7941ca8b3104dee0613e96d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH9/EX9.9/9_9.sce | 1d4bf9271053749d5a3a25c5790a36eea3cd352e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 316 | sce | 9_9.sce | //effect of addition of zeroes
s=%s;
sys1=syslin('c',1/(s*(s+1)*(2*s+1)))//taking T1=1,T2=2
nyquist(sys1)
show_margins(sys1,'nyquist')
sys2=syslin('c',(3*s+1)/(s*(s+1)*(2*s+1)))//Td=3
//nyquist(sys2)
//show_margins(sys2,'nyquist')
printf("these two plots show that addition of poles increases stability") |
4f9b370a85d7d116914d45402ec6a9a06b9f07e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2318/CH3/EX3.39/ex_3_39.sce | cc6a1c03d3d707e99228aa75d2331755c5d83ad4 | [] | 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 | 385 | sce | ex_3_39.sce | //Example 3.39:resistance and inductance
clc;
clear;
close;
r2=1000;//ohms
r3=15000;//ohms
r4=500;//ohms
c4=1.59;//micro farads
f=50;//Hz
w=2*%pi*f;//
l=((r2*r3*c4*10^-6)/((1+(w^2*(c4*10^-6)^2*r4^2))));//H
r=((r2*r3*r4*w^2*(c4*10^-6)^2)/((1+(w^2*(c4*10^-6)^2*r4^2))));//ohms
disp(l,"inductance is ,(H)=")
disp(r,"resista... |
0b38a87d7c701841591ee3081c9d7324efcaebc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH1/EX1.1/Ex1_1.sce | 5189817dc765d62dff6654804e172f6365870b96 | [] | 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 | 376 | sce | Ex1_1.sce | //Example 1.1
distance=10;//Distance (km)
time=20;//Time (min)
avg_speed_a=distance/time*60;//Average Speed (km/h)
printf('a. Average speed = %0.1f km/h',avg_speed_a)
avg_speed_b=avg_speed_a*1000/3600;//Average Speed (m/s)
printf('\nb. Average speed = %0.2f m/s',avg_speed_b)
//Openstax - College Physics
//Downl... |
22581e1911095e536a5d84e58db954bcd34b1fd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH12/EX12.8/Chapter12_Example8.sce | 04c10fb498ac3eb9340971fddb30af9056e9ece3 | [] | 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,167 | sce | Chapter12_Example8.sce | //Chapter-12, Example 12.8, Page 516
//=============================================================================
clc
clear
//INPUT DATA
Ti=18;//Inlet temperature of Shell fluid in degree C
To=6.5;//Outlet temperature of Shell fluid in degree C
ti=-1.1;//Inlet temperature of Tube fluid in degree C
to=2.9;/... |
1611dc76e32a52e506306e98af43693831dc1958 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/zpkshiftc/test_4.sce | a426d9fd6dee07c1fdd74b249734177092910c69 | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | test_4.sce | // Test # 4 : Incorrect number of output Arguments
exec('./zpkshiftc.sci',-1);
[z,p,k,n,d,e]=zpkshiftc(0.3,2,8,0.8,0.2);
//!--error 59
//Wrong number of output arguments
|
714d95a5833230a3453888d555e0f80fddcb216f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.1_3.tst | 51765486a74f90f1d4890ee266e0a72974431045 | [] | 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 | 3,925 | tst | bow.1_3.tst | 1 10:0.5 19:0.05555555555555555 30:0.16666666666666666 66:0.3333333333333333 149:1.0 203:1.0
1 4:0.1 11:1.0 49:0.125 249:0.3333333333333333 345:1.0 1730:1.0
1 3:0.3333333333333333 13:0.5 14:0.05405405405405406 17:0.02127659574468085 28:1.0 30:0.16666666666666666 84:0.125 187:1.0 298:1.0 883:1.0 990:1.0
1 4:0.1 6:1.0 10... |
e2fa51d92aed032dbea806f453ca40ce7a18d865 | 4b7eae708edea1f2fc5fd5f08bdd0ee8f1598adf | /code/pt/order.sce | 1587d63926bd4f3ef59410d4d65ede138cb88e5c | [] | no_license | kiraboris/pyttools | d7bea20bd371b811f6fe86ab94dac3317b9e3679 | 7a07dd9da5dd792f62a9c4cf33fdf2ae6be626fe | refs/heads/master | 2021-05-31T01:17:35.354923 | 2016-02-03T10:12:09 | 2016-02-03T10:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,970 | sce | order.sce | // The procedures below implement order (predecessor, successor) on poss-dists
// test if poss1 < poss2
function f=ptPrecise(poss1, poss2)
// Check that the distributions have the same sizes
if length(poss1) ~= length(poss2) | length(poss1) ~= length(poss1(:)) then
error("Given distributions must be v... |
0a1f859c0756709fba3eff6b8702b757a2b9eee4 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Planetside 2 - LA Shotgun challenge.sce | 256f712c4ccd84e381de904beb7f9f701f0844b8 | [] | 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 | 180,094 | sce | Planetside 2 - LA Shotgun challenge.sce | Name=Planetside 2 - LA Shotgun challenge
PlayerCharacters=lasp2shotgun
BotCharacters=laps2bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=lasp2shotgun
AddedBots=laps2bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=coverprac.map
MapScale=3.0
BlockProjectilePredictors=true
Block... |
e6fa306a165a0d75460860fd151c287199466190 | 92074377d2c131cb9b55fc3babf541cab2c3c38b | /Statistika/PeluangDistribusiNormal/PeluangDistribusiNormal.sce | 476bbcddad782f7676a5896817c0b3a7e996b40b | [] | no_license | LinggaWahyu/BelajarScilab | 05f6173e0cad24d3d13bb324c6470bd87a4269cf | ea45563c3048f4f4f229ad1306245591fcb83e52 | refs/heads/master | 2020-07-31T10:41:28.629143 | 2019-10-24T23:12:17 | 2019-10-24T23:12:17 | 210,577,295 | 3 | 3 | null | 2019-10-24T23:12:18 | 2019-09-24T10:38:10 | Scilab | UTF-8 | Scilab | false | false | 675 | sce | PeluangDistribusiNormal.sce | function[fz]=fNormalStandar(z)
konst = 1 / sqrt(2 * %pi)
fz = konst * exp(-0.5 * (z^2))
endfunction
function[P_NormalS] = PNormalStandar(z1,z2)
n = 1000
h = (z2-z1) / n
fa = fNormalStandar(z1)
fb = fNormalStandar(z2)
jum = 0
for i = 1 : (n-1)
z1 = z1 + h
fz1n = fNormalStandar(z1)
jum = jum + fz1n
end
... |
238d6778b51416510c0e55772845546836283455 | 717ddeb7e700373742c617a95e25a2376565112c | /10/CH8/EX3/cha8_3.sce | 2fa6468ccfceeafd376f37f762df6d35f6c16893 | [] | 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 | 273 | sce | cha8_3.sce | Rw=1;Lw=30;I=3;TimeOn=2;RF=0.0675;
StepRate=300;Turns=100;TimeOff=1;
PeakI=3;
R=Lw/TimeOn
Rext=R-TimeOff
Prext=(I^2*Rext)
Vs=I*R
Rext=R-Rw
R1=Lw/TimeOff
Rf=R1-R
Energy=(1/2*Lw*I^2)
Power=Turns*Rf
Power=Turns*RF
Vc=V+(PeakI*R)
|
4bd992a916364c0b26321e7c71fcf73b401a3d5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH27/EX27.5/EX27_5.sce | ac0dbc8c8c19f4585490b1ae3618dc89550d960d | [] | 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,013 | sce | EX27_5.sce | //EXAMPLE 27.5
//4-POLE SHUNT GENERATOR
clc;
funcprot(0);
//Variable Initialisation
P=4;...........//Total number of poles
Po=50;...........//Output power in Kilo Watts
V=250;...........//Terminal vltage in Volts
Z=400;.............//Total number of condctors
bs=4;............//brush lead in commutator seg... |
5b568f52ca65802e540aa9e41a463e904f1c0519 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2381/CH12/EX12.9/ex_9.sce | 6b9d65669150905de15a6f39b96565707db2f4f8 | [] | 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 | 123 | sce | ex_9.sce | //Example 9//speed
clc;
clear;
close;
n12=3;//
n=340;//Hz
v=340;//m/s
vs=((n12*v)/(2*n));//m/s
disp(vs,"speed is ,(m/s)=")
|
cb4c73a52987c820801ace9817d345e57e4620dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH12/EX12.1/Example12_1.sce | 60bfbf6ec9fe229475c03f8f5a6762dc5fb99526 | [] | 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 | 974 | sce | Example12_1.sce | //Example 12.1
//Program to determine:
//(a)Bit rate for the system
//(b)The duration of a time slot
//(c)The duration of a frame and multiframe
clear;
clc ;
close ;
//Given data
f=8*10^3; //Hz - SAMPLING RATE
b=8; //bits - SAMPLE SIZE
T=32; //NUMBER OF TIME SLOT... |
16d5a5cc685268228e38c09d0268abb625c43822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH3/EX3.12/3_12.sce | 7ebc35c64e4f0545236dd3f5c76db2765d3c2d8f | [] | 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 | 256 | sce | 3_12.sce | clc
//initialisations
m1=10//kg
t1=80//c
t2=20//c
t3=150//c
t4=90//c
t=100//c
a=800//cal/kg
//calculations
h=m1*1000*(t1-t2)/1000
H=a*(t3-t)+540000+1000*(t-t4)
k=H/1000
x=h/k
//results
printf(' kg of steam required per hour= % 1f kg/hr',x)
|
878e634fbddc4c4ad623e79ef2c9804cc38da61e | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH4/EX4.7/4_7.sce | 810b0871d16c352c2a15294a1b7ddc454cacc044 | [] | 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 | 4_7.sce | clear
clc
disp('Ex-4.7');
mc2=2.15*10^-4; //mc2 is the mass of the electron, concidered in Mev for the simplicity in calculations
hc=197 // The value of h*c in Mev.fm for simplicity
delx= 10 // Given uncertainity in position=diameter of nucleus= 10 fm
delp= hc/delx ; ... |
91a1268ba959f9ad6ffbe84ef9820e11fb4d7484 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH6/EX6.8/6_8.sce | 9945c8230e02ab7f04121529e801b90c41b9f274 | [] | 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 | 115 | sce | 6_8.sce | //Eg-6.8
//pg-291
clear
clc
//Theoretical Problem
disp("This example is solved analytically.") |
982a428521d3e2858820ea3b911dc45f28383ad1 | 7a910c551537a77936de100fb76d8934a5651d0d | /examples/my_examples/generator_function.sce | b04db704130e0f2773f9a45a285cd241baa291e1 | [
"MIT"
] | permissive | mtxslv/StudyingMachineLearning | bb660d648b375cd20722dfb403b0f3499c013b22 | 667527904acd495499250967b86e1ccdf00b2631 | refs/heads/master | 2021-06-29T19:52:57.506998 | 2020-09-12T15:44:58 | 2020-09-12T15:44:58 | 144,077,249 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | generator_function.sce | // consider the function z = x² + y²
// let's make a database of qtd_elements
qtd_elements = 500
i = 1; //iterator
rand('seed', getdate('s')); //initialize the random number generator
rand('uniform'); // the random number generator should create numbers between 0 and 1
//it makes the process ... |
451a3809cd3273f928af5ed33b3d0b920a2a10c8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH13/EX13.10.1/13_10_1.sce | 049c937983bb18d51a1ae5950b06b0e73ea20708 | [] | 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 | 680 | sce | 13_10_1.sce | clc;
//page no 485
//prob no. 13.10.1
// Measurements on a 50 ohm slotted line gave
Z0=50;//measured in ohm
VSWR=2.0;
d=0.2;//distance from load to first minimum
T=(VSWR-1)/(VSWR+1);
pi=180;
Ql=pi*(4*0.2-1);
// using Euler's identity
e=cosd(Ql)+%i*sind(Ql);// expansion for e^(jQl);
a=T*e;
//Load impedance ... |
e004a1271594174ba213bcd63a1df1d87e2ba855 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH2/EX2.5/Ex2_5.sce | 49282c9e14b7b5c0868b2f0e05ede4289347fa2c | [] | 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 | 336 | sce | Ex2_5.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 2 Fundamental Concepts: Energy Bands in Solids Pg no. 50 and 51
clear;
clc;
//Given Data
m0=9.1D-31;//mass of electron in kg
v_to_c_ratio=0.2;
//Solution
m=m0/sqrt(1-v_to_c_ratio^2);//mass of electron in kg
printf("Mass of electron for v=0.2c is equal to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.