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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
826b4faade71f69a7367e4abc06d751af5cf94b2 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.16_10.tst | a27ad1ba20f88870edb2839c89d9850d470b964c | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,138 | tst | bow.16_10.tst | 16 2:0.038461538461538464 13:1.0 15:0.017857142857142856 31:1.0 32:0.3333333333333333 328:1.0 375:0.3333333333333333 505:1.0 1053:1.0
16 2:0.038461538461538464 13:1.0 15:0.017857142857142856 59:0.25 103:0.14285714285714285 110:0.5 114:0.5 137:1.0 153:0.2 169:0.3333333333333333 197:1.0 209:0.2 239:1.0 283:1.0 388:1.0 47... |
15425cbbe596d0f805ddb7cd69f4e2685e789d64 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH3/EX3.29/Ex3_29.sce | e952a159893e02a5405d6a8f9a4f428de898e3f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 173 | sce | Ex3_29.sce | clear
//Given
E=9*10**4 //N/C
r=2*10**-2 //m
m=9*10**9
//Calculation
a=r*E/(2.0*m)
printf("\n Linear charge density is %0.3f Cm-1", a)
|
e474bc628ac364dde2acc35ff2e15286a9b95b92 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/L32.prev.tst | be3149280623d23815629b00c177a670f8952cc2 | [
"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 | 71 | tst | L32.prev.tst | Vector [32,44,55,66].gcd() = 1
Vector [32,44,55,66].extractGcd() = 1
|
cd6d2c0033fb5f3ab74cbddfbdca4d9f10122cb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH1/EX1.1.9/U1_C1_9.sce | d500b082f5b8c22cc87d49930599d9d282e892d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,256 | sce | U1_C1_9.sce | //variable initialization
l_dash=1 //length of the rod in frame s' (meter)
Theta_dash_degree=45 //angle of the rod with x-axis in frame s' (... |
e36c8e426d4fdc22e3338528d47cf685e3db9b61 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.51/Ex13_51.sce | a74af68e4679f29e119ba22e201ad2a61c8da83a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,255 | sce | Ex13_51.sce | //EX13_51 Pg-29
clc
clear
//subtraction of 10000 from 11010 using 1''s complement method
printf(" i)\n subtraction of 10000 from 11010 using 1''s complement method ")
printf("\n Therefore 11010-10000 =")
x=['11010'];
y=['10000'];
//binary to decimal conversion//
x=bin2dec(x)
y=bin2dec(y)
y1=bitcmp(y,5)//one's comple... |
c7fc69ae31cfc552e5d1a1f1ff41758e4c995376 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2195/CH2/EX2.7.2.d/ex_2_7_2_d.sce | c7e723488601e899aae6d7251bf7ca36a48b2e41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | ex_2_7_2_d.sce | //Example 2.7.2.d://probable error
clc;
clear;
n=10;//
format('v',7)
q=[101.2,101.4,101.7,101.3,101.3,101.2,101.0,101.3,101.5,101.1];//
AM= mean(q);//arithematic mean in mm
for i= 1:10
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8),qb(9),qb(10)];//
SD=stdev(Q);//standard deviation
Pe1=0.67... |
e39cafe18ed1314acf40001a82f776fd9213bc38 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.20_13.tst | ad19c9e0410eba54a112a789b92280bd05fa98f2 | [] | 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 | 23,158 | tst | bow.20_13.tst | 20 9:0.5 21:0.3333333333333333 38:1.0 42:0.25 54:0.5 66:0.2 104:2.0 107:0.5 111:0.125 148:0.3333333333333333 158:0.1111111111111111 178:1.0 191:0.2 192:1.0 221:0.3333333333333333 310:0.25 392:0.041666666666666664 417:1.0 562:1.0 1239:1.0 1939:1.0 2303:0.3333333333333333 2504:1.0 2635:1.0 2687:1.0 2912:1.0 3178:1.0 3564... |
5feac2e5b74e9570909d1c63939d02a9e6d868a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2519/CH20/EX20.6/Ex20_6.sce | c6dd6ab46cb96ba93a6387d6f5a5c1d33581ee4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | sce | Ex20_6.sce | clc
clear
//Initialization of variables
h=2 //Btu/hr ft^2 F
delta=1/6
t=125 //F
t0=100 //F
ti=350 //F
k=0.167 //Btu/hr ft F
rho=80 //lbm/ft^3
c=0.4 //Btu/lbm F
//calculations
Bi=h*delta/k
tr=(t-t0)/(ti-t0)
tau=1.5*delta^2 *rho*c/k
tr2=0.21
tc=tr2*(ti-t0) + t0
//results
printf("Cooling time = %.2f hr",... |
548dc4a3590f8b712ded5c6ad8407a423c2c9dde | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH19/EX19.24/example24_sce.sce | 938aed6def0129e54c6f50285e34b76318d8566a | [] | 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 | 205 | sce | example24_sce.sce | //chapter 19
//example 19.24
//page 875
printf("\n")
printf("given")
Rf=15*10^3;R1=5.6*10^3;vs=.5;Vp=2.7;
Acl=(2*Rf)/R1
Vo=Acl*vs
Po=(Vp)^2 /(2*Rl);
printf("load power dissipation is %3.2fW\n",Po) |
d265083656a8682de7334cb38002b68c64cb5a40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3785/CH6/EX6.2/Ex6_2.sce | b8d854ee6bdc49d8000f752d26049c059d123e0c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | Ex6_2.sce | // Example 6_2
clc;funcprot(0);
// Given data
a=1.0;// s^-1
b=0.1;// s^-1
c=2.0;// s^-1 where a,b,c are constants
z=1;// m
mu=1.82*10^-5;// Pa s
// Calculation
delp=mu*(2*b);// Pa/m
printf("[delp=%1.2e Pa/m]i_x",delp)
|
ee8e5809bf72f2550ba12e69123abd799bf8b8db | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%s_m_ip.sci | d7801dabb2a07a861e439d68033f192b9ec1f26a | [
"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 | 102 | sci | %s_m_ip.sci | function r=%s_m_ip(s,ip)
// s*ip
if size(s,'*')<>1 then error(10),end
r=(s*ip(1)):(s*ip(2)):(s*ip(3))
|
9380b46eae321d435bf9e8868804919a798340b6 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Workspace/Mission_U1.sce | 97eac170e3b08ef5125e0ee3140b037f48734607 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sce | Mission_U1.sce | // Mission U1
// Obtention de l'image
pathname = "C:\Users\Jean-Guillaume P\Documents\Exia\A2\Projets\Imagerie\ExoLife\Images\Mission_U\U1_surface.pbm";
img_in = readpbm(pathname);
// Application de la normalisation afin d'avoir un meilleur contraste lors de l'application d'un filtre des contours
histogramme = histog... |
d69b4a2111738895aaa6123aa3970d29d0df61cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH13/EX13.12/13_12.sce | 8e7171a0596b37cd4748f9b5331b2743b409029b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 746 | sce | 13_12.sce | //soldier fires a bullet
//refer fig 13.18
//equation of trajectory of bullet is known thus
//For the point on ground where bullet strikes
y=-50 //m
x=100 //m
u=31.32 //m/sec
//alpha=0 or
alpha=atand(2) //degree
//when alpha =0
//Horizontal component of velocity
vx=31.32 //m/sec
//Vertical component of ... |
1efa5c3b77cb6f8cc2fd43ee35b1bdeef4a64414 | 43799901e22e995d4db64000ef28c0a787aeb11b | /ISAWIN/LINOV/MYREG/appli.tst | 688764c8e1229b365ce9352ff3aca08acc2190f3 | [
"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 | 2,250 | tst | appli.tst | @ISA_SYMBOLS,254400693
#NAME,myreg,3.41
#DATE,17.08.2018
#SIZE,G=3,S=0,T=0,L=0,P=0,V=0
#COMMENT,wsma1tst
@PROGRAMS,3
#!5001,PROG
#!5002,PI_DUO
#!5003,PIDMY
@STEPS,0
@TRANSITIONS,0
@BOOLEANS,9
#!1001,ZONE_,+X,!5002,FALSE,TRUE
#!1002,ZONE0_,+X,!5002,FALSE,TRUE
#!1003,AM_15,+X,!0000,FALSE,TRUE
#!100... |
25c3c74a4d4108326414813bf0d17e636b67e65e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH9/EX9.5/Chapter9_Example5.sce | a8092c3440cd40abe1d4c185e93679ec5d127687 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Chapter9_Example5.sce | clc
clear
//Input data
r=10^-14//Radius of the nucleus in m
m=(1.67*10^-27)//Mass of the proton in kg
h=(6.625*10^-34)//Plancks constant in Js
//Calculations
x=6.24150934*10^12//1 Joule in MeV
dp=(h/(2*3.14*r))/10^-20//The uncertainity in the momentum of the proton in kg m/s *10^-20
ke=((dp*10^-20)^2/(2*m))... |
30d37633c00b3d354914f3bd3e50a0bc70e1b1f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH23/EX23.06/23_06.sce | dd24eb5735fb1217943114da9975f708e79c5274 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 23_06.sce | clear;
clc;
r=1250e3;
v=600;
z1=.15*%i;
z2=.3*%i;
z3=.05*%i;
z4=.55*%i;
x1=inv(inv(z2)+inv(z1));
x2=x1;
x0=inv(inv(z3)+inv(z4));
e=1;
ia1=e/(x1+x2+x0);
ia2=ia1;
ia0=ia2;
ia=3*ia1;//the difference in result is due to erroneous calculation in textbook.
base=r/(sqrt(3)*v);
ita=ia*base;
mprintf("the fault... |
8b64e9e2b603bb0eae3609f0a0a879b90a68ad81 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ap_aspfin_d/~BivLCM-SR-bfas_ap_aspfin_d-PLin-VLin.tst | f00f0ca4f9dc6dcbdfbfee2077bb2fbc1c114024 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ap_aspfin_d-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.255494D+00
... |
f73bf0d7392c68f972f5ac1087cd5fd1c8c66a25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH5/EX5.10/exa5_10.sce | ea5257b13e8fdcc83d46fce5a41cda7f8741ed5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 589 | sce | exa5_10.sce | // Example 5-10
// Response to initial condition (differential equation)
// Solution of differential equation with initial conditions
clear; clc;
xdel(winsid()); //close all windowss
t = 0:0.05:10;
s = %s;
G1 = cont_frm(1, s^3 + 8*s^2 + 17*s + 10); //get the state space model
ssprint(G1);
x0 = [2; 1; 0.5]; // i... |
e10a4525c7e8ad03e225abeb4d122cea9caebb1f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH7/EX7.15/Example_7_15.sce | 8d88989cbe6bb912b0f96cb12888e92159de1571 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 485 | sce | Example_7_15.sce | //Example 7.15
clear;
clc;
//Given
R=8.314;//gas constant in J K^-1 mol^-1
To=278.15;//Freezing temperature in K
delHfus=9830;//heat of fusion of benzene in J mol^-1
M1=78;//molecular mass of benzene in g
//To determine the molal freezing point depression constant of benzene
Kf=(R*(To^2)*M1)/(1000*delHfus)... |
ad138f61dd36c33399df730565925d7cc85031b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH4/EX4.2/ex4_2.sce | b2e584b046d96f86dc1a1a13491f43bcb4072b38 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | ex4_2.sce | //chapter 4
//end fire array
//D=4(L/lamda)
//BWFN=2sqrt(2m/(L/lamda))
printf("\n");
lamda=1;
D=36;
L=D/4;
m=1;
BWFN=114.6*sqrt(2*m/L);
printf("The Beam Width First Null is %gdegree",BWFN);
|
161f84b96c6ba500b5d07dd008db710907122a2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.40/Ex4_40.sce | 01e133ea8299398d29121d5b3041158b4758e8d8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 267 | sce | Ex4_40.sce |
//calculate the line currnt nd voltage
R=200
Vl=440
f=50
V=Vl/1.732//star connection
I=V/R
Il=I
coso=1
P=3*V*I*coso
Vp=440//delta connection
Vl=440
I1=1.732*I
P1=3*Vp*I*coso
disp('active power='+string(P)+'watt' , 'active power='+string(P1)+'watt' )
|
1a3ff084d7431c33f0c6ce0abad93faa1c7fdf68 | eda0ddb3e310b6d8e0a674f5cccfd207915546d1 | /sci1.sce | 86a73139c61e97d2767530952f0784f994c30b25 | [] | 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 | 57 | sce | sci1.sce | clc;
clear;
x=input('Enter the Value of x: ');
disp(x);
|
59c7ca0bd78358fc69a8c118877b1d72ab119be1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH3/EX3.1.3/3_1_3.sci | e4fdf2d4394d23fda05172719a48c77f871367d0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 272 | sci | 3_1_3.sci | //page 145
clear;
close;
clc;
A=[1 3;2 6;3 9];
disp(A,'A=');
ns=kernel(A);
disp(ns,'Null space=');
disp(A(1,:)*ns,'A(1,:)*ns=');
disp(A(2,:)*ns,'A(2,:)*ns=');
disp(A(3,:)*ns,'A(3,:)*ns=');
disp('This shows that the null space of A is orthogonal to the row space.');
//end
|
011d75af9c3927aabbe76353eaaa51fff6879efb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH15/EX15.5/15_5.sce | 5e443a8bd33e5a4cc97120fccd273fb923fc8176 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 15_5.sce | clc
//initialisation of variables
Ka= 1.772*10^-4
//CALCULATIONS
pK= -log10(Ka)
//RESULTS
printf ('pKa = %.2f ',pK)
|
9e7def9800774a9490f941cb4f75532df0344276 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2411/CH5/EX5.5/Ex5_5.sce | 4a69f254105e18d51684ee66ba54b62c552a5ce8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,045 | sce | Ex5_5.sce | // Scilab Code Ex5.5: Page-285 (2008)
clc; clear;
function [] = check_energy(E, L)
phi = 4.8; // Work function for tungsten, eV
if E > phi then
printf("\nThe wavelength %d angstrom will be able to liberate an electron.", ceil(L/1e-010));
else
printf("\nThe wavelength %d angstrom will n... |
9999765dca16338f752b00db2958a759a42c376a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2072/CH16/EX16.7/EX16_7.sce | 53e358bbd728c4fa857727c4cc08639ae83908db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 118 | sce | EX16_7.sce | //Example 16.7
clc
c1=4*10^-6
c2=4*10^-6
disp("solution a")
c_eq=1/((1/c1)+(1/c2))
disp(c_eq,"capacitance in farad=")
|
d414230c24927d702e1c9ce0ea30ce987e900cd6 | 717ddeb7e700373742c617a95e25a2376565112c | /557/CH24/EX24.2/2.sce | f10793fdce9e0a5517ac89b9cf88cb1a597dc535 | [] | 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 | 464 | sce | 2.sce | clc; funcprot(0);
//Example 24.2
//Initializing the variables
H_friction = 2.4;
H_at = 10.3;
Hs = 1.5;
L =2;
f = 0.01;
d = 0.05;
g = 9.81;
Ds = 0.4; // Diameter of stroke
Db = 0.15; // Diameter of bore
r = 0.2;
//Calculations
A = %pi*(Db)^2/4;
a = %pi*(Dd)^2/4;
W= sqrt((H_at - Hs - H_friction )... |
ce85300244cfb8aa510efd937989e2ed180cd39c | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH4/EX4.9/4_9.txt | 825b5338486e1b046f8474b01d3848ed98ed64b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,696 | txt | 4_9.txt | //Caption:Find the (a) generator voltage (b) generator current (c) efficiency
//Exa:4.9
clc;
clear;
close;
//Refer to fig:4.29
//For region A
V_bA=230;//in Volts
S_bA=.46000;//Volt-Ampere
I_bA=S_bA/V_bA;//in Amperes
Z_bA=V_bA/I_bA;//in ohms
Z_g_pu=(0.023+%i*0.092)/Z_bA;
R_L_pu=0.023/Z_bA;
X_L_pu=0.069/Z_bA... |
2679d4993d33c58856750ed8b7c4a97fe849bc35 | eec7ebd86603d3208aacde26fd2abcbe9bd66968 | /EAPSI_PostScanRatings_Task1_7_11_18_EN.sce | 3650f58651c71ebf728e1be465b682d21472b9f3 | [] | no_license | sra27/Presentation-Scenarios | 897dd11dabbc31b6baafbbaa5e3d14b2eb8030ee | 856b244d97509847ac5c04bb3bdc305128b52326 | refs/heads/master | 2020-04-04T15:09:47.936450 | 2018-11-03T21:53:00 | 2018-11-03T21:53:00 | 156,026,804 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28,631 | sce | EAPSI_PostScanRatings_Task1_7_11_18_EN.sce |
no_logfile = false;
active_buttons = 3;
button_codes = 1,2,3;
response_matching = simple_matching;
write_codes = true;
response_port_output=false;
default_monitor_sounds = false;
default_font = "Arial";
default_font_size = 40;
default_text_color = 0, 0, 0;
default_background_color = 122, 122, 122;
... |
c4ed0a7bd2a9056c9af3ccb7e28219465696651a | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH3/EX3.5/Example3_5.sce | 782e72a7752abe7e164c993e12e43e63db254893 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | Example3_5.sce | //Newton's Method
//the first few iteration converges quikcly in negative root as compared to positive root
clc;
clear;
close();
funcprot(0);
format('v',9);
deff('[Newton]=fx(x)','Newton=exp(x)-x-2');
deff('[diff]=gx(x)','diff=exp(x)-1');
x = linspace(-2.5,1.5);
plot(x,exp(x)-x-2)
//from the graph the functi... |
e2d632f24fb9aad96a6559ad18cacc8a61026771 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.16/example11_16.sce | dbd11d8fa22dee3d4cdcb149b427210c0a8082a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 918 | sce | example11_16.sce | //clc()
P1 = 75;//kPa
T1 = 573;//K
Tvap = 365;//K
Tbasis = 273;//K
//Since, the boiling point of water at 75kPa is 375K, the vapour at 573K is superheated;
H1 = 3075;//kJ/kg
Cliq = 4.2;//kJ/kgK
Cvap = 1.97;//kJ/kg/K
m = 1;//kg
//let assume converting liq. water into superheated stream occurs in 3 steps,
//st... |
048f5b5bf82825950232311a08e9ca9af92b6244 | 9b006fa4469f39290760b1f71db38129bb8dd438 | /Opti Project/newton.sce | 363a77a95690faebd096bc6d6d8549d1ca965417 | [] | no_license | vishalmry/Optimisation_Project | e3debf4fe18a5feceade047d161eeebeb786bc3a | dd2454b01a0fc9ae915de07925eb4c5f0054b38b | refs/heads/master | 2022-02-25T20:00:41.343352 | 2018-12-01T14:07:12 | 2018-12-01T14:07:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 854 | sce | newton.sce | //newton method
clc
//function to calculate value
function f=funcval(x)
f = 100*(x(2)-x(1)^2)^2+(1-x(1))^2;
endfunction
//function to calculate gradient at point x
function g=gradient(x)
g(1)=-400*x(1)*x(2)+400*x(1)^3+2*x(1)-2;
g(2)=200*x(2)-200*x(1)^2;
endfunction
//function to calculate hessian of func... |
93fbb447e03b7c54ae0fb74c75aba566ded97f39 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_xsetech.sci | 8ba56b774935123f5736462c1d12d8be6d0c9278 | [
"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 | 124 | sci | do_xsetech.sci | function do_xsetech(wdm)
// Copyright INRIA
xset('alufunction',3);xbasc();xselect();
f_xsetech(wdm)
xset('alufunction',6)
|
cb33d03490339ba26d02ae5be3f67fd4e7e74293 | b9522ba921a1ec0c09ce20a1ad2425852a7b0a86 | /test/Bit.tst | 073ecef436550d1a9bc31a55f230776bd25c53f2 | [
"MIT"
] | permissive | lambdart/nand2tetris | 81b0b34fe517246e51b83ff01730e550422c43b2 | 38c7b088a98138149018bb4bc5d35123e500e3fb | refs/heads/master | 2022-11-25T06:18:03.225391 | 2020-07-30T15:43:23 | 2020-07-30T15:43:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,729 | tst | Bit.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/03/a/Bit.tst
load Bit.hdl,
output-file Bit.out,
//compare-to Bit.cmp,
output-list time%S1.4.1 in%B2.1.2 load%B2.1.2 out%B2.1.2 NEXTout%B6.1.6;
set in 0,... |
dc1e1e584605d9f3dcea7e088df8a8cd6bd812d5 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/examples/link-examples/ext4f.sce | 39569157590c82fba9e6db8da95706a4d8994c93 | [
"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 | 379 | sce | ext4f.sce | //Copyright INRIA
files=G_make(['/tmp/ext4f.o'],'ext4f.dll');
link(files,'ext4f');
a=[1,2,3];b=[4,5,6];n=3;yes='yes';
c=call('ext4f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d');
if norm(c-(sin(a)+cos(b))) > %eps then pause,end
yes='no';
c=call('ext4f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d');
if norm(c-(a+b)) > %eps... |
d73a51a3ea0c8ddd4e842781b27f557938b6069c | a589f95d013369896bef66dc002835588232d49b | /solveLUD.sce | 7a5147df607289c439370d6092f334320a81170b | [] | no_license | saifsmailbox98/scilab-linear-algebra | c26273bbeb8031874e7b13e90a0d191f7a331bd8 | 2249f2d46672c8acb35e25f719c64f1db6823326 | refs/heads/master | 2020-05-03T12:17:35.971027 | 2019-04-07T18:26:23 | 2019-04-07T18:26:23 | 178,621,819 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 308 | sce | solveLUD.sce | function [X] = solveLUD(A, B)
[L, U] = lu(A);
Y = L\B;
X = U\Y;
endfunction
A = [3 2 7;2 3 1; 3 4 1];
B = [4 5 7]';
X = solveLUD(A, B);
disp(X);
A = [2 3 1; 1 2 3; 3 1 2];
B = [9 6 8]';
X = solveLUD(A, B);
disp(X);
/*
0.875
1.125
-0.125
1.9444444
1.6111111
0.2777778
*/
|
45e592f9a97b74416f2e01aec6edefe2c88aaa8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /848/CH11/EX11.6/Example11_6.sce | a3fbe484f39c8016f5e812680eea79ff5726eaaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 296 | sce | Example11_6.sce | //clear//
//Caption: Optical Signal-to-noise ratio (OSNR)
//Example11.6
//page 412
clear;
close;
clc;
Q = 6; //Q factor of 6
OSNR = (1/2)*Q*(Q+sqrt(2));
disp(10*log10(OSNR),'Optical Signal-to-noise ratio in dB OSNR =')
//Result
//Optical Signal-to-noise ratio in dB OSNR = 13.471863
|
7db4c963d94b88334efeb0405c130432f75cf95f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH6/EX6.4/Example6_4.sce | 0ebc9718daa3e26a45bf88ae4c57580c4aa40a8c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 659 | sce | Example6_4.sce | //Example 6.4
clc
disp("To analyze the circuit means to drive the truth table for it.")
disp("We have, D = Input XOR Q_n")
disp("")
disp("CLK Input Q_n D = input XOR Q_n Q_n+1")
disp("down 0 0 0 0")
disp("down 0 1 1 1")
disp("d... |
142f1f2e0ec80fa085a444c81c659efb3af65fd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH31/EX31.2/Ex31_2.sce | 85fb768683d90b61d3c6e879b31eabb72f4136ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Ex31_2.sce | clc;
//e.g 31.2
n=0.62;
R=5*10**3;
C=0.05*10**-6;
T=2.3*R*C*log10(1/(1-n))
disp('msec',T*10**3,"T=");
f=1/T;
disp('HZ',f*1,"f=");
f1=50;
T1=1/f1;
R=T1/(2.3*C*log10(1/(1-n)));
disp('kohm',R*10**-3,"R=");
C=0.5*10**-6;
R=T1/(2.3*C*log10(1/(1-n)));
disp('kohm',R*10**-3,"R=");
|
854f64e1e9c6dbc08b2f61354ca2ca5a4faf919b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH1/EX1.8/Ch01Ex8.sce | 4bfc8a5252a24ba5ef43fdd14742374af375e079 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ch01Ex8.sce | // Scilab Code Ex1.8: Page:29 (2011)
clc;clear;
c = 3e+008; // Speed of light in vacuum, m/s
tau0 = 2e-008; // Mean lifetime of meson at rest, m/s
v = 0.8*c; // Velocity of moving meason, m/s
tau = tau0/sqrt(1-v^2/c^2); // Mean lifetime of meson in motion, m/s
printf("\nThe mean lifetime of meson in ... |
4d5ead35ee693fcc6876fd020e7278a62a6086ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH4/EX4.4/Ex4_4.sce | 199b7ddbefb469530812feacccf49670a192f432 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | Ex4_4.sce | //scattering matrix of inductor
//given
clc
IL=0.3//db//insertion loss
I=40//db//isolation
s21=(10^(-0.3/20))//-20log|s21|
s12=(10^(-40/20))//-20log|s12|
s11=0//FOR SCATTER MATRIX
s22=0//FOR SCATTER MATRIX
S=[s11,s12;s21,s22]
S=round(S*1000)/1000///rounding off decimals
disp(S,'THE matrix is S-matrix:')//a... |
fca4bf24d64d30916920793c507013fe3c967db3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1541/CH5/EX5.3/Chapter5_Example3.sce | 53ac29250bc70af9b326cc1d0ead938fa1c1fff0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | Chapter5_Example3.sce | //Chapter-5, Example 5.3, Page 5.7
//=============================================================================
clc
clear
//INPUT DATA
P=8;//Number of poles
EL=11000;//Line voltage of the alternator in kV
Eph=(EL/sqrt(3));//Phase voltage per pole in V
kp=1;//Pitch factor
kd=0.98;//Distribution factor
q=0... |
eed4b394714a42c3625d20ec492b625b8742d7d5 | f0919c8ea73f22939a890aa4f8327f8200344d2b | /svn/script/test_kit.tst | 6eb9efbf3da2de9f39b8919502bf567897dadd4a | [] | no_license | kalex375/OVC | af5e91f90754454b90f339e846c5b9112d38d6c8 | f4b47dfc497299c4944b4ff9b93253c279012454 | refs/heads/master | 2021-05-31T07:55:44.326597 | 2013-12-02T14:15:52 | 2013-12-02T14:15:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | tst | test_kit.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
dbms_java.set_output(5000);
ora_ver.p_ovc_svn_api.test_commit;
end;
0
0
|
6b9f58aa50e2ae620079268839f18057c0bd3b58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.9/ques9.sce | 3640589902c6bebbd05be53f6603a51f5693837e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sce | ques9.sce | //ques4.1
//clear
//cd SCI
//cd ("..")
//cd ("..")
//exec symbolic.sce
clc
disp(' y=e^(a(sin^-1)x)) --sign inverse x ');
syms x a
y=%e^(a*(asin(x)));
disp('we have to prove (1-x^2)y(n+2)-(2n+1)xy(n+1)-(n^2+a^2)yn ') ;
//n=input('Enter the order of differentiation ");
disp('calculating yn for various value... |
3b0973d415adfc181a4e8424825eea13c883b593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /506/CH2/EX2.1.b/Example2_1b.sce | 5dd520b41f4abd79396c596f0b45f4e89b0f8006 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 600 | sce | Example2_1b.sce | clear;
clc
//Example 2b
//To find the resistivity of intrinsic germanium at 300K
//Given Values
Av=6.02*(10^23) //Avogadro No.
m=72.6 //Molar mass of germanium in gm/moles
d=5.32//density in gm/cm^3
ni=2.5*(10^13);//in cm^-3
n=ni;
p=ni;//n=magnitude of free electrons, p=magnitude of holes, ni=magnitude... |
ca59e570ea047a32fcff11d7a252e9ba87ac956c | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH3/EX3.10/ex3_10.sci | 7a66886e8ddd260adde3276b950f7298f57d98e9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sci | ex3_10.sci | //Example 10,Chapter 3
//(i)
clc;
Ieff=7.071/sqrt(2)
Irms=Ieff
Im=5*sqrt(2)
//(ii)
f=(157.08)/(2*%pi)
T=(1/f)
printf("\n T=%.2f s \n",T)
//(iii)
t=(asin((7.071/7.071))+0.785)/157.08
printf("\n t=%.3f s \n",t)
|
a1b02797bea15fb6e3796e3b5588d90d21dd0b8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1859/CH6/EX6.5/exa_6_5.sce | 7398912100e952480dcdbe3a7ab6eb3f8d181287 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 157 | sce | exa_6_5.sce | // Exa 6.5
clc;
clear;
close;
// Given data
S=6;// in ohm
AB= 25;// in cm
BC= 75;// in cm
R= S*AB/BC;// in ohm
disp(R,"Unknown resistance in ohm")
|
927a689913ecfec535687955c991932cd7c2e05e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH7/EX7.6/Ch07Ex6.sce | 57a5b4300fefb32850fe53b54b3292b3122ca0c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | Ch07Ex6.sce | // Scilab Code Ex7.6: Page-7.27 (2004)
clc;clear;
A = 100e-4; // Area of parallel plates, squaremetre
d = 1e-2; // Distance between plates, metre
eo = 8.854e-12; // Permittivity of the free space, farad per metre
V = 100; // Potential, volt
C = eo*A/d; // Capacitance, farad
Q = C*V; ... |
2535b6f76807a16853e63c2657c2d145c872e090 | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH5/EX5.3.a/ch5ex3a.sce | 83a9b7c66b6492352cc2619ecc40bc9a57b8b6dc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | ch5ex3a.sce | //signals and systems
//Inverse Z Transform:ROC |z|>1/3
z = %z;
syms n z1;//To find out Inverse z transform z must be linear z = z1
X =(8*z-19)/((z-2)*(z-3))
X1 = denom(X);
zp = roots(X1);
X1 = (8*z1-19)/((z1-2)*(z1-3))
F1 = X1*(z1^(n-1))*(z1-zp(1));
F2 = X1*(z1^(n-1))*(z1-zp(2));
h1 = limit(F1,z1,zp(1));
d... |
21b577c15f6fb947867e2d9fae42d58a8636ecfb | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH7/EX7.13/ex7_13.sci | 4d422af7653fb91ed2305e2a4919149d1ceed7db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,299 | sci | ex7_13.sci | //Programming Example 7.13
//calculating depreciation
function[] = main()
choice = 0;
answer1 = 'Y';
answer2 = 'Y';
while (convstr(answer1, 'u') ~= 'N')
//read input data
if (convstr(answer2, 'u') ~= 'N') then
printf("\n Original Value: ");
... |
2a34ce4167c98d420344b730f97139cb7522ee30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3392/CH15/EX15.3/Ex15_3.sce | 44849862460947d7f0b0b20d2143083a5568f8ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | Ex15_3.sce | clc
// initialization of variables
clear
a=100/2 //mm
Y=1500 //MPa
t=6 //mm
w=800 //mmm
c=200 //mm
a_c=a/c
fl=1.045
w=w*10^-3
t=t*10^-3
a=a*10^-3
A=w*t
Sigma=1/A
K_I=Sigma*sqrt(%pi*a)*fl
printf('part (a)')
printf('\n K_I = %.2f MPa sqrt(m)',K_I)
|
75531852e520d68833c1144af08814a4bb70a5e0 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3913/CH3/EX3.17/Ex3_17.sce | 0454a2c2727e85780bf8d5876f88da825b3568f7 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 431 | sce | Ex3_17.sce | //Chapter 3 : Systems of Linear Equations
//Example 3.21
//Scilab 6.0.1
//Windows 10
clear;
clc;
A=[1 2 0 2;
0 1 1 1;
1 0 1 0];
disp(A,'A=')
mprintf('a2-a4=')
t=A(:,2)-A(:,4);
disp(t)
mprintf('\nsuppose that we have l1a1+l2a2+l3a3=0')
disp('l1*')
disp(A(:,1))
disp('l2*')
disp(A(:,2))
disp('l... |
c98b2c9452ef887612902bb92cab8e841132cf40 | 0845790d81f9fd3b8393b14fc9c2bdde0ffe46cf | /12_IIR_Filter/12.IIRFilter.sce | 1993777574f6711ecef7a317ff42f2856b3f454b | [] | no_license | NARAYAN1201/Scilab | 1a3fb62895b157f87b0d9e024ecd2f1c000eb6df | 48980c28ab2def9939e7519867da572660c8ac97 | refs/heads/main | 2023-02-26T02:09:05.762483 | 2021-02-01T07:24:54 | 2021-02-01T07:24:54 | 335,216,077 | 0 | 0 | null | 2021-02-02T08:17:23 | 2021-02-02T08:17:23 | null | UTF-8 | Scilab | false | false | 1,477 | sce | 12.IIRFilter.sce | // Ca p tio n : To D e sig n D i g i t a l I IR B u t t e r w o r t h LPF
// Analog c u t o f f f r e q = 1000 Hz , Sampling F req =
//10000 s am pl e s / s e c
// O rde r of I IR f i l t e r N = 2
clc ;
clear ;
xdel ( winsid () ) ;
fc = input ( " Enter cut off freq in Hz f c = " )
fs = input ( " Enter sampling freq in... |
084d107763554a37bd66794fbf6db11e1fb4bf37 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Integrated_Circuits_J._B._Gupta_1850.zip/Linear_Integrated_Circuits_J._B._Gupta_1850/CH7/EX7.6/exa_7_6.sce | 4f8fb4b75ca84122e8b584a737b8591ee53d3452 | [] | 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 | 240 | sce | exa_7_6.sce | errcatch(-1,"stop");mode(2);// Exa 7.6
;
;
//given data
R= 10;// in kohm
R=R*10^3;// in ohm
C= 100;// in pF
C=C*10^-12;// in F
f=1/(2*%pi*R*C);// in Hz
disp(f*10^-3,"Frequency of the oscillation of the circuit in kHz")
exit();
|
aa0dcfa5a0e074ce2c406b030064029fe8450743 | 12d519f18a15ef7423dffa1727cb877966fcf913 | /scilab/tir.sci | 687ef3420ed8c91cd2072dc400443aebe433dd46 | [] | no_license | gviolato/gviolato.github.io | e9b799bf61dd345fe06760ebc296f49f467347b7 | 190748c14c115f63e366d2244a572de08daa7e5e | refs/heads/master | 2021-01-17T15:29:43.924914 | 2017-01-25T23:33:53 | 2017-01-25T23:33:53 | 22,399,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | sci | tir.sci | function t = tir(FC)
// Função para o cálculo da Taxa Interna de Retorno (TIR)
//
// Parâmetro de entrada: FC - Fluxo de Caixa
// Parâmetro de saída: t - Taxa Interna de Retorno
//
// Autor: Júlio Xavier Vianna Neto
raizes = roots(FC($:-1:1,1)'); // Encontra as raízes do polinômio
taxas = ((1)./raiz... |
b0410ea6a96f31e437c9ea8a3c705162674ca1be | 45c1200ec894e793587fc6d8f30253e69ecec19a | /neiro/laba2/bin/Debug/линейно неразделимые 2D.tst | 21f79608f36f1f63ac39e14a42ef5dfac681e8ee | [] | no_license | dShadowHS/dShadow | 46c0df8f6715948d2b952de001f1f8748861eb1d | 0b4c4674d137160d09e5bb9092ff0d2253818dd0 | refs/heads/master | 2021-01-11T23:11:28.661559 | 2017-01-10T17:12:41 | 2017-01-10T17:12:41 | 78,555,391 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | tst | линейно неразделимые 2D.tst | 202,204;20,957;0
204,251;20,327;0
205,947;13,827;0
212,435;22,435;0
212,348;20,756;0
213,789;25,805;0
211,677;12,728;0
213,155;26,929;0
208,583;13,231;0
206,511;19,552;0
204,408;20,258;1
214,648;17,206;1
204,093;20,213;1
204,09;12,778;1
200,83;14,189;1
208,787;13,941;1
205,578;17,868;1
212,065;13,329;1... |
d967cce7ac403a4173cc24ef7dffd1c9de548ded | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Zaey_Wingman_Short.sce | b279fd7bc7820a136dfa716b7b5f8e1c93930627 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,061 | sce | Zaey_Wingman_Short.sce | Name=Zaey_Wingman_Short
PlayerCharacters=Training Apex Zaey
BotCharacters=Apex 200hp dodge hard.bot
IsChallenge=false
Timelimit=60.0
PlayerProfile=Training Apex Zaey
AddedBots=Apex 200hp dodge hard.bot;Apex 200hp dodge hard.bot;Apex 200hp dodge hard.bot;Apex 200hp dodge hard.bot
PlayerMaxLives=0
BotMaxLives=0;0;0;0
Pla... |
da645b07e880242689cfdb79d2c2e63e19dda18f | c61d570c37971fa455028a89d2163f455f91c291 | /gauss_pivotamento_parcial.sce | 5146786e773a7c3d7eb3ffcf163789ef5333c67b | [] | no_license | OgliariNatan/-ScientificComputing | a0af891f900f3f146a9751fd169f96052bd4ba83 | 070ea9d70430ef0c9e7944f491426b73af7c12b0 | refs/heads/master | 2020-04-04T23:13:12.585946 | 2017-07-03T21:46:18 | 2017-07-03T21:46:18 | 81,988,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,397 | sce | gauss_pivotamento_parcial.sce | //sistema 4x4
//l = linha do coeficiente da matriz original
//k = linha do coeficiente da sub matriz
//i = numero de colunas
//l = i+k-1
//
function x = gausspp(A,b)
clear
//x é o vetor solução
//a é a matriz de coeficientes
//b é o vetor estimulos
[m,n] = size(A)//obter a dimenção de a
if m~=n th... |
eea7a8db1eed1a4182977493b951bed1967380cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH3/EX3.15/3_15.sce | b7e0a4b6fffd07d29708d6584a6d4b36392173a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | 3_15.sce | //Network Theorem 2
//pg no 3.16
//example 3.15
a=10;
b=2;
c=(5*a)-(20*b);
x=20;
y=30;
z=5;
r=z+((x*y)/(x+y));
i=c/(r+c);
//Calculation of Vth(Thevenin's voltage)
disp("removing the 10 ohm resistor from the circuit");
printf("\nFor mesh 1, \nI1 = %.f A",a);
printf("\nApplying KVL to mesh 2,, \nI2 = %.f A",b);
printf("\... |
c5f50035df44b45be3f1c44be5ab8c590f869a01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH13/EX13.12/Ex13_12.sce | 0f28fe8edcc9aeb15fd18979dad0c59a7fb21494 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 860 | sce | Ex13_12.sce | //Example 13.12
T=20;//Temperature (C)
T=T+273;//Temperature (K)
P=2.33*10^3;//Vapor pressure of water at 20 deg C (Pa), See Table 13.5
R=8.31;//Ideal gas constant (J/mol.K)
M=18;//Molecular mass of water (g/mol)
//From ideal gas law, n/V=rho=P/(RT)
//n=number of moles, V=volume (m^3), rho=density (mol/m^3)
rho... |
25cc7234324d387d76ee4432328085901e7423aa | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/generic_dig.sce | 06555918bcbd1db2387cb634962024b153334ab2 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 112 | sce | generic_dig.sce | style.fontSize=16;
style.displayedLabel="Generic Digital";
pal3 = xcosPalAddBlock(pal3,"generic_dig",[],style);
|
1052f5bebb8fd268158b84c2ed61d78803cada38 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/zp2ss.sci | 0fd288625a801dfa5e4ab30eab6aa95b6afcd6d3 | [] | 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,515 | sci | zp2ss.sci | function [a, b, c, d] = zp2ss (z, p, k)
<<<<<<< HEAD
//Converts zeros / poles to state space.
//Calling Sequence
//[a, b, c, d] = zp2ss (z, p, k)
//[a, b, c] = zp2ss (z, p, k)
//[a, b] = zp2ss (z, p, k)
//a = zp2ss (z, p, k)
//Parameters
//z: Zeros
//p: Poles
//k: Leading coeffi... |
ca2b590098844ea8003900bfac0033f44e25b2ed | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /.sandbox/robotics/HuMAns_pa10/RobotSim/testErreur.sci | f68b41cef0ccf88b844b3fbaebb6512deb6986ee | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 375 | sci | testErreur.sci | getf 'lib/modules.sci'
getf 'lib/pa10/modele.sci'
getf 'lib/pa10/pa10Jac.sci'
function [err] = xerr(x1,x2)
m1=f_Hmat(x1);
m2=f_Hmat(x2);
err= f_xerror(m1,m2);
endfunction
xerr([0 0 0 0 0 0],[0 0 0 0 0 0])
xerr([0 0 0 0 0 0],[0 0 0 0.1 0 0])
xerr([0 0 0 0 0 0],[0 0 0 0 0.1 0])
xerr([0 0 0 0 0 0.2],[0 0 0 0 0.0... |
5d6f67ef7183afd2de52dcba9ff17cc72dc2a3e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH4/EX4.6/ex4_6.sce | f5ae7a9c8565247c14bff8958fe9f467a6ad8d34 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 784 | sce | ex4_6.sce | //Example 4.5
clc;
Ifsd=2*10^-3; //Full Scale Deflection Current
Rm=50; //Internal resistance of movement
//Case I: For Range 0-10 V
V=10; //Full range voltage of the instrument
Rs=V/Ifsd-Rm; //Multiplier resistence
R4=Rs;
//Case II: For Range 0-50 V
V=50; //Full range vol... |
a579e38dbe9b4afe9b2dbbfa0c8e70471155a536 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH4/EX4.16/Ch04Ex16.sce | dabb05bd74ae375c7f213c8cc83afbe10e4ec6b5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sce | Ch04Ex16.sce | // Scilab Code Ex4.16: Page-202 (2011)
clc;clear;
mu = 1.6;....// Refractive index of aplanatic surface
R = 3.2;....// Radius of curvature, cm
R1 = R/mu;....// First radius of the aplanatic surface, cm
printf("\nR1 = %3.1f cm", R1);
R2 = R*mu;....// Second radius of the aplanatic surface, cm
printf("\nR2 = %4... |
8938ad204bdd5084cca5e1ba9dfc739008cc1b0d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/fraclab/fbmfwt.sci | 02a3cbe291e5c1c3a26d34416c01e4edfcf1e921 | [
"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,269 | sci | fbmfwt.sci | function [x,wtx,wtxinit] = fbmfwt(N,H,noctaves,q,randseed) ;
// This Software is ( Copyright INRIA . 1998 1 )
//
// INRIA holds all the ownership rights on the Software.
// The scientific community is asked to use the SOFTWARE
// in order to test and evaluate it.
//
// INRIA freely grants the right to use modify... |
ec91a031c0b8d56802ec8cfecc6e003a1eb10d6b | 7b7be9b58f50415293def4aa99ef5795e6394954 | /sim/scripts/eqn.tst | 02b6b35191945f456c09b6e4c30f94d93fdfb642 | [] | no_license | sabualkaz/sim42 | 80d1174e4bc6ae14122f70c65e259a9a2472ad47 | 27b5afe75723c4e5414904710fa6425d5f27e13c | refs/heads/master | 2022-07-30T06:23:20.119353 | 2020-05-23T16:30:01 | 2020-05-23T16:30:01 | 265,842,394 | 0 | 0 | null | 2020-05-21T12:26:00 | 2020-05-21T12:26:00 | null | UTF-8 | Scilab | false | false | 1,353 | tst | eqn.tst | units SI
$thermo = VirtualMaterials.Peng-Robinson
/ -> $thermo
thermo + Methane Ethane Propane
Feed = Stream.Stream_Material()
Feed.In.T = 20
Feed.In.P = 3000
Feed.In.MoleFlow = 100
Feed.In.Fraction = 70 20 10
valve = Valve.Valve()
Feed.Out -> valve.In
Outlet = Stream.Stream_Material()
valve.Out -> Outl... |
5e19eb11235663f1a4fbc4c8479fb4556e1e4faf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2360/CH6/EX6.26/ex6_26.sce | 080549e121d5f7a89db0d84b9d839d2b0d62af88 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | sce | ex6_26.sce | // Exa 6.26
format('v',7);clc;clear;close;
// Given data
R=1.36;//resistance in ohm
r2= 32.7;//resistance in ohm
L2= 47.8;//inductance in mH
L2= L2*10^-3;// in H
f=1000;//frequency in Hz
XL2=2*%pi*f*L2;// in Ω
Z3 = 100;// in ohm
Z4 = 100;// in ohm
Z2= r2+%i*XL2;// in ohm
// Under balance condition
Z1= Z2*Z... |
db2de5ec9fb71755239c7fe541bdb03c7394be8b | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/phasez/phasez7.sce | 27235565eb94f0ae3d399b67045b4ea27e2c8bc8 | [] | 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 | 281 | sce | phasez7.sce | //i/p arg sos is a vector
sos=[1 2 3 4 5 6];
n=10;
[phi,w] = phasez(sos,n);
//output
//!--error 117
//List element number 1 is Undefined.
//at line 69 of function phasez called by :
//[phi,w] = phasez(b,a,n);
//matlab o/p
// p and w are returned as 512X1 coulumn vectors
|
1195bd5f9eecfd74180f58b029da1f0514708486 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH4/EX4.2/4_02.sce | da3c3a5ff91464c3dfa3a3e8e6194a7a9840b558 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | 4_02.sce | //Chapter 4, Problem 2
clc;
r=0.02; //Internal resistance in ohm
emf=2.0; //e.m.f
I1=5; // Current in ampere
I2=50;
V1=emf-(I1*r); //Calculating Voltage
V2=emf-(I2*r);
printf("Terminal p.d when 5A current = %... |
7b976d946ee01058d979a63d056a39d52e78864e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH2/EX2.9/Ex2_9.sce | a37558d3fb7a3cb80b2bf02d14ccfbb87d59028e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 150 | sce | Ex2_9.sce | //Example 2-9, Page No- 38
clear
clc
gain_db = 60
vin = 50*10^-6
vout = 10^(60/20)*vin
printf('The output voltage is %.2f volt',vout);
|
c171050f6f4d4532289bfb6e22033e4485cbeaec | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH9/EX9.3/Ex9_3.sce | bcdaa8d8604663eb9abe7b31545e68b8e6c0431f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,372 | sce | Ex9_3.sce | // Given :-
T1 = 300.00 // beginning temperature in kelvin
p1 = 0.1 // beginning pressure in MPa
r = 18.00 // c... |
eb232ec749be9f6b4111eb85e34033bd54b5dfb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH30/EX30.5/Example30_5.sce | cb7d7aaf113d9ff10aba65c23d042c07f6d3a31d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,373 | sce | Example30_5.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART III : SWITCHGEAR AND PROTECTION
// CHAPTER 4: UNSYMMETRICAL FAULTS IN POWER SYSTEMS
// EXAMPLE : 4.5 :
// Page number 514-515
clear ; clc ; close ; // Clear the work ... |
cc0a0796a6ddc035c53f4e216be7fdf7a36b9b3c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1448/CH8/EX8.5.e/E8_5.sce | 6d005f443ae372e90a7d4fff1a86e1e62646d9bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sce | E8_5.sce | clc
//Initialization of variables
vOH=5*10^-3 //L
vHClO=25*10^-3 //L
C=0.2 //mol/L
//calculations
nOH=vOH*C
nHClO=vHClO*C/2
nrem=nHClO-nOH
pH=7.53-log10(nrem/nOH)
//results
printf("Final pH= %.1f",pH)
|
85a25f8ded4b477f6feecc51b53af131a73014a8 | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/FieldConvert/Tests/chan_quad_interppointdatatofld.tst | fdb293a65a2f673a2fd2add52836ffdc25fb6b5f | [
"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 | 1,039 | tst | chan_quad_interppointdatatofld.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> Interpolate a .csv onto a mesh </description>
<executable>FieldConvert</executable>
<parameters> -f -e -m interppointdatatofld:frompts=chan_quad_interppointdatatofld.csv chan_quad_interppointdatatofld.xml chan_quad_interppointdatatofld.fld</paramet... |
0c60eb717d6bc4cf68c66055d24fcac72a4d638a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH6/EX7.29/Ex7_29.sce | a0c479432f452ee5e3303c89efa06985ca890489 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,319 | sce | Ex7_29.sce | //Example 7.29
// A reduced order compensator design for a satellite attitude control
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
// State space representation
F=[0 1;0 0];
G=[0 1]';
H=[1 0];
J=0;
n=sqrt(length(F));//order of t... |
e7f4a05a5bda74ae465e8a9fa9c8cd2800fde10f | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH10/EX10.15/example10_15.sce | ef119f76d4050a0f514900d182d94c1712d82880 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 594 | sce | example10_15.sce | //Chapter 10
//Example 10_15
//Page 254
clear;clc;
ll=200;
r=0.16;
xl=0.25;
y=1.5*1e-6;
pd=20*1e6;
pfr=0.8;
v_r=110*1e3;
tr=r*ll;
ty=y*ll;
txl=xl*ll;
z=tr+%i*txl;
vr=v_r/sqrt(3);
ir=pd/sqrt(3)/v_r/pfr;
vs=vr*cosh(ty*z)+ir*sqrt(z/ty)*sinh(z*ty);
is=vr*sqrt(ty/z)*sinh(ty*z)+ir*cosh(ty*z);
printf("Recieving end volt... |
cb8c24686cb40d78e4c0d53f9ed2a8e925ce28ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH6/EX6.5/ex_6_5.sce | a688f1cc0d5c10460643b445ce09201e4e7bd013 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 479 | sce | ex_6_5.sce | // Example 6.5:loss
clc;
clear;
close;
format('v',5)
d1=60;//micro meter
na1=0.25;//
alpha1=2.1;//
d2=50;//in micro meter
na2=0.20;//
alpha2=1.9;//
ncd=(d2/d1)^2;//
nna=(na2/na1)^2;//
nalpha1=1;//
nalpha=((1+(2/alpha1))/(1+((2/alpha2))));//
ncd1=1;//
nna1=1;//
nt=ncd*nna*nalpha1;//
ltf=(-10*log10(nt));//in dB
nt1=ncd1*... |
28027873db6da40b8fca38cfb2f8f800dfdf43b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH6/EX6.7/6_7.sce | 895cfbd0d7fb262ebd9e01750e33ed19d3285b1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 6_7.sce | //Chapter 6, Problem 7, figure 6.13
clc
vcc=24 //supply voltage
vds=10 //drain to source voltage
id=5e-3 //drain current
vgs=2.3 //gate to source voltage
vs=2.3 ... |
20e95c1e7b896ebf3f863923ee7aa7e3f4776552 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/div2.sci | 5c4c8820ea81a5d4068a1fc1e881a0759fcd1cd4 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,426 | sci | div2.sci | function [x,y,typ]=div2(job,arg1,arg2)
// Copyright INRIA
x=[];y=[];typ=[];
select job
case 'plot' then
standard_draw(arg1)
case 'getinputs' then //** GET INPUTS
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' ... |
ba5cd48ac65a1543211b2dea835beb7002a10b47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3669/CH4/EX4.5/5.sce | 822e63ad6fbc77e5370b4ea8a4b4dda1ccf9415c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5.sce |
//Variable declaration
V=15*10**3; //voltage(V)
//Calculation
lamda=1.227/sqrt(V); //wavelength(nm)
//Result
printf('wavelength is %0.3f nm \n',(lamda)) |
8365818896ccf0786a6838468e95e82e2f77c306 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rlevinson/rlevinson6.sce | ea1d954ecfa754e4ceda6ae78c23931907201136 | [] | 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 | 364 | sce | rlevinson6.sce | //check o/p when the prediction polynomial coefficients are negative
X = [-1 -7 -6 -5 -8 -3 -6];
efinal=0.3;
[R,U,K,e] = rlevinson(X, efinal);
disp(R);
//output
//WARNING: First coefficient of the prediction polynomial was not unity.
// 0.0104858
// 0.0020340
// - 0.0086295
// 0.0007701
// - 0.00... |
288f73f8351b55d72d0c72661f2734aa494a238a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH9/EX9.2/exa9_2.sce | fe2aa6625fbc1c747ab66602c19ee4ad2c6dc8d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 425 | sce | exa9_2.sce | // Example 9.2
// Step response of an RC circuit
C=50*10^-6;
R_eq=(3000*6000)/(3000+6000); // From figure 9.10(a)
v_oc=(6*12)/(3+6);
tau=R_eq*C;
t=0:0.0001:1
v=v_oc*(1-exp(-t/tau)); // t>0
i=(v_oc-v)/(R_eq); // t>0
subplot(2,1,1)
plot(t,v,)
xlabel('t')
ylabel('v(t)')
title('Voltage waveform across capacito... |
98d3ce847022fecb480101fece4c8fcfbc57b2d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH6/EX6.12/6_12.sce | bc040078d3c86886bdc2f2fede0efda1e2361533 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 709 | sce | 6_12.sce | //Example 6.12
//Least Square Fit
//Page no. 224
clc;close;clear;
x=[10,20,30,40,50]
y=[8,10,15,21,30]
n=1;
printf('\t\t 2\t 4\t\t\t 2\n n\tx\tx\tx\t\ty\tx y\n----------------------------------------------------------------\n')
x1=0;x2=0;x3=0;x4=0;x5=0;x6=0;x7=0;x8=0;
for i=1:5
printf(' %g\t%g\t%g\t%.9g... |
cc380f5be2fb9189c056c7d023b4d4e342ffd15c | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH1/EX1.6.8/exa1_6_8.sce | d0f6f91c5dca39607585684627c7b4bb7ffa86ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | exa1_6_8.sce | //Caption:steady_state_value
// example 1.6.7
//page 12
//X(s)=s/(s^2*(s^2+6*s+25))
p=poly([0 1],'s','coeff');
q=poly([0 0 25 6 1],'s','coeff');
F=p/q;
syms s
x=s*F;
y=limit(x,s,0);//final value theorem
y=dbl(y)
disp(y,"x(inf)=")//result |
d175f79a434470e1d3df25d67e4be39819dee5a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH8/EX8.4/ex4.sce | f2442f24f7a937d26299278e06c1580baf77d5f7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 453 | sce | ex4.sce | //example 4
//irreversibility during cooling of an iron block
clear
clc
m=500 //mass of iron block in kg
cavg=0.45 //kJ/kg-K
T1=473 //Initial Temp. in K
T2=300 //Final Temp. in K
Wrev=m*cavg*((T1-T2)-T2*log(T1/T2)) //reversible work in kJ
Wu=0
I=Wrev-Wu //irreversibility of the process in kJ
printf("\n Hence... |
961b8f4537f5268dd375e15f16d013213be8ea07 | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/TESTS/TestGeneric.sce | 3e5753cc89b53a725691873d0b9a6ea0add96d23 | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,891 | sce | TestGeneric.sce | clear
clc
stacksize('max')
exec('SplitRadCompFromTip.sci');
exec('ExtendVector.sci');
exec('GetUnitNormal.sci');
mPoints = csvRead("POINTS_16001_160409.csv", ";");
mPoints(:,1) = -mPoints(:,1);
fDepthsOfCutFacet = [-0.085 .005 .020 .050]; //Depth of cut values starting at last pass and working back. The last value,... |
9688774cccc2cc2d8a32f8678e5fc7c59bbcfad3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH4/EX4.6/Example46.sce | baf5b4ace6b18c7d13b67087458428d72b2e12fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 491 | sce | Example46.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 4, Example 6")
disp("The pressure ratio is given by r = P03/P01")
etac = 0.88;
sigma = 0.95;
U2 = 457;
Cp = 1005;
T01 = 288;
r = (... |
c442d0bbee0b6bfea31208d056a17a5c50fc0658 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH8/EX8.5/Ex8_5.sce | d213163c17f99cf4749ae6f2fb8e53e605da8b30 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ex8_5.sce | clc
//initialisation of variables
w=0.05//m^3/s
p=1000//N.s^2/m^4
v=25//m/s
a=135//deg
v1=30//m/s
b=55//deg
//CALCULATIONS
Fx=(p*w)*[(v)*-cosd(a)-v1]//N
Fy=(p*w)*(v*-cosd(a))//N
FR=sqrt((Fx)^2+(Fy)^2)//N
F=-(Fy/Fx)
F1=tand(b)//deg
//RESULTS
printf('The angle of the resultant force on the vane=% f deg',F1... |
653130d4a1f87a8a898c9d17ef67903bd5281a97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH7/EX7.1/exa7_1.sce | b3b3db530fa05f47589b52c7b55e2925dcf2c46d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 655 | sce | exa7_1.sce | // Example 7.1
// AC Power Calculations
// From Example 6.8 we already found that,
Z=complex(4.8,6.4);
V_m=80;
V_c_m=40;
I_m=10*10^-3;
// The total average power supplied by the source is,
R_omega=4.8*10^3;
R1=40*10^3;
R2=5*10^3;
P=0.5*R_omega*I_m^2; // Average Power
// This power is actually dissipated by ... |
cc62e4d27eb69c12f7c2771353de5ea2518c9904 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH5/EX5.1.b/Example5_1_b.sce | c338e93db92cd85196ecb052550069223ef9dfab | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | Example5_1_b.sce | //Example 5.1(b)
clear;
clc;
R1=22*10^3;
R2=2.2*10^6;
IB=80*10^(-9);
IOS=20*10^(-9);
Rp=(R1*R2)/(R1+R2);
dcgain=(1+(R2/R1));
R=(R1*R2)/(R1+R2);
Ip=((2*IB)+IOS)/2;
In=((2*IB)-IOS)/2;
Eo=dcgain*((R*In)-(Rp*Ip));
printf("Eo=(+-)%.f mV",-Eo*10^3); |
19503bf3c730b89e913292f4be94c3472305c2cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH11/EX11.1/example11_1.sce | df46142a2bbdc6521c4be86d236c39b2c2c37722 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,050 | sce | example11_1.sce | disp('chapter 11 ex11.1')
disp('given')
disp('design an all-pass circuit to have phase lag from 80degree to100degree')
disp('using a 741op-amp the input signal has a 1volt amplitude and a 5kHz frequency')
Vi=1
f=5000
disp('I1>IBmax')
disp('let I1=50*10^(-6)A')
IBmax=500*10^(-9)
I1=50*10^(-6)
disp('R1=Vi/I1')... |
37b0c2d9447ae3d28a485fbfb6dd28aeba0a5278 | 92ee0d6597bbad55ede3ff57b6d98b044527cfb8 | /Sztuczna/3/data/perceptronwielowarstwowy.sce | d46fca912f13bc91abc794ef105cba3f33842f2c | [] | no_license | Dearn/Sprawozdania | 32888683a098080434aa407b2055bc2a84f36446 | 53efa5dfb20e4d86c33b18f913a62c8a16478612 | refs/heads/master | 2020-04-13T00:52:24.978071 | 2014-10-24T14:49:07 | 2014-10-24T14:49:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,238 | sce | perceptronwielowarstwowy.sce | clear;
clf();
// przygotowanie elementow
X = [rand(2, 20), rand(2, 20) + 1, rand(2,20)+2];
// wartosci elementow
D1 = [ones(1, 20), ones(1, 20), zeros(1,20)];
D2 = [zeros(1, 20), ones(1, 20), ones(1,20)];
D = [D1; D2]
// wyswietlenie elementow
plot(X(1, 1:20), X(2, 1:20), 'po');
plot(X(1, 20+1:40), X(2, 20+1:40), 'r+')... |
14d7294a9382828500dc701d20dad973592e7a8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH4/EX4.13/Example4_13.sce | f7df7860beebb53ece796cd02be45b7e8e29f3f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,619 | sce | Example4_13.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 4: DC Dynamo Torque Relations-DC Motors
// Example 4-13
clear; clc; close; // Clear the work space and console.
// Given data
V_a = 120 ; // Rated terminal voltage of dc shunt notor in volt
R_a =... |
f04db6a462fee0249a387fe24f3cce9703f83297 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set12/s_Higher_Engineering_Mathematics_B._S._Grewal_149.zip/Higher_Engineering_Mathematics_B._S._Grewal_149/CH2/EX2.24.1/ex24_1.sce | 544886acc48741911cf7eb2504b2543c013ac674 | [] | 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 | 96 | sce | ex24_1.sce | errcatch(-1,"stop");mode(2);
A=[1 2 3;1 4 2;2 6 5]
disp("Rank of A is ")
rank(A)
exit();
|
a6f95d76a9f4ff4f376857060e83dc7f33cf9245 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH8/EX8.14/8_14.sce | dedaf191dcd730d95edb4af612f83bc19555a6a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | 8_14.sce | //To calculate the diffusion coefficient of electrons
mew_e = 0.19; //electron mobility, m^2/Vs
k = 1.38*10^-23; //boltzmann constant
T = 300; //temperature, K
e = 1.6*10^-19;
Dn = mew_e*k*T/e; //diffusion coefficient, m^2/s
printf("diffusion coefficient of electrons is %f m^2/s",Dn);
|
7647f975d5dcfcbd895ee3ef5af57e7e04ed15ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH3/EX3.10/Ex3_10.sce | 5887d29f05ccbf34620cd5882b87ace6211010f6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 117 | sce | Ex3_10.sce | clc
//Ex 3_7,3_8,3_9 and 3_10 use Molier Diagram
h1=3275
h2=2725
deltah=h2-h1
mprintf("deltah=%fkJ/kg",deltah)
|
0cc2f6d6e927545ff7710090213765d9a864cde0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH8/EX8.7/8_7.sce | eb08c79fa47ffe3bd01519d848f4b3d7417dac66 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 498 | sce | 8_7.sce | clc;
//page no 8-27
//Example 8.7
//Given
C=0.001*10^(-6);//in Farads
Rc=50*10^3;//in ohm
fm=1*10^3;//in Hz
//we know that Zm=Rc||C
//=1/sqrt((1/Rc^2)+(1/Xc^2))
//Xc=1/(2*%pi*f*C)
//Mmax=Zm/Rc=1/Rc*sqrt((1/Rc^2)+(1/(1/2*%pi*f*C)^2)) which gives
Mmax=1/sqrt(1+(2*%pi*fm*C*Rc)^2);
disp(Mmax,'Maximum modulatio... |
ec5ecb286ccfebc372741954ac6fcb3a8f057fed | 449d555969bfd7befe906877abab098c6e63a0e8 | /1970/CH15/EX15.7/CH15Exa7.sce | 2c1946b8e7bb7c22e3f53aea319ff1ee43cbac09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | CH15Exa7.sce | // Scilab code Exa15.7 : : Page-655 (2011)
clc; clear;
B_sqr = 65; // Geometrical buckling
a = sqrt(3*%pi^2/B_sqr)*100; // Side of the cubical reactor, centi metre
R = round(%pi/sqrt(B_sqr)*100); // Radius of the cubical reactor,centi metre
printf("\nThe side of the cubical reactor = %4.1f cm\nThe critical ra... |
b30e5364fc76a0b16262199ed7c4337d3bca4018 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/c-wsp/0068.tst | e63a0d84124c56f9ca3c66db1b56a1df8ee2f238 | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5 | tst | 0068.tst | ;e
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.